API

src.main.app = <fastapi.applications.FastAPI object>
src.about.version = '0.0.1'

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

Libs

class src.libs.base.Base[source]
class src.libs.base.Format(value)[source]

An enumeration.

_member_type_

alias of str

src.libs.console.header() None[source]
src.libs.settings.settings = <dynaconf.base.LazySettings object>

Loads settings lazily from multiple sources:

settings = Dynaconf(
    settings_files=["settings.toml"],  # path/glob
    environments=True,                 # activate layered environments
    envvar_prefix="MYAPP",             # `export MYAPP_FOO=bar`
    env_switcher="MYAPP_MODE",         # `export MYAPP_MODE=production`
    load_dotenv=True,                  # read a .env file
)

More options available on https://www.dynaconf.com/configuration/

Routers

Commands

class src.routers.commands.Commands[source]
class Id(value)[source]

An enumeration.

_member_type_

alias of str

src.routers.commands.get() Dict[src.routers.commands.Commands.Id, src.routers.commands.Commands.OutputModel][source]
src.routers.commands.get_record(id: src.routers.commands.Commands.Id) src.routers.commands.Commands.OutputModel[source]
src.routers.commands.set() Dict[src.routers.commands.Commands.Id, src.libs.base.Base.ActionModel][source]
src.routers.commands.set_record(id: src.routers.commands.Commands.Id) src.libs.base.Base.ActionModel[source]

Configurations

class src.routers.configurations.Configurations[source]
class Id(value)[source]

An enumeration.

_member_type_

alias of str

src.routers.configurations.get() Dict[src.routers.configurations.Configurations.Id, src.routers.configurations.Configurations.OutputModel][source]
src.routers.configurations.get_record(id: src.routers.configurations.Configurations.Id) src.routers.configurations.Configurations.OutputModel[source]
src.routers.configurations.set(data: Dict[src.routers.configurations.Configurations.Id, Any]) Dict[src.routers.configurations.Configurations.Id, src.libs.base.Base.ActionModel][source]
src.routers.configurations.set_record(id: src.routers.configurations.Configurations.Id, content: Dict[Any, Any]) src.libs.base.Base.ActionModel[source]

Parameters

class src.routers.parameters.Parameters[source]
class Id(value)[source]

An enumeration.

_member_type_

alias of str

src.routers.parameters.get() Dict[src.routers.parameters.Parameters.Id, src.routers.parameters.Parameters.OutputModel][source]
src.routers.parameters.get_record(id: src.routers.parameters.Parameters.Id) src.routers.parameters.Parameters.OutputModel[source]
src.routers.parameters.set(data: Dict[src.routers.parameters.Parameters.Id, Any]) Dict[src.routers.parameters.Parameters.Id, src.libs.base.Base.ActionModel][source]
src.routers.parameters.set_record(id: src.routers.parameters.Parameters.Id, value: Dict[Any, Any]) src.libs.base.Base.ActionModel[source]
src.routers.parameters.set_record_inline(id: src.routers.parameters.Parameters.Id, value: Any) src.libs.base.Base.ActionModel[source]