Root
Abstract Root Objects from which all other autopilot objects inherit from.
These objects are not intended to be instantiated on their own, and this module should not import from any other autopilot module
Functions:
|
prefs used to be |
Classes:
Root autopilot model for types |
|
Root autopilot model for prefs |
|
|
Meta-object for autopilot object types |
- no_underscore_all_caps(input: str) str [source]
prefs used to be
'ALLCAPS'
instead of'ALL_CAPS'
. In general, these should be considered degenerate, and no future prefs should be declared that depend on the presence of the underscore.Used by
Autopilot_Pref
to generate Aliases- Parameters
input (str) – input string
- Returns
without underscores and in allcaps.
- Return type
- pydantic model Autopilot_Type[source]
Bases:
pydantic.main.BaseModel
,abc.ABC
Root autopilot model for types
Show JSON schema
{ "title": "Autopilot_Type", "description": "Root autopilot model for types", "type": "object", "properties": {} }
- pydantic settings Autopilot_Pref[source]
Bases:
pydantic.env_settings.BaseSettings
Root autopilot model for prefs
All settings can be declared with an environment variable prefixed with
'AUTOPILOT_'
Show JSON schema
{ "title": "Autopilot_Pref", "description": "Root autopilot model for prefs\n\nAll settings can be declared with an environment variable\nprefixed with ``'AUTOPILOT_'``", "type": "object", "properties": {}, "additionalProperties": false }
- Config
alias_generator: function = <function no_underscore_all_caps at 0x7efe9556b5e0>
env_prefix: str = AUTOPILOT_