settings¶
alchemiscale.settings
— settings¶
- class alchemiscale.settings.APISettings(*args: Any, **kwargs: Any)¶
Bases:
BaseAPISettings
Automatically populates settings from environment variables where they match; case-insensitive.
- class alchemiscale.settings.BaseAPISettings(*args: Any, **kwargs: Any)¶
Bases:
Neo4jStoreSettings
,S3ObjectStoreSettings
,JWTSettings
- class alchemiscale.settings.ComputeAPISettings(*args: Any, **kwargs: Any)¶
Bases:
BaseAPISettings
Automatically populates settings from environment variables where they match; case-insensitive.
- class alchemiscale.settings.JWTSettings(*args: Any, **kwargs: Any)¶
Bases:
FrozenSettings
Automatically populates settings from environment variables where they match; case-insensitive.
- class alchemiscale.settings.Neo4jStoreSettings(*args: Any, **kwargs: Any)¶
Bases:
FrozenSettings
Automatically populates settings from environment variables where they match; case-insensitive.
- class alchemiscale.settings.S3ObjectStoreSettings(*args: Any, **kwargs: Any)¶
Bases:
FrozenSettings
Automatically populates settings from environment variables where they match; case-insensitive.
If deploying APIs that use the S3ObjectStore on an EC2 host or other role-based resource (e.g. an ECS container), then don’t set these. Instead rely on the IAM role of that resource for granting access to S3.