aim.services module
- namedtuple aim.services.Services(mysql_database: URL, test_database: str, ci_on: str | None, alma_api_key: str, alma_api_url: str, digifeeds_api_url: str, digifeeds_set_id: str, digifeeds_s3_access_key: str, digifeeds_s3_secret_access_key: str, digifeeds_s3_bucket: str, digifeeds_s3_input_path: str)[source]
Bases:
NamedTuple
Global Configuration Services
- Fields:
mysql_database (
URL
) – The Digifeeds MySQL databasetest_database (
str
) – A sqlite in memory digifeeds database for testingci_on (
Optional
[str
]) – Is this being run in Github Actions?alma_api_key (
str
) – The Alma API Keyalma_api_url (
str
) – The Alma API urldigifeeds_api_url (
str
) – The digifeeds database API URLdigifeeds_set_id (
str
) – The Alma Set Id for the digifeeds setdigifeeds_s3_access_key (
str
) – The S3 bucket access key for digifeedsdigifeeds_s3_secret_access_key (
str
) – The S3 bucket secret access key for digifeedsdigifeeds_s3_bucket (
str
) – The S3 bucket name for the digifeeds processdigifeeds_s3_input_path (
str
) – The url in the s3 bucket for the digifeeds process