poiesis package¶
Subpackages¶
- poiesis.api package
- Subpackages
- Submodules
- poiesis.api.api_handlers module
- poiesis.api.app module
- poiesis.api.asgi module
- poiesis.api.constants module
- poiesis.api.exceptions module
- poiesis.api.models module
- poiesis.api.security module
- poiesis.api.utils module
- Module contents
- poiesis.cli package
- poiesis.core package
- Subpackages
- Submodules
- poiesis.core.constants module
PoiesisCoreConstantsget_configmap_names()get_executor_container_security_context()get_executor_pod_security_context()get_executor_security_volume()get_executor_security_volume_mount()get_infrastructure_container_security_context()get_infrastructure_pod_security_context()get_infrastructure_security_volume()get_infrastructure_security_volume_mount()get_labels()get_message_broker_envs()get_mongo_envs()get_poiesis_core_constants()get_s3_envs()get_secret_names()get_security_context_envs()get_tes_task_request_path()get_tes_task_request_volume()get_tes_task_request_volume_mounts()
- poiesis.core.logging_config module
- Module contents
- poiesis.repository package
- Submodules
- poiesis.repository.mongo module
MongoDBClientMongoDBClient.add_task_executor_log()MongoDBClient.add_task_log()MongoDBClient.add_tes_task_log_end_time()MongoDBClient.add_tes_task_system_logs()MongoDBClient.close()MongoDBClient.connection()MongoDBClient.get_task()MongoDBClient.insert_task()MongoDBClient.list_tasks()MongoDBClient.update_executor_log()MongoDBClient.update_task_state()
- poiesis.repository.schemas module
ServiceSchemaServiceSchema.idServiceSchema.service_hashServiceSchema.update_byServiceSchema.created_atServiceSchema.updated_atServiceSchema.dataServiceSchema.ConfigServiceSchema.created_atServiceSchema.dataServiceSchema.idServiceSchema.model_configServiceSchema.service_hashServiceSchema.update_byServiceSchema.updated_at
TaskSchemaTaskSchema.idTaskSchema.nameTaskSchema.tagsTaskSchema.task_idTaskSchema.user_idTaskSchema.service_hashTaskSchema.tes_versionTaskSchema.stateTaskSchema.created_atTaskSchema.updated_atTaskSchema.dataTaskSchema.ConfigTaskSchema.created_atTaskSchema.dataTaskSchema.idTaskSchema.model_configTaskSchema.nameTaskSchema.serialize_state()TaskSchema.service_hashTaskSchema.stateTaskSchema.tagsTaskSchema.task_idTaskSchema.tes_versionTaskSchema.updated_atTaskSchema.user_id
- Module contents
Submodules¶
poiesis.constants module¶
Constants for the Poiesis.
Contains constants used throughout the Poiesis application. Much more general than the constants in the core or api modules.
- class poiesis.constants.PoesisConstants(ENVIRONMENT='dev', LOG_LEVEL='INFO')[source]¶
Bases:
objectConstants for the Poiesis.
- ENVIRONMENT¶
The environment in which the application is running.
- DATABASE¶
The database in which the application is running.
- class Database[source]¶
Bases:
objectConstants for the database.
- MONGODB¶
The MongoDB database.
- class MongoDB(TASK_COLLECTION='tasks', SERVICE_COLLECTION='services', DATABASE='poiesis', MAX_POOL_SIZE=10)[source]¶
Bases:
objectConstants for the MongoDB database.
- TASK_COLLECTION¶
The name of the tasks collection.
- SERVICE_COLLECTION¶
The name of the services collection.
- DATABASE¶
The name of the database to use.
- MAX_POOL_SIZE¶
The maximum number of connections to the database.
- HOST¶
Host for the mango instance.
- PORT¶
Port for the mongo instance.
- DATABASE: str = 'poiesis'¶
- MAX_POOL_SIZE: int = 10¶
- SERVICE_COLLECTION: str = 'services'¶
- TASK_COLLECTION: str = 'tasks'¶
- ENVIRONMENT: Literal['dev', 'prod'] = 'dev'¶
- LOG_LEVEL: Literal['DEBUG', 'INFO', 'WARNING', 'ERROR'] = 'INFO'¶
Module contents¶
Main package for poiesis.