maestro.api.api package#
Subpackages#
Submodules#
maestro.api.api.config module#
- pydantic settings maestro.api.api.config.Settings[source]#
Bases:
BaseSettings
Show JSON schema
{ "title": "Settings", "type": "object", "properties": { "API_STR": { "default": "/api/v1", "title": "Api Str", "type": "string" }, "PROJECT_NAME": { "default": "Maestro API", "title": "Project Name", "type": "string" }, "PROJECT_URI": { "anyOf": [ { "format": "uri", "minLength": 1, "type": "string" }, { "type": "null" } ], "default": "http://localhost/", "title": "Project Uri" }, "UI_URI": { "anyOf": [ { "format": "uri", "minLength": 1, "type": "string" }, { "type": "null" } ], "default": "http://localhost/", "title": "Ui Uri" }, "CORS_ORIGIN": { "default": [ "a", "o", "/", "h", ":", "l", "c", "t", "s", "p" ], "items": { "type": "string" }, "title": "Cors Origin", "type": "array", "uniqueItems": true } }, "additionalProperties": false }
- Config:
env_file_encoding: str = utf-8
- Fields:
- field API_STR: str = '/api/v1'#
- field CORS_ORIGIN: set[str] = {'/', ':', 'a', 'c', 'h', 'l', 'o', 'p', 's', 't'}#
- field PROJECT_NAME: str = 'Maestro API'#
- field PROJECT_URI: AnyHttpUrl | None = AnyHttpUrl('http://localhost/')#
- field UI_URI: AnyHttpUrl | None = AnyHttpUrl('http://localhost/')#