aiida.manage.configuration package#
Modules related to the configuration of an AiiDA instance.
- aiida.manage.configuration._merge_deprecated_cache_yaml(config, filepath)[源代码]#
Merge the deprecated cache_config.yml into the config.
- aiida.manage.configuration.create_profile(config: Config, storage_cls, *, name: str, email: str, first_name: str | None = None, last_name: str | None = None, institution: str | None = None, **kwargs) Profile [源代码]#
Create a new profile, initialise its storage and create a default user.
- 参数:
config – The config instance.
storage_cls – The storage class obtained through loading the entry point from
aiida.storage
group.name – Name of the profile.
email – Email for the default user.
first_name – First name for the default user.
last_name – Last name for the default user.
institution – Institution for the default user.
kwargs – Arguments to initialise instance of the selected storage implementation.
- aiida.manage.configuration.get_config(create=False)[源代码]#
Return the current configuration.
- If the configuration has not been loaded yet
the configuration is loaded using
load_config
the global CONFIG variable is set
the configuration object is returned
Note: This function will except if no configuration file can be found. Only call this function, if you need information from the configuration file.
- 参数:
create (bool) – if True, will create the configuration file if it does not already exist
- 返回:
the config
- 返回类型:
- 抛出:
aiida.common.ConfigurationError – if the configuration file could not be found, read or deserialized
- aiida.manage.configuration.get_config_option(option_name: str) Any [源代码]#
Return the value of a configuration option.
In order of priority, the option is returned from:
The current profile, if loaded and the option specified
The current configuration, if loaded and the option specified
The default value for the option
- 参数:
option_name – the name of the option to return
- 返回:
the value of the option
- 抛出:
aiida.common.exceptions.ConfigurationError – if the option is not found
- aiida.manage.configuration.get_profile() Profile | None [源代码]#
Return the currently loaded profile.
- 返回:
the globally loaded Profile instance or None
- aiida.manage.configuration.load_config(create=False) Config [源代码]#
Instantiate Config object representing an AiiDA configuration file.
Warning: Contrary to
get_config()
, this function is uncached and will always create a new Config object. You may want to callget_config()
instead.- 参数:
create (bool) – if True, will create the configuration file if it does not already exist
- 返回:
the config
- 返回类型:
- 抛出:
aiida.common.MissingConfigurationError – if the configuration file could not be found and create=False
- aiida.manage.configuration.load_profile(profile: str | None = None, allow_switch=False) Profile [源代码]#
Load a global profile, unloading any previously loaded profile.
备注
if a profile is already loaded and no explicit profile is specified, nothing will be done
- 参数:
profile – the name of the profile to load, by default will use the one marked as default in the config
allow_switch – if True, will allow switching to a different profile when storage is already loaded
- 返回:
the loaded Profile instance
- 抛出:
aiida.common.exceptions.InvalidOperation – if another profile has already been loaded and allow_switch is False
- aiida.manage.configuration.profile_context(profile: str | None = None, allow_switch=False) Profile [源代码]#
Return a context manager for temporarily loading a profile, and unloading on exit.
- 参数:
profile – the name of the profile to load, by default will use the one marked as default in the config
allow_switch – if True, will allow switching to a different profile
- 返回:
a context manager for temporarily loading a profile
- aiida.manage.configuration.reset_config()[源代码]#
Reset the globally loaded config.
警告
This is experimental functionality and should for now be used only internally. If the reset is unclean weird unknown side-effects may occur that end up corrupting or destroying data.
Subpackages#
- aiida.manage.configuration.migrations package
- Submodules
AbstractStorageAndProcess
AbstractStorageAndProcess.__abstractmethods__
AbstractStorageAndProcess.__module__
AbstractStorageAndProcess.__parameters__
AbstractStorageAndProcess.__subclasshook__()
AbstractStorageAndProcess._abc_impl
AbstractStorageAndProcess._is_protocol
AbstractStorageAndProcess.down_compatible
AbstractStorageAndProcess.down_revision
AbstractStorageAndProcess.downgrade()
AbstractStorageAndProcess.process_keys
AbstractStorageAndProcess.storage_conversions
AbstractStorageAndProcess.up_compatible
AbstractStorageAndProcess.up_revision
AbstractStorageAndProcess.upgrade()
AddMessageBroker
AddMessageBroker.__abstractmethods__
AddMessageBroker.__module__
AddMessageBroker.__parameters__
AddMessageBroker.__subclasshook__()
AddMessageBroker._abc_impl
AddMessageBroker._is_protocol
AddMessageBroker.down_compatible
AddMessageBroker.down_revision
AddMessageBroker.downgrade()
AddMessageBroker.up_compatible
AddMessageBroker.up_revision
AddMessageBroker.upgrade()
AddPrefixToStorageBackendTypes
AddPrefixToStorageBackendTypes.__abstractmethods__
AddPrefixToStorageBackendTypes.__module__
AddPrefixToStorageBackendTypes.__parameters__
AddPrefixToStorageBackendTypes.__subclasshook__()
AddPrefixToStorageBackendTypes._abc_impl
AddPrefixToStorageBackendTypes._is_protocol
AddPrefixToStorageBackendTypes.down_compatible
AddPrefixToStorageBackendTypes.down_revision
AddPrefixToStorageBackendTypes.downgrade()
AddPrefixToStorageBackendTypes.up_compatible
AddPrefixToStorageBackendTypes.up_revision
AddPrefixToStorageBackendTypes.upgrade()
AddProfileUuid
AddProfileUuid.__abstractmethods__
AddProfileUuid.__module__
AddProfileUuid.__parameters__
AddProfileUuid.__subclasshook__()
AddProfileUuid._abc_impl
AddProfileUuid._is_protocol
AddProfileUuid.down_compatible
AddProfileUuid.down_revision
AddProfileUuid.downgrade()
AddProfileUuid.up_compatible
AddProfileUuid.up_revision
AddProfileUuid.upgrade()
AddTestProfileKey
AddTestProfileKey.__abstractmethods__
AddTestProfileKey.__module__
AddTestProfileKey.__parameters__
AddTestProfileKey.__subclasshook__()
AddTestProfileKey._abc_impl
AddTestProfileKey._is_protocol
AddTestProfileKey.down_compatible
AddTestProfileKey.down_revision
AddTestProfileKey.downgrade()
AddTestProfileKey.up_compatible
AddTestProfileKey.up_revision
AddTestProfileKey.upgrade()
Initial
MergeStorageBackendTypes
MergeStorageBackendTypes.__abstractmethods__
MergeStorageBackendTypes.__module__
MergeStorageBackendTypes.__parameters__
MergeStorageBackendTypes.__subclasshook__()
MergeStorageBackendTypes._abc_impl
MergeStorageBackendTypes._is_protocol
MergeStorageBackendTypes.down_compatible
MergeStorageBackendTypes.down_revision
MergeStorageBackendTypes.downgrade()
MergeStorageBackendTypes.up_compatible
MergeStorageBackendTypes.up_revision
MergeStorageBackendTypes.upgrade()
SimplifyDefaultProfiles
SimplifyDefaultProfiles.__abstractmethods__
SimplifyDefaultProfiles.__module__
SimplifyDefaultProfiles.__parameters__
SimplifyDefaultProfiles.__subclasshook__()
SimplifyDefaultProfiles._abc_impl
SimplifyDefaultProfiles._is_protocol
SimplifyDefaultProfiles.down_compatible
SimplifyDefaultProfiles.down_revision
SimplifyDefaultProfiles.downgrade()
SimplifyDefaultProfiles.up_compatible
SimplifyDefaultProfiles.up_revision
SimplifyDefaultProfiles.upgrade()
SimplifyOptions
SimplifyOptions.__abstractmethods__
SimplifyOptions.__module__
SimplifyOptions.__parameters__
SimplifyOptions.__subclasshook__()
SimplifyOptions._abc_impl
SimplifyOptions._is_protocol
SimplifyOptions.conversions
SimplifyOptions.down_compatible
SimplifyOptions.down_revision
SimplifyOptions.downgrade()
SimplifyOptions.up_compatible
SimplifyOptions.up_revision
SimplifyOptions.upgrade()
SingleMigration
SingleMigration.__abstractmethods__
SingleMigration.__annotations__
SingleMigration.__dict__
SingleMigration.__init__()
SingleMigration.__module__
SingleMigration.__parameters__
SingleMigration.__subclasshook__()
SingleMigration.__weakref__
SingleMigration._abc_impl
SingleMigration._is_protocol
SingleMigration.down_compatible
SingleMigration.down_revision
SingleMigration.downgrade()
SingleMigration.up_compatible
SingleMigration.up_revision
SingleMigration.upgrade()
check_and_migrate_config()
config_needs_migrating()
downgrade_config()
get_current_version()
get_oldest_compatible_version()
upgrade_config()
- Submodules
- aiida.manage.configuration.schema package
Submodules#
Module that defines the configuration file of an AiiDA instance and functions to create and load it.
Despite the import of the annotations backport below which enables postponed type annotation evaluation as implemented
with PEP 563 (https://peps.python.org/pep-0563/), this is not compatible with pydantic
for Python 3.9 and older (
See pydantic/pydantic#2678 for details).
- class aiida.manage.configuration.config.Config(filepath: str, config: dict, validate: bool = True)[源代码]#
基类:
object
Object that represents the configuration file of an AiiDA instance.
- KEY_DEFAULT_PROFILE = 'default_profile'#
- KEY_OPTIONS = 'options'#
- KEY_PROFILES = 'profiles'#
- KEY_SCHEMA = '$schema'#
- KEY_VERSION = 'CONFIG_VERSION'#
- KEY_VERSION_CURRENT = 'CURRENT'#
- KEY_VERSION_OLDEST_COMPATIBLE = 'OLDEST_COMPATIBLE'#
- __dict__ = mappingproxy({'__module__': 'aiida.manage.configuration.config', '__doc__': 'Object that represents the configuration file of an AiiDA instance.', 'KEY_VERSION': 'CONFIG_VERSION', 'KEY_VERSION_CURRENT': 'CURRENT', 'KEY_VERSION_OLDEST_COMPATIBLE': 'OLDEST_COMPATIBLE', 'KEY_DEFAULT_PROFILE': 'default_profile', 'KEY_PROFILES': 'profiles', 'KEY_OPTIONS': 'options', 'KEY_SCHEMA': '$schema', 'from_file': <classmethod(<function Config.from_file>)>, '_backup': <classmethod(<function Config._backup>)>, 'validate': <staticmethod(<function Config.validate>)>, '__init__': <function Config.__init__>, '__eq__': <function Config.__eq__>, '__ne__': <function Config.__ne__>, 'handle_invalid': <function Config.handle_invalid>, 'dictionary': <property object>, 'version': <property object>, 'version_oldest_compatible': <property object>, 'version_settings': <property object>, 'filepath': <property object>, 'dirpath': <property object>, 'default_profile_name': <property object>, 'profile_names': <property object>, 'profiles': <property object>, 'validate_profile': <function Config.validate_profile>, 'get_profile': <function Config.get_profile>, 'create_profile': <function Config.create_profile>, 'add_profile': <function Config.add_profile>, 'update_profile': <function Config.update_profile>, 'remove_profile': <function Config.remove_profile>, 'delete_profile': <function Config.delete_profile>, 'set_default_profile': <function Config.set_default_profile>, 'set_default_user_email': <function Config.set_default_user_email>, 'options': <property object>, 'set_option': <function Config.set_option>, 'unset_option': <function Config.unset_option>, 'get_option': <function Config.get_option>, 'get_options': <function Config.get_options>, 'store': <function Config.store>, '_atomic_write': <function Config._atomic_write>, '__dict__': <attribute '__dict__' of 'Config' objects>, '__weakref__': <attribute '__weakref__' of 'Config' objects>, '__hash__': None, '__annotations__': {}})#
- __hash__ = None#
- __init__(filepath: str, config: dict, validate: bool = True)[源代码]#
Instantiate a configuration object from a configuration dictionary and its filepath.
If an empty dictionary is passed, the constructor will create the skeleton configuration dictionary.
- 参数:
filepath – the absolute filepath of the configuration file
config – the content of the configuration file in dictionary form
validate – validate the dictionary against the schema
- __module__ = 'aiida.manage.configuration.config'#
- __weakref__#
list of weak references to the object (if defined)
- _atomic_write(filepath=None)[源代码]#
Write the config as it is in memory, i.e. the contents of
self.dictionary
, to disk.备注
this command will write the config from memory to a temporary file in the same directory as the target file
filepath
. It will then useos.rename
to move the temporary file tofilepath
which will be overwritten if it already exists. Theos.rename
is the operation that gives the best guarantee of being atomic within the limitations of the application.- 参数:
filepath – optional filepath to write the contents to, if not specified, the default filename is used.
- classmethod _backup(filepath)[源代码]#
Create a backup of the configuration file with the given filepath.
- 参数:
filepath – absolute path to the configuration file to backup
- 返回:
the absolute path of the created backup
- add_profile(profile)[源代码]#
Add a profile to the configuration.
- 参数:
profile – the profile configuration dictionary
- 返回:
self
- create_profile(name: str, storage_cls: Type['StorageBackend'], storage_config: dict[str, str]) Profile [源代码]#
Create a new profile and initialise its storage.
- 参数:
name – The profile name.
storage_cls – The
aiida.orm.implementation.storage_backend.StorageBackend
implementation to use.storage_config – The configuration necessary to initialise and connect to the storage backend.
- 返回:
The created profile.
- 抛出:
ValueError – If the profile already exists.
TypeError – If the
storage_cls
is not a subclass ofaiida.orm.implementation.storage_backend.StorageBackend
.EntryPointError – If the
storage_cls
does not have an associated entry point.StorageMigrationError – If the storage cannot be initialised.
- property default_profile_name#
Return the default profile name.
- 返回:
the default profile name or None if not defined
- delete_profile(name: str, delete_storage: bool = True) None [源代码]#
Delete a profile including its storage.
- 参数:
delete_storage – Whether to delete the storage with all its data or not.
- property dictionary: dict#
Return the dictionary representation of the config as it would be written to file.
- 返回:
dictionary representation of config as it should be written to file
- property dirpath#
- property filepath#
- classmethod from_file(filepath)[源代码]#
Instantiate a configuration object from the contents of a given file.
备注
if the filepath does not exist an empty file will be created with the current default configuration and will be written to disk. If the filepath does already exist but contains a configuration with an outdated schema, the content will be migrated and then written to disk.
- 参数:
filepath – the absolute path to the configuration file
- 返回:
Config instance
- get_option(option_name, scope=None, default=True)[源代码]#
Get a configuration option for a certain scope.
- 参数:
option_name – the name of the configuration option
scope – get the option for this profile or globally if not specified
default – boolean, If True will return the option default, even if not defined within the given scope
- 返回:
the option value or None if not set for the given scope
- get_options(scope: str | None = None) Dict[str, Tuple[Option, str, Any]] [源代码]#
Return a dictionary of all option values and their source (‘profile’, ‘global’, or ‘default’).
- 参数:
scope – the profile name or globally if not specified
- 返回:
(option, source, value)
- get_profile(name: str | None = None) Profile [源代码]#
Return the profile for the given name or the default one if not specified.
- 返回:
the profile instance or None if it does not exist
- 抛出:
aiida.common.ProfileConfigurationError – if the name is not found in the configuration file
- handle_invalid(message)[源代码]#
Handle an incoming invalid configuration dictionary.
The current content of the configuration file will be written to a backup file.
- 参数:
message – a string message to echo with describing the infraction
- property options#
- property profile_names#
Return the list of profile names.
- 返回:
list of profile names
- property profiles#
Return the list of profiles.
- 返回:
the profiles
- 返回类型:
list of Profile instances
- remove_profile(name)[源代码]#
Remove a profile from the configuration.
- 参数:
name – the name of the profile to remove
- 抛出:
aiida.common.ProfileConfigurationError – if the given profile does not exist
- 返回:
self
- set_default_profile(name, overwrite=False)[源代码]#
Set the given profile as the new default.
- 参数:
name – name of the profile to set as new default
overwrite – when True, set the profile as the new default even if a default profile is already defined
- 抛出:
aiida.common.ProfileConfigurationError – if the given profile does not exist
- 返回:
self
- set_default_user_email(profile: Profile, user_email: str) None [源代码]#
Set the default user for the given profile.
警告
This does not update the cached default user on the storage backend associated with the profile. To do so, use
aiida.manage.manager.Manager.set_default_user_email()
instead.- 参数:
profile – The profile to update.
user_email – The email of the user to set as the default user.
- set_option(option_name, option_value, scope=None, override=True)[源代码]#
Set a configuration option for a certain scope.
- 参数:
option_name – the name of the configuration option
option_value – the option value
scope – set the option for this profile or globally if not specified
override – boolean, if False, will not override the option if it already exists
- 返回:
the parsed value (potentially cast to a valid type)
- store()[源代码]#
Write the current config to file.
备注
if the configuration file already exists on disk and its contents differ from those in memory, a backup of the original file on disk will be created before overwriting it.
- 返回:
self
- unset_option(option_name: str, scope=None)[源代码]#
Unset a configuration option for a certain scope.
- 参数:
option_name – the name of the configuration option
scope – unset the option for this profile or globally if not specified
- update_profile(profile)[源代码]#
Update a profile in the configuration.
- 参数:
profile – the profile instance to update
- 返回:
self
- static validate(config: dict, filepath: str | None = None)[源代码]#
Validate a configuration dictionary.
- validate_profile(name)[源代码]#
Validate that a profile exists.
- 参数:
name – name of the profile:
- 抛出:
aiida.common.ProfileConfigurationError – if the name is not found in the configuration file
- property version#
- property version_oldest_compatible#
- property version_settings#
- class aiida.manage.configuration.config.ConfigSchema(*, CONFIG_VERSION: ConfigVersionSchema | None = None, profiles: dict[str, ProfileSchema] | None = None, options: GlobalOptionsSchema | None = None, default_profile: str | None = None)[源代码]#
基类:
BaseModel
Schema for the configuration of an AiiDA instance.
- CONFIG_VERSION: ConfigVersionSchema | None#
- __abstractmethods__ = frozenset({})#
- __annotations__ = {'CONFIG_VERSION': 'Optional[ConfigVersionSchema]', '__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator]', '__signature__': 'ClassVar[Signature]', 'default_profile': 'Optional[str]', 'model_computed_fields': 'ClassVar[dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[dict[str, FieldInfo]]', 'options': 'Optional[GlobalOptionsSchema]', 'profiles': 'Optional[dict[str, ProfileSchema]]'}#
- __dict__#
- __module__ = 'aiida.manage.configuration.config'#
- __pydantic_core_schema__: ClassVar[CoreSchema] = {'definitions': [{'lax_schema': {'function': {'function': <function get_enum_core_schema.<locals>.to_enum>, 'type': 'no-info'}, 'type': 'function-plain'}, 'metadata': {'pydantic_js_functions': [<function get_enum_core_schema.<locals>.get_json_schema>]}, 'ref': 'aiida.common.log.LogLevels:93840186813536', 'strict_schema': {'json_schema': {'function': {'function': <function get_enum_core_schema.<locals>.to_enum>, 'type': 'no-info'}, 'type': 'function-plain'}, 'python_schema': {'steps': [{'cls': <enum 'LogLevels'>, 'type': 'is-instance'}, {'function': {'function': <function get_enum_core_schema.<locals>.<lambda>>, 'type': 'no-info'}, 'type': 'function-plain'}], 'type': 'chain'}, 'type': 'json-or-python'}, 'type': 'lax-or-strict'}], 'schema': {'cls': <class 'aiida.manage.configuration.config.ConfigSchema'>, 'config': {'title': 'ConfigSchema'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'aiida.manage.configuration.config.ConfigSchema'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'aiida.manage.configuration.config.ConfigSchema'>>]}, 'ref': 'aiida.manage.configuration.config.ConfigSchema:93840227167840', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'CONFIG_VERSION': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'cls': <class 'aiida.manage.configuration.config.ConfigVersionSchema'>, 'config': {'title': 'ConfigVersionSchema'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'aiida.manage.configuration.config.ConfigVersionSchema'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'aiida.manage.configuration.config.ConfigVersionSchema'>>]}, 'ref': 'aiida.manage.configuration.config.ConfigVersionSchema:93840229660464', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'CURRENT': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'type': 'int'}, 'type': 'model-field'}, 'OLDEST_COMPATIBLE': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'type': 'int'}, 'type': 'model-field'}}, 'model_name': 'ConfigVersionSchema', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'default_profile': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'options': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'cls': <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>, 'config': {'title': 'GlobalOptionsSchema'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'aiida.manage.configuration.config.GlobalOptionsSchema'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>>]}, 'ref': 'aiida.manage.configuration.config.GlobalOptionsSchema:93840226277392', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'autofill__user__email': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'autofill__user__first_name': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'autofill__user__institution': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'autofill__user__last_name': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'caching__default_enabled': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': False, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'caching__disabled_for': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': [], 'schema': {'function': {'function': <bound method ProfileOptionsSchema.validate_caching_identifier_pattern of <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>>, 'type': 'no-info'}, 'schema': {'items_schema': {'metadata': {}, 'type': 'str'}, 'strict': False, 'type': 'list'}, 'type': 'function-after'}, 'type': 'default'}, 'type': 'model-field'}, 'caching__enabled_for': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': [], 'schema': {'function': {'function': <bound method ProfileOptionsSchema.validate_caching_identifier_pattern of <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>>, 'type': 'no-info'}, 'schema': {'items_schema': {'metadata': {}, 'type': 'str'}, 'strict': False, 'type': 'list'}, 'type': 'function-after'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__default_workers': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 1, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__recursion_limit': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 3000, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__timeout': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 2, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__worker_process_slots': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 200, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'db__batch_size': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 100000, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__aiida_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__aiopika_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__alembic_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__circus_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'INFO', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__db_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__kiwipy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__paramiko_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__plumpy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__sqlalchemy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__verdi_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'rest_api__profile_switching': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': False, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'rmq__task_timeout': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 10, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'runner__poll__interval': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 60, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'storage__sandbox': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'transport__task_maximum_attempts': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 5, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'transport__task_retry_initial_interval': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 20, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'verdi__shell__auto_import': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': ':', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'warnings__development_version': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': True, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'warnings__rabbitmq_version': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': True, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'warnings__showdeprecations': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': True, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'GlobalOptionsSchema', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'profiles': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'keys_schema': {'metadata': {}, 'type': 'str'}, 'metadata': {}, 'strict': False, 'type': 'dict', 'values_schema': {'cls': <class 'aiida.manage.configuration.config.ProfileSchema'>, 'config': {'title': 'ProfileSchema'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'aiida.manage.configuration.config.ProfileSchema'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'aiida.manage.configuration.config.ProfileSchema'>>]}, 'ref': 'aiida.manage.configuration.config.ProfileSchema:93840226417360', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'default_user_email': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'options': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'cls': <class 'aiida.manage.configuration.config.ProfileOptionsSchema'>, 'config': {'title': 'ProfileOptionsSchema'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'aiida.manage.configuration.config.ProfileOptionsSchema'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'aiida.manage.configuration.config.ProfileOptionsSchema'>>]}, 'ref': 'aiida.manage.configuration.config.ProfileOptionsSchema:93840229443696', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'caching__default_enabled': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': False, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'caching__disabled_for': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': [], 'schema': {'function': {'function': <bound method ProfileOptionsSchema.validate_caching_identifier_pattern of <class 'aiida.manage.configuration.config.ProfileOptionsSchema'>>, 'type': 'no-info'}, 'schema': {'items_schema': {'metadata': {}, 'type': 'str'}, 'strict': False, 'type': 'list'}, 'type': 'function-after'}, 'type': 'default'}, 'type': 'model-field'}, 'caching__enabled_for': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': [], 'schema': {'function': {'function': <bound method ProfileOptionsSchema.validate_caching_identifier_pattern of <class 'aiida.manage.configuration.config.ProfileOptionsSchema'>>, 'type': 'no-info'}, 'schema': {'items_schema': {'metadata': {}, 'type': 'str'}, 'strict': False, 'type': 'list'}, 'type': 'function-after'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__default_workers': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 1, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__recursion_limit': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 3000, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__timeout': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 2, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__worker_process_slots': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 200, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'db__batch_size': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 100000, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__aiida_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__aiopika_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__alembic_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__circus_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'INFO', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__db_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__kiwipy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__paramiko_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__plumpy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__sqlalchemy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__verdi_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'schema': {'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'rmq__task_timeout': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 10, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'runner__poll__interval': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 60, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'storage__sandbox': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'schema': {'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'transport__task_maximum_attempts': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 5, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'transport__task_retry_initial_interval': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 20, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'verdi__shell__auto_import': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': ':', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'warnings__rabbitmq_version': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': True, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'warnings__showdeprecations': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': True, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'ProfileOptionsSchema', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'process_control': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'cls': <class 'aiida.manage.configuration.config.ProcessControlConfig'>, 'config': {'title': 'ProcessControlConfig'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'aiida.manage.configuration.config.ProcessControlConfig'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'aiida.manage.configuration.config.ProcessControlConfig'>>]}, 'ref': 'aiida.manage.configuration.config.ProcessControlConfig:93840227163008', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'broker_host': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '127.0.0.1', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'broker_parameters': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default_factory': <class 'dict'>, 'schema': {'keys_schema': {'metadata': {}, 'type': 'str'}, 'strict': False, 'type': 'dict', 'values_schema': {'type': 'any'}}, 'type': 'default'}, 'type': 'model-field'}, 'broker_password': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'guest', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'broker_port': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 5432, 'schema': {'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'broker_protocol': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'amqp', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'broker_username': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'guest', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'broker_virtual_host': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': '', 'schema': {'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'ProcessControlConfig', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'model-field'}, 'storage': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'cls': <class 'aiida.manage.configuration.config.ProfileStorageConfig'>, 'config': {'title': 'ProfileStorageConfig'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'aiida.manage.configuration.config.ProfileStorageConfig'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'aiida.manage.configuration.config.ProfileStorageConfig'>>]}, 'ref': 'aiida.manage.configuration.config.ProfileStorageConfig:93840227114416', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'backend': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'type': 'str'}, 'type': 'model-field'}, 'config': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'keys_schema': {'metadata': {}, 'type': 'str'}, 'strict': False, 'type': 'dict', 'values_schema': {'type': 'any'}}, 'type': 'model-field'}}, 'model_name': 'ProfileStorageConfig', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'model-field'}, 'test_profile': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': False, 'schema': {'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'uuid': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default_factory': <function uuid4>, 'schema': {'type': 'str'}, 'serialization': {'function': <function ProfileSchema.serialize_dt>, 'info_arg': True, 'is_field_serializer': True, 'type': 'function-plain'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'ProfileSchema', 'type': 'model-fields'}, 'type': 'model'}}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}}, 'model_name': 'ConfigSchema', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'definitions'}#
- __pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#
- __pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}#
- __pydantic_parent_namespace__: ClassVar[dict[str, Any] | None] = {'AIIDA_LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Any': <pydantic._internal._model_construction._PydanticWeakRef object>, 'BaseModel': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigDict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigVersionSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigurationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Dict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'EntryPointError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Field': <pydantic._internal._model_construction._PydanticWeakRef object>, 'GlobalOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'List': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LogLevels': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Optional': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProcessControlConfig': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Profile': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileStorageConfig': <pydantic._internal._model_construction._PydanticWeakRef object>, 'StorageMigrationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'TYPE_CHECKING': False, 'Tuple': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Type': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ValidationError': <pydantic._internal._model_construction._PydanticWeakRef object>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EncodingWarning': <class 'EncodingWarning'>, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'ExceptionGroup': <class 'ExceptionGroup'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), 'abs': <built-in function abs>, 'aiter': <built-in function aiter>, 'all': <built-in function all>, 'anext': <built-in function anext>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <class 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <class 'enumerate'>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': <class 'filter'>, 'float': <class 'float'>, 'format': <built-in function format>, 'frozenset': <class 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <class 'int'>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <class 'list'>, 'locals': <built-in function locals>, 'map': <class 'map'>, 'max': <built-in function max>, 'memoryview': <class 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <class 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <class 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <class 'range'>, 'repr': <built-in function repr>, 'reversed': <class 'reversed'>, 'round': <built-in function round>, 'set': <class 'set'>, 'setattr': <built-in function setattr>, 'slice': <class 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'sum': <built-in function sum>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'vars': <built-in function vars>, 'zip': <class 'zip'>}, '__cached__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/__pycache__/config.cpython-311.pyc', '__doc__': 'Module that defines the configuration file of an AiiDA instance and functions to create and load it.\n\nDespite the import of the annotations backport below which enables postponed type annotation evaluation as implemented\nwith PEP 563 (https://peps.python.org/pep-0563/), this is not compatible with ``pydantic`` for Python 3.9 and older (\nSee https://github.com/pydantic/pydantic/issues/2678 for details).\n', '__file__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/config.py', '__loader__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__name__': 'aiida.manage.configuration.config', '__package__': 'aiida.manage.configuration', '__spec__': <pydantic._internal._model_construction._PydanticWeakRef object>, 'annotations': <pydantic._internal._model_construction._PydanticWeakRef object>, 'codecs': <pydantic._internal._model_construction._PydanticWeakRef object>, 'config': {'CONFIG_VERSION': {'CURRENT': 9, 'OLDEST_COMPATIBLE': 9}, 'default_profile': 'archive', 'profiles': {'archive': {'PROFILE_UUID': '18a89b6f46dc4acc8375374cb9e93f5f', 'options': {}, 'process_control': {'backend': 'rabbitmq', 'config': {'broker_host': '127.0.0.1', 'broker_password': 'guest', 'broker_port': 5672, 'broker_protocol': 'amqp', 'broker_username': 'guest', 'broker_virtual_host': ''}}, 'storage': {'backend': 'core.sqlite_zip', 'config': {'filepath': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/checkouts/latest/aiida-core/docs/source/howto/process.aiida'}}}}}, 'contextlib': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_serializer': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_validator': <pydantic._internal._model_construction._PydanticWeakRef object>, 'filepath': '/home/docs/.aiida/config.json', 'get_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option_names': <pydantic._internal._model_construction._PydanticWeakRef object>, 'io': <pydantic._internal._model_construction._PydanticWeakRef object>, 'json': <pydantic._internal._model_construction._PydanticWeakRef object>, 'os': <pydantic._internal._model_construction._PydanticWeakRef object>, 'parse_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'uuid': <pydantic._internal._model_construction._PydanticWeakRef object>}#
- __pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model( ModelSerializer { class: Py( 0x00005558e167ee60, ), serializer: Fields( GeneralFieldsSerializer { fields: { "profiles": SerField { key_py: Py( 0x00007f2fd652beb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Dict( DictSerializer { key_serializer: Str( StrSerializer, ), value_serializer: Model( ModelSerializer { class: Py( 0x00005558e15c7ad0, ), serializer: Fields( GeneralFieldsSerializer { fields: { "uuid": SerField { key_py: Py( 0x00007f2fd6dc09f0, ), alias: None, alias_py: None, serializer: Some( Function( FunctionPlainSerializer { func: Py( 0x00007f2fb848ca40, ), name: "plain_function[serialize_dt]", function_name: "serialize_dt", return_serializer: Any( AnySerializer, ), fallback_serializer: None, when_used: Always, is_field_serializer: true, info_arg: true, }, ), ), required: true, }, "default_user_email": SerField { key_py: Py( 0x00007f2fd578c030, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "process_control": SerField { key_py: Py( 0x00007f2fd5784630, ), alias: None, alias_py: None, serializer: Some( Model( ModelSerializer { class: Py( 0x00005558e167db80, ), serializer: Fields( GeneralFieldsSerializer { fields: { "broker_parameters": SerField { key_py: Py( 0x00007f2fd5781e30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: DefaultFactory( Py( 0x00007f2fd801dee0, ), ), serializer: Dict( DictSerializer { key_serializer: Str( StrSerializer, ), value_serializer: Any( AnySerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "dict[str, any]", }, ), }, ), ), required: true, }, "broker_protocol": SerField { key_py: Py( 0x00007f2fd5763eb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f370, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_username": SerField { key_py: Py( 0x00007f2fd5763ef0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f470, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_password": SerField { key_py: Py( 0x00007f2fd5763f30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f470, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_port": SerField { key_py: Py( 0x00007f2fd5763fb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb36690, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "broker_virtual_host": SerField { key_py: Py( 0x00007f2fd5780f80, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8118c80, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_host": SerField { key_py: Py( 0x00007f2fd5763f70, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fc9ac7a70, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 7, }, ), has_extra: false, root_model: false, name: "ProcessControlConfig", }, ), ), required: true, }, "test_profile": SerField { key_py: Py( 0x00007f2fd57847b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "options": SerField { key_py: Py( 0x00007f2fd76cbfb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Model( ModelSerializer { class: Py( 0x00005558e18aa870, ), serializer: Fields( GeneralFieldsSerializer { fields: { "runner__poll__interval": SerField { key_py: Py( 0x00007f2fafd88b70, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8114028, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__circus_loglevel": SerField { key_py: Py( 0x00007f2fafd89070, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd76a21b0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "verdi__shell__auto_import": SerField { key_py: Py( 0x00007f2fafd88d00, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd811e418, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "logging__verdi_loglevel": SerField { key_py: Py( 0x00007f2fafd88da0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "daemon__timeout": SerField { key_py: Py( 0x00007f2fc9ac62b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__kiwipy_loglevel": SerField { key_py: Py( 0x00007f2fafd88ee0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__sqlalchemy_loglevel": SerField { key_py: Py( 0x00007f2fafd88fd0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "rmq__task_timeout": SerField { key_py: Py( 0x00007f2fafd891b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81139e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "warnings__rabbitmq_version": SerField { key_py: Py( 0x00007f2fafd89160, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "daemon__default_workers": SerField { key_py: Py( 0x00007f2fafd88c10, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138c8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "daemon__worker_process_slots": SerField { key_py: Py( 0x00007f2fafd88c60, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81151a8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "daemon__recursion_limit": SerField { key_py: Py( 0x00007f2fafd88cb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37db0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__aiida_loglevel": SerField { key_py: Py( 0x00007f2fafd88d50, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__plumpy_loglevel": SerField { key_py: Py( 0x00007f2fafd88e90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__aiopika_loglevel": SerField { key_py: Py( 0x00007f2fafd890c0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "db__batch_size": SerField { key_py: Py( 0x00007f2fc9ac6ff0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37dd0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "warnings__showdeprecations": SerField { key_py: Py( 0x00007f2fafd89110, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "transport__task_retry_initial_interval": SerField { key_py: Py( 0x00007f2faffb8870, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113b28, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "storage__sandbox": SerField { key_py: Py( 0x00007f2fafd892a0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "logging__paramiko_loglevel": SerField { key_py: Py( 0x00007f2fafd88f30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "caching__enabled_for": SerField { key_py: Py( 0x00007f2fafd89340, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fc9dac500, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "transport__task_maximum_attempts": SerField { key_py: Py( 0x00007f2faffb8c90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113948, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "caching__disabled_for": SerField { key_py: Py( 0x00007f2fafd89390, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fb82b0980, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "logging__db_loglevel": SerField { key_py: Py( 0x00007f2fafd88e40, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__alembic_loglevel": SerField { key_py: Py( 0x00007f2fafd88f80, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "caching__default_enabled": SerField { key_py: Py( 0x00007f2fafd892f0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 26, }, ), has_extra: false, root_model: false, name: "ProfileOptionsSchema", }, ), }, ), }, ), ), required: true, }, "storage": SerField { key_py: Py( 0x00007f2fd5751eb0, ), alias: None, alias_py: None, serializer: Some( Model( ModelSerializer { class: Py( 0x00005558e1671db0, ), serializer: Fields( GeneralFieldsSerializer { fields: { "config": SerField { key_py: Py( 0x00007f2fd71b5df0, ), alias: None, alias_py: None, serializer: Some( Dict( DictSerializer { key_serializer: Str( StrSerializer, ), value_serializer: Any( AnySerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "dict[str, any]", }, ), ), required: true, }, "backend": SerField { key_py: Py( 0x00007f2fd658c630, ), alias: None, alias_py: None, serializer: Some( Str( StrSerializer, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 2, }, ), has_extra: false, root_model: false, name: "ProfileStorageConfig", }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 6, }, ), has_extra: false, root_model: false, name: "ProfileSchema", }, ), filter: SchemaFilter { include: None, exclude: None, }, name: "dict[str, ProfileSchema]", }, ), }, ), }, ), ), required: true, }, "default_profile": SerField { key_py: Py( 0x00007f2fd5763e30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "CONFIG_VERSION": SerField { key_py: Py( 0x00007f2fd5784af0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Model( ModelSerializer { class: Py( 0x00005558e18df730, ), serializer: Fields( GeneralFieldsSerializer { fields: { "CURRENT": SerField { key_py: Py( 0x00007f2fd5784b30, ), alias: None, alias_py: None, serializer: Some( Int( IntSerializer, ), ), required: true, }, "OLDEST_COMPATIBLE": SerField { key_py: Py( 0x00007f2fd57825b0, ), alias: None, alias_py: None, serializer: Some( Int( IntSerializer, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 2, }, ), has_extra: false, root_model: false, name: "ConfigVersionSchema", }, ), }, ), }, ), ), required: true, }, "options": SerField { key_py: Py( 0x00007f2fd76cbfb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Model( ModelSerializer { class: Py( 0x00005558e15a5810, ), serializer: Fields( GeneralFieldsSerializer { fields: { "logging__circus_loglevel": SerField { key_py: Py( 0x00007f2fafd89070, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd76a21b0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "transport__task_retry_initial_interval": SerField { key_py: Py( 0x00007f2faffb8870, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113b28, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "warnings__development_version": SerField { key_py: Py( 0x00007f2fafd895c0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "daemon__default_workers": SerField { key_py: Py( 0x00007f2fafd88c10, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138c8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "autofill__user__email": SerField { key_py: Py( 0x00007f2fafd89430, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "logging__verdi_loglevel": SerField { key_py: Py( 0x00007f2fafd88da0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "daemon__worker_process_slots": SerField { key_py: Py( 0x00007f2fafd88c60, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81151a8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__kiwipy_loglevel": SerField { key_py: Py( 0x00007f2fafd88ee0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "daemon__timeout": SerField { key_py: Py( 0x00007f2fc9ac62b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "transport__task_maximum_attempts": SerField { key_py: Py( 0x00007f2faffb8c90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113948, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "rmq__task_timeout": SerField { key_py: Py( 0x00007f2fafd891b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81139e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__plumpy_loglevel": SerField { key_py: Py( 0x00007f2fafd88e90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "autofill__user__first_name": SerField { key_py: Py( 0x00007f2fafd89480, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "caching__enabled_for": SerField { key_py: Py( 0x00007f2fafd89340, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fc9dac500, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "runner__poll__interval": SerField { key_py: Py( 0x00007f2fafd88b70, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8114028, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__db_loglevel": SerField { key_py: Py( 0x00007f2fafd88e40, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "warnings__showdeprecations": SerField { key_py: Py( 0x00007f2fafd89110, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "logging__aiida_loglevel": SerField { key_py: Py( 0x00007f2fafd88d50, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "caching__default_enabled": SerField { key_py: Py( 0x00007f2fafd892f0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "daemon__recursion_limit": SerField { key_py: Py( 0x00007f2fafd88cb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37db0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "verdi__shell__auto_import": SerField { key_py: Py( 0x00007f2fafd88d00, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd811e418, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "caching__disabled_for": SerField { key_py: Py( 0x00007f2fafd89390, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fb82b0980, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "autofill__user__last_name": SerField { key_py: Py( 0x00007f2fafd894d0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "storage__sandbox": SerField { key_py: Py( 0x00007f2fafd892a0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "warnings__rabbitmq_version": SerField { key_py: Py( 0x00007f2fafd89160, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "logging__alembic_loglevel": SerField { key_py: Py( 0x00007f2fafd88f80, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "db__batch_size": SerField { key_py: Py( 0x00007f2fc9ac6ff0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37dd0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__paramiko_loglevel": SerField { key_py: Py( 0x00007f2fafd88f30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__aiopika_loglevel": SerField { key_py: Py( 0x00007f2fafd890c0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "autofill__user__institution": SerField { key_py: Py( 0x00007f2fafd89520, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "rest_api__profile_switching": SerField { key_py: Py( 0x00007f2fafd89570, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "logging__sqlalchemy_loglevel": SerField { key_py: Py( 0x00007f2fafd88fd0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 32, }, ), has_extra: false, root_model: false, name: "GlobalOptionsSchema", }, ), }, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 4, }, ), has_extra: false, root_model: false, name: "ConfigSchema", }, ), definitions=[JsonOrPython(JsonOrPythonSerializer { json: Any(AnySerializer), python: Any(AnySerializer), name: "json-or-python[json=any, python=any]" })])#
- __pydantic_validator__: ClassVar[SchemaValidator] = SchemaValidator(title="ConfigSchema", validator=Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "CONFIG_VERSION", lookup_key: Simple { key: "CONFIG_VERSION", py_key: Py( 0x00007f2fca06d930, ), path: LookupPath( [ S( "CONFIG_VERSION", Py( 0x00007f2fb920cc30, ), ), ], ), }, name_py: Py( 0x00007f2fb96731b0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "CURRENT", lookup_key: Simple { key: "CURRENT", py_key: Py( 0x00007f2fb9803470, ), path: LookupPath( [ S( "CURRENT", Py( 0x00007f2fb9940cf0, ), ), ], ), }, name_py: Py( 0x00007f2fb99403f0, ), validator: Int( IntValidator { strict: false, }, ), frozen: false, }, Field { name: "OLDEST_COMPATIBLE", lookup_key: Simple { key: "OLDEST_COMPATIBLE", py_key: Py( 0x00007f2fafd8af10, ), path: LookupPath( [ S( "OLDEST_COMPATIBLE", Py( 0x00007f2fafd89c00, ), ), ], ), }, name_py: Py( 0x00007f2fafd89930, ), validator: Int( IntValidator { strict: false, }, ), frozen: false, }, ], model_name: "ConfigVersionSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e18df730, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ConfigVersionSchema", }, ), name: "nullable[ConfigVersionSchema]", }, ), validate_default: false, copy_default: false, name: "default[nullable[ConfigVersionSchema]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "profiles", lookup_key: Simple { key: "profiles", py_key: Py( 0x00007f2fb9b6f570, ), path: LookupPath( [ S( "profiles", Py( 0x00007f2fb9b6fc30, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6fdb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Dict( DictValidator { strict: false, key_validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), value_validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "uuid", lookup_key: Simple { key: "uuid", py_key: Py( 0x00007f2fb9671130, ), path: LookupPath( [ S( "uuid", Py( 0x00007f2fc835a0b0, ), ), ], ), }, name_py: Py( 0x00007f2fb90ba530, ), validator: WithDefault( WithDefaultValidator { default: DefaultFactory( Py( 0x00007f2fd57dbec0, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "storage", lookup_key: Simple { key: "storage", py_key: Py( 0x00007f2fb9b6f6b0, ), path: LookupPath( [ S( "storage", Py( 0x00007f2fb9b6ecb0, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6f630, ), validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "backend", lookup_key: Simple { key: "backend", py_key: Py( 0x00007f2fb9b6e1f0, ), path: LookupPath( [ S( "backend", Py( 0x00007f2fb9b6e530, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6f9b0, ), validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), frozen: false, }, Field { name: "config", lookup_key: Simple { key: "config", py_key: Py( 0x00007f2fb9b6ffb0, ), path: LookupPath( [ S( "config", Py( 0x00007f2fb9b6fd70, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6f2b0, ), validator: Dict( DictValidator { strict: false, key_validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), value_validator: Any( AnyValidator, ), min_length: None, max_length: None, name: "dict[str,any]", }, ), frozen: false, }, ], model_name: "ProfileStorageConfig", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e1671db0, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProfileStorageConfig", }, ), frozen: false, }, Field { name: "process_control", lookup_key: Simple { key: "process_control", py_key: Py( 0x00007f2fb9b6f8f0, ), path: LookupPath( [ S( "process_control", Py( 0x00007f2fb9b6c230, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6fe70, ), validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "broker_protocol", lookup_key: Simple { key: "broker_protocol", py_key: Py( 0x00007f2fb9b6f5b0, ), path: LookupPath( [ S( "broker_protocol", Py( 0x00007f2fb9b6ee30, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6ed70, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f370, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_username", lookup_key: Simple { key: "broker_username", py_key: Py( 0x00007f2fb9b6c170, ), path: LookupPath( [ S( "broker_username", Py( 0x00007f2fb9b6ff30, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6d970, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f470, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_password", lookup_key: Simple { key: "broker_password", py_key: Py( 0x00007f2fb9b6cb70, ), path: LookupPath( [ S( "broker_password", Py( 0x00007f2fb9b6c070, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6c770, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f470, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_host", lookup_key: Simple { key: "broker_host", py_key: Py( 0x00007f2fb9b6c2b0, ), path: LookupPath( [ S( "broker_host", Py( 0x00007f2fb9b6c4b0, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6c630, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fc9ac7a70, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_port", lookup_key: Simple { key: "broker_port", py_key: Py( 0x00007f2fb9b6c6b0, ), path: LookupPath( [ S( "broker_port", Py( 0x00007f2fb9b6c0b0, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6ca70, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb36690, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_virtual_host", lookup_key: Simple { key: "broker_virtual_host", py_key: Py( 0x00007f2fafda2150, ), path: LookupPath( [ S( "broker_virtual_host", Py( 0x00007f2fafda2f60, ), ), ], ), }, name_py: Py( 0x00007f2fafda2fb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8118c80, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_parameters", lookup_key: Simple { key: "broker_parameters", py_key: Py( 0x00007f2fafda3050, ), path: LookupPath( [ S( "broker_parameters", Py( 0x00007f2fafda30a0, ), ), ], ), }, name_py: Py( 0x00007f2fafda30f0, ), validator: WithDefault( WithDefaultValidator { default: DefaultFactory( Py( 0x00007f2fd801dee0, ), ), on_error: Raise, validator: Dict( DictValidator { strict: false, key_validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), value_validator: Any( AnyValidator, ), min_length: None, max_length: None, name: "dict[str,any]", }, ), validate_default: false, copy_default: false, name: "default[dict[str,any]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ProcessControlConfig", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e167db80, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProcessControlConfig", }, ), frozen: false, }, Field { name: "default_user_email", lookup_key: Simple { key: "default_user_email", py_key: Py( 0x00007f2fafda3190, ), path: LookupPath( [ S( "default_user_email", Py( 0x00007f2fafda31e0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3230, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "test_profile", lookup_key: Simple { key: "test_profile", py_key: Py( 0x00007f2fb9b6c8f0, ), path: LookupPath( [ S( "test_profile", Py( 0x00007f2fb9b6fbf0, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6f2f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "options", lookup_key: Simple { key: "options", py_key: Py( 0x00007f2fb9b6c9b0, ), path: LookupPath( [ S( "options", Py( 0x00007f2fb9b6fbb0, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6fab0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "runner__poll__interval", lookup_key: Simple { key: "runner__poll__interval", py_key: Py( 0x00007f2fafda3280, ), path: LookupPath( [ S( "runner__poll__interval", Py( 0x00007f2fafda32d0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3320, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8114028, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__default_workers", lookup_key: Simple { key: "daemon__default_workers", py_key: Py( 0x00007f2fafda3370, ), path: LookupPath( [ S( "daemon__default_workers", Py( 0x00007f2fafda33c0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3410, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138c8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__timeout", lookup_key: Simple { key: "daemon__timeout", py_key: Py( 0x00007f2fb9b6c2f0, ), path: LookupPath( [ S( "daemon__timeout", Py( 0x00007f2fb9b6f830, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6f7f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__worker_process_slots", lookup_key: Simple { key: "daemon__worker_process_slots", py_key: Py( 0x00007f2fafda3460, ), path: LookupPath( [ S( "daemon__worker_process_slots", Py( 0x00007f2fafda34b0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3500, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81151a8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__recursion_limit", lookup_key: Simple { key: "daemon__recursion_limit", py_key: Py( 0x00007f2fafda3550, ), path: LookupPath( [ S( "daemon__recursion_limit", Py( 0x00007f2fafda35a0, ), ), ], ), }, name_py: Py( 0x00007f2fafda35f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37db0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "db__batch_size", lookup_key: Simple { key: "db__batch_size", py_key: Py( 0x00007f2fb9b6eef0, ), path: LookupPath( [ S( "db__batch_size", Py( 0x00007f2fb9b6faf0, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6fb70, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37dd0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "verdi__shell__auto_import", lookup_key: Simple { key: "verdi__shell__auto_import", py_key: Py( 0x00007f2fafda3690, ), path: LookupPath( [ S( "verdi__shell__auto_import", Py( 0x00007f2fafda36e0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3730, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd811e418, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiida_loglevel", lookup_key: Simple { key: "logging__aiida_loglevel", py_key: Py( 0x00007f2fafda3780, ), path: LookupPath( [ S( "logging__aiida_loglevel", Py( 0x00007f2fafda37d0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3820, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__verdi_loglevel", lookup_key: Simple { key: "logging__verdi_loglevel", py_key: Py( 0x00007f2fafda3870, ), path: LookupPath( [ S( "logging__verdi_loglevel", Py( 0x00007f2fafda38c0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3910, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__db_loglevel", lookup_key: Simple { key: "logging__db_loglevel", py_key: Py( 0x00007f2fafda3960, ), path: LookupPath( [ S( "logging__db_loglevel", Py( 0x00007f2fafda39b0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3a00, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__plumpy_loglevel", lookup_key: Simple { key: "logging__plumpy_loglevel", py_key: Py( 0x00007f2fafda3a50, ), path: LookupPath( [ S( "logging__plumpy_loglevel", Py( 0x00007f2fafda3aa0, ), ), ], ), }, name_py: Py( 0x00007f2fafda3af0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__kiwipy_loglevel", lookup_key: Simple { key: "logging__kiwipy_loglevel", py_key: Py( 0x00007f2fafda3b40, ), path: LookupPath( [ S( "logging__kiwipy_loglevel", Py( 0x00007f2fafda3b90, ), ), ], ), }, name_py: Py( 0x00007f2fafda3be0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__paramiko_loglevel", lookup_key: Simple { key: "logging__paramiko_loglevel", py_key: Py( 0x00007f2fafda3c30, ), path: LookupPath( [ S( "logging__paramiko_loglevel", Py( 0x00007f2fafda3c80, ), ), ], ), }, name_py: Py( 0x00007f2fafda3cd0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__alembic_loglevel", lookup_key: Simple { key: "logging__alembic_loglevel", py_key: Py( 0x00007f2fafda3d20, ), path: LookupPath( [ S( "logging__alembic_loglevel", Py( 0x00007f2fafda3d70, ), ), ], ), }, name_py: Py( 0x00007f2fafda3dc0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__sqlalchemy_loglevel", lookup_key: Simple { key: "logging__sqlalchemy_loglevel", py_key: Py( 0x00007f2fafda3e10, ), path: LookupPath( [ S( "logging__sqlalchemy_loglevel", Py( 0x00007f2fafda3e60, ), ), ], ), }, name_py: Py( 0x00007f2fafda3eb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__circus_loglevel", lookup_key: Simple { key: "logging__circus_loglevel", py_key: Py( 0x00007f2fafda3f00, ), path: LookupPath( [ S( "logging__circus_loglevel", Py( 0x00007f2fafda3f50, ), ), ], ), }, name_py: Py( 0x00007f2fafda3fa0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd76a21b0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiopika_loglevel", lookup_key: Simple { key: "logging__aiopika_loglevel", py_key: Py( 0x00007f2fafd14030, ), path: LookupPath( [ S( "logging__aiopika_loglevel", Py( 0x00007f2fafd14080, ), ), ], ), }, name_py: Py( 0x00007f2fafd140d0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__showdeprecations", lookup_key: Simple { key: "warnings__showdeprecations", py_key: Py( 0x00007f2fafd14120, ), path: LookupPath( [ S( "warnings__showdeprecations", Py( 0x00007f2fafd14170, ), ), ], ), }, name_py: Py( 0x00007f2fafd141c0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__rabbitmq_version", lookup_key: Simple { key: "warnings__rabbitmq_version", py_key: Py( 0x00007f2fafd14210, ), path: LookupPath( [ S( "warnings__rabbitmq_version", Py( 0x00007f2fafd14260, ), ), ], ), }, name_py: Py( 0x00007f2fafd142b0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_retry_initial_interval", lookup_key: Simple { key: "transport__task_retry_initial_interval", py_key: Py( 0x00007f2fb823c630, ), path: LookupPath( [ S( "transport__task_retry_initial_interval", Py( 0x00007f2fafd7b1b0, ), ), ], ), }, name_py: Py( 0x00007f2fafd7afd0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113b28, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_maximum_attempts", lookup_key: Simple { key: "transport__task_maximum_attempts", py_key: Py( 0x00007f2fafd7af10, ), path: LookupPath( [ S( "transport__task_maximum_attempts", Py( 0x00007f2fb878ae50, ), ), ], ), }, name_py: Py( 0x00007f2fb878af10, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113948, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "rmq__task_timeout", lookup_key: Simple { key: "rmq__task_timeout", py_key: Py( 0x00007f2fafd14300, ), path: LookupPath( [ S( "rmq__task_timeout", Py( 0x00007f2fafd14350, ), ), ], ), }, name_py: Py( 0x00007f2fafd143a0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81139e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "storage__sandbox", lookup_key: Simple { key: "storage__sandbox", py_key: Py( 0x00007f2fafd14440, ), path: LookupPath( [ S( "storage__sandbox", Py( 0x00007f2fafd14490, ), ), ], ), }, name_py: Py( 0x00007f2fafd144e0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__default_enabled", lookup_key: Simple { key: "caching__default_enabled", py_key: Py( 0x00007f2fafd14530, ), path: LookupPath( [ S( "caching__default_enabled", Py( 0x00007f2fafd14580, ), ), ], ), }, name_py: Py( 0x00007f2fafd145d0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__enabled_for", lookup_key: Simple { key: "caching__enabled_for", py_key: Py( 0x00007f2fafd14670, ), path: LookupPath( [ S( "caching__enabled_for", Py( 0x00007f2fafd146c0, ), ), ], ), }, name_py: Py( 0x00007f2fafd14710, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fc9dac500, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc8a1bf80, ), config: Py( 0x00007f2fb8417240, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__disabled_for", lookup_key: Simple { key: "caching__disabled_for", py_key: Py( 0x00007f2fafd147b0, ), path: LookupPath( [ S( "caching__disabled_for", Py( 0x00007f2fafd14800, ), ), ], ), }, name_py: Py( 0x00007f2fafd14850, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fb82b0980, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc8a1bf80, ), config: Py( 0x00007f2fb8417240, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ProfileOptionsSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e18aa870, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProfileOptionsSchema", }, ), name: "nullable[ProfileOptionsSchema]", }, ), validate_default: false, copy_default: false, name: "default[nullable[ProfileOptionsSchema]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ProfileSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e15c7ad0, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProfileSchema", }, ), min_length: None, max_length: None, name: "dict[str,ProfileSchema]", }, ), name: "nullable[dict[str,ProfileSchema]]", }, ), validate_default: false, copy_default: false, name: "default[nullable[dict[str,ProfileSchema]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "options", lookup_key: Simple { key: "options", py_key: Py( 0x00007f2fb9b6f9f0, ), path: LookupPath( [ S( "options", Py( 0x00007f2fb9b6eaf0, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6feb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "runner__poll__interval", lookup_key: Simple { key: "runner__poll__interval", py_key: Py( 0x00007f2fafd148a0, ), path: LookupPath( [ S( "runner__poll__interval", Py( 0x00007f2fafd148f0, ), ), ], ), }, name_py: Py( 0x00007f2fafd14940, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8114028, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__default_workers", lookup_key: Simple { key: "daemon__default_workers", py_key: Py( 0x00007f2fafd14990, ), path: LookupPath( [ S( "daemon__default_workers", Py( 0x00007f2fafd149e0, ), ), ], ), }, name_py: Py( 0x00007f2fafd14a30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138c8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__timeout", lookup_key: Simple { key: "daemon__timeout", py_key: Py( 0x00007f2fb9b6fcb0, ), path: LookupPath( [ S( "daemon__timeout", Py( 0x00007f2fb9b6fe30, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6f670, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__worker_process_slots", lookup_key: Simple { key: "daemon__worker_process_slots", py_key: Py( 0x00007f2fafd14a80, ), path: LookupPath( [ S( "daemon__worker_process_slots", Py( 0x00007f2fafd14ad0, ), ), ], ), }, name_py: Py( 0x00007f2fafd14b20, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81151a8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__recursion_limit", lookup_key: Simple { key: "daemon__recursion_limit", py_key: Py( 0x00007f2fafd14b70, ), path: LookupPath( [ S( "daemon__recursion_limit", Py( 0x00007f2fafd14bc0, ), ), ], ), }, name_py: Py( 0x00007f2fafd14c10, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37db0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "db__batch_size", lookup_key: Simple { key: "db__batch_size", py_key: Py( 0x00007f2fb9b6fa70, ), path: LookupPath( [ S( "db__batch_size", Py( 0x00007f2fb9b6fef0, ), ), ], ), }, name_py: Py( 0x00007f2fb9b6fb30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37dd0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "verdi__shell__auto_import", lookup_key: Simple { key: "verdi__shell__auto_import", py_key: Py( 0x00007f2fafd14cb0, ), path: LookupPath( [ S( "verdi__shell__auto_import", Py( 0x00007f2fafd14d00, ), ), ], ), }, name_py: Py( 0x00007f2fafd14d50, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd811e418, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiida_loglevel", lookup_key: Simple { key: "logging__aiida_loglevel", py_key: Py( 0x00007f2fafd14da0, ), path: LookupPath( [ S( "logging__aiida_loglevel", Py( 0x00007f2fafd14df0, ), ), ], ), }, name_py: Py( 0x00007f2fafd14e40, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__verdi_loglevel", lookup_key: Simple { key: "logging__verdi_loglevel", py_key: Py( 0x00007f2fafd14e90, ), path: LookupPath( [ S( "logging__verdi_loglevel", Py( 0x00007f2fafd14ee0, ), ), ], ), }, name_py: Py( 0x00007f2fafd14f30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__db_loglevel", lookup_key: Simple { key: "logging__db_loglevel", py_key: Py( 0x00007f2fafd14f80, ), path: LookupPath( [ S( "logging__db_loglevel", Py( 0x00007f2fafd14fd0, ), ), ], ), }, name_py: Py( 0x00007f2fafd15020, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__plumpy_loglevel", lookup_key: Simple { key: "logging__plumpy_loglevel", py_key: Py( 0x00007f2fafd15070, ), path: LookupPath( [ S( "logging__plumpy_loglevel", Py( 0x00007f2fafd150c0, ), ), ], ), }, name_py: Py( 0x00007f2fafd15110, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__kiwipy_loglevel", lookup_key: Simple { key: "logging__kiwipy_loglevel", py_key: Py( 0x00007f2fafd15160, ), path: LookupPath( [ S( "logging__kiwipy_loglevel", Py( 0x00007f2fafd151b0, ), ), ], ), }, name_py: Py( 0x00007f2fafd15200, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__paramiko_loglevel", lookup_key: Simple { key: "logging__paramiko_loglevel", py_key: Py( 0x00007f2fafd15250, ), path: LookupPath( [ S( "logging__paramiko_loglevel", Py( 0x00007f2fafd152a0, ), ), ], ), }, name_py: Py( 0x00007f2fafd152f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__alembic_loglevel", lookup_key: Simple { key: "logging__alembic_loglevel", py_key: Py( 0x00007f2fafd15340, ), path: LookupPath( [ S( "logging__alembic_loglevel", Py( 0x00007f2fafd15390, ), ), ], ), }, name_py: Py( 0x00007f2fafd153e0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__sqlalchemy_loglevel", lookup_key: Simple { key: "logging__sqlalchemy_loglevel", py_key: Py( 0x00007f2fafd15430, ), path: LookupPath( [ S( "logging__sqlalchemy_loglevel", Py( 0x00007f2fafd15480, ), ), ], ), }, name_py: Py( 0x00007f2fafd154d0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__circus_loglevel", lookup_key: Simple { key: "logging__circus_loglevel", py_key: Py( 0x00007f2fafd15520, ), path: LookupPath( [ S( "logging__circus_loglevel", Py( 0x00007f2fafd15570, ), ), ], ), }, name_py: Py( 0x00007f2fafd155c0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd76a21b0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiopika_loglevel", lookup_key: Simple { key: "logging__aiopika_loglevel", py_key: Py( 0x00007f2fafd15610, ), path: LookupPath( [ S( "logging__aiopika_loglevel", Py( 0x00007f2fafd15660, ), ), ], ), }, name_py: Py( 0x00007f2fafd156b0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__showdeprecations", lookup_key: Simple { key: "warnings__showdeprecations", py_key: Py( 0x00007f2fafd15700, ), path: LookupPath( [ S( "warnings__showdeprecations", Py( 0x00007f2fafd15750, ), ), ], ), }, name_py: Py( 0x00007f2fafd157a0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__rabbitmq_version", lookup_key: Simple { key: "warnings__rabbitmq_version", py_key: Py( 0x00007f2fafd157f0, ), path: LookupPath( [ S( "warnings__rabbitmq_version", Py( 0x00007f2fafd15840, ), ), ], ), }, name_py: Py( 0x00007f2fafd15890, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_retry_initial_interval", lookup_key: Simple { key: "transport__task_retry_initial_interval", py_key: Py( 0x00007f2fb85563d0, ), path: LookupPath( [ S( "transport__task_retry_initial_interval", Py( 0x00007f2fafd07330, ), ), ], ), }, name_py: Py( 0x00007f2fafd07390, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113b28, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_maximum_attempts", lookup_key: Simple { key: "transport__task_maximum_attempts", py_key: Py( 0x00007f2fafd073f0, ), path: LookupPath( [ S( "transport__task_maximum_attempts", Py( 0x00007f2fafd07450, ), ), ], ), }, name_py: Py( 0x00007f2fafd074b0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113948, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "rmq__task_timeout", lookup_key: Simple { key: "rmq__task_timeout", py_key: Py( 0x00007f2fafd158e0, ), path: LookupPath( [ S( "rmq__task_timeout", Py( 0x00007f2fafd15930, ), ), ], ), }, name_py: Py( 0x00007f2fafd15980, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81139e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "storage__sandbox", lookup_key: Simple { key: "storage__sandbox", py_key: Py( 0x00007f2fafd15a20, ), path: LookupPath( [ S( "storage__sandbox", Py( 0x00007f2fafd15a70, ), ), ], ), }, name_py: Py( 0x00007f2fafd15ac0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__default_enabled", lookup_key: Simple { key: "caching__default_enabled", py_key: Py( 0x00007f2fafd15b10, ), path: LookupPath( [ S( "caching__default_enabled", Py( 0x00007f2fafd15b60, ), ), ], ), }, name_py: Py( 0x00007f2fafd15bb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__enabled_for", lookup_key: Simple { key: "caching__enabled_for", py_key: Py( 0x00007f2fafd15c50, ), path: LookupPath( [ S( "caching__enabled_for", Py( 0x00007f2fafd15ca0, ), ), ], ), }, name_py: Py( 0x00007f2fafd15cf0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fc9dac500, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc838ea00, ), config: Py( 0x00007f2fc9927140, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__disabled_for", lookup_key: Simple { key: "caching__disabled_for", py_key: Py( 0x00007f2fafd15d90, ), path: LookupPath( [ S( "caching__disabled_for", Py( 0x00007f2fafd15de0, ), ), ], ), }, name_py: Py( 0x00007f2fafd15e30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fb82b0980, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc838ea00, ), config: Py( 0x00007f2fc9927140, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "autofill__user__email", lookup_key: Simple { key: "autofill__user__email", py_key: Py( 0x00007f2fafd15ed0, ), path: LookupPath( [ S( "autofill__user__email", Py( 0x00007f2fafd15f20, ), ), ], ), }, name_py: Py( 0x00007f2fafd15f70, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "autofill__user__first_name", lookup_key: Simple { key: "autofill__user__first_name", py_key: Py( 0x00007f2fafd16010, ), path: LookupPath( [ S( "autofill__user__first_name", Py( 0x00007f2fafd16060, ), ), ], ), }, name_py: Py( 0x00007f2fafd160b0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "autofill__user__last_name", lookup_key: Simple { key: "autofill__user__last_name", py_key: Py( 0x00007f2fafd16150, ), path: LookupPath( [ S( "autofill__user__last_name", Py( 0x00007f2fafd161a0, ), ), ], ), }, name_py: Py( 0x00007f2fafd161f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "autofill__user__institution", lookup_key: Simple { key: "autofill__user__institution", py_key: Py( 0x00007f2fafd16290, ), path: LookupPath( [ S( "autofill__user__institution", Py( 0x00007f2fafd162e0, ), ), ], ), }, name_py: Py( 0x00007f2fafd16330, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "rest_api__profile_switching", lookup_key: Simple { key: "rest_api__profile_switching", py_key: Py( 0x00007f2fafd16380, ), path: LookupPath( [ S( "rest_api__profile_switching", Py( 0x00007f2fafd163d0, ), ), ], ), }, name_py: Py( 0x00007f2fafd16420, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__development_version", lookup_key: Simple { key: "warnings__development_version", py_key: Py( 0x00007f2fafd16470, ), path: LookupPath( [ S( "warnings__development_version", Py( 0x00007f2fafd164c0, ), ), ], ), }, name_py: Py( 0x00007f2fafd16510, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "GlobalOptionsSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e15a5810, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "GlobalOptionsSchema", }, ), name: "nullable[GlobalOptionsSchema]", }, ), validate_default: false, copy_default: false, name: "default[nullable[GlobalOptionsSchema]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "default_profile", lookup_key: Simple { key: "default_profile", py_key: Py( 0x00007f2fb9b6f730, ), path: LookupPath( [ S( "default_profile", Py( 0x00007f2fc8380ef0, ), ), ], ), }, name_py: Py( 0x00007f2fc8380e30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ConfigSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e167ee60, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ConfigSchema", }, ), definitions=[LaxOrStrict(LaxOrStrictValidator { strict: false, lax_validator: FunctionPlain(FunctionPlainValidator { func: Py(0x7f2fc9954ea0), config: Py(0x7f2fc835b9c0), name: "function-plain[to_enum()]", field_name: None, info_arg: false }), strict_validator: JsonOrPython(JsonOrPython { json: FunctionPlain(FunctionPlainValidator { func: Py(0x7f2fc9954ea0), config: Py(0x7f2fc835b9c0), name: "function-plain[to_enum()]", field_name: None, info_arg: false }), python: Chain(ChainValidator { steps: [IsInstance(IsInstanceValidator { class: Py(0x5558df002c60), class_repr: "LogLevels", name: "is-instance[LogLevels]" }), FunctionPlain(FunctionPlainValidator { func: Py(0x7f2fc9ce1ee0), config: Py(0x7f2fc835b9c0), name: "function-plain[<lambda>()]", field_name: None, info_arg: false })], name: "chain[is-instance[LogLevels],function-plain[<lambda>()]]" }), name: "json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]" }), name: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]" })])#
- __signature__: ClassVar[Signature] = <Signature (*, CONFIG_VERSION: Optional[aiida.manage.configuration.config.ConfigVersionSchema] = None, profiles: Optional[dict[str, aiida.manage.configuration.config.ProfileSchema]] = None, options: Optional[aiida.manage.configuration.config.GlobalOptionsSchema] = None, default_profile: Optional[str] = None) -> None>#
- __weakref__#
list of weak references to the object (if defined)
- _abc_impl = <_abc._abc_data object>#
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'defer_build': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'CONFIG_VERSION': FieldInfo(annotation=Union[ConfigVersionSchema, NoneType], required=False), 'default_profile': FieldInfo(annotation=Union[str, NoneType], required=False), 'options': FieldInfo(annotation=Union[GlobalOptionsSchema, NoneType], required=False), 'profiles': FieldInfo(annotation=Union[dict[str, ProfileSchema], NoneType], required=False)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- options: GlobalOptionsSchema | None#
- profiles: dict[str, ProfileSchema] | None#
- class aiida.manage.configuration.config.ConfigVersionSchema(**data: Any)[源代码]#
基类:
BaseModel
Schema for the version configuration of an AiiDA instance.
- __abstractmethods__ = frozenset({})#
- __annotations__ = {'CURRENT': 'int', 'OLDEST_COMPATIBLE': 'int', '__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator]', '__signature__': 'ClassVar[Signature]', 'model_computed_fields': 'ClassVar[dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[dict[str, FieldInfo]]'}#
- __dict__#
- __module__ = 'aiida.manage.configuration.config'#
- __pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#
- __pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}#
- __pydantic_parent_namespace__: ClassVar[dict[str, Any] | None] = {'AIIDA_LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Any': <pydantic._internal._model_construction._PydanticWeakRef object>, 'BaseModel': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigDict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigurationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Dict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'EntryPointError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Field': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'List': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LogLevels': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Optional': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Profile': <pydantic._internal._model_construction._PydanticWeakRef object>, 'StorageMigrationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'TYPE_CHECKING': False, 'Tuple': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Type': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ValidationError': <pydantic._internal._model_construction._PydanticWeakRef object>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EncodingWarning': <class 'EncodingWarning'>, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'ExceptionGroup': <class 'ExceptionGroup'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), 'abs': <built-in function abs>, 'aiter': <built-in function aiter>, 'all': <built-in function all>, 'anext': <built-in function anext>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <class 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <class 'enumerate'>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': <class 'filter'>, 'float': <class 'float'>, 'format': <built-in function format>, 'frozenset': <class 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <class 'int'>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <class 'list'>, 'locals': <built-in function locals>, 'map': <class 'map'>, 'max': <built-in function max>, 'memoryview': <class 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <class 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <class 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <class 'range'>, 'repr': <built-in function repr>, 'reversed': <class 'reversed'>, 'round': <built-in function round>, 'set': <class 'set'>, 'setattr': <built-in function setattr>, 'slice': <class 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'sum': <built-in function sum>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'vars': <built-in function vars>, 'zip': <class 'zip'>}, '__cached__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/__pycache__/config.cpython-311.pyc', '__doc__': 'Module that defines the configuration file of an AiiDA instance and functions to create and load it.\n\nDespite the import of the annotations backport below which enables postponed type annotation evaluation as implemented\nwith PEP 563 (https://peps.python.org/pep-0563/), this is not compatible with ``pydantic`` for Python 3.9 and older (\nSee https://github.com/pydantic/pydantic/issues/2678 for details).\n', '__file__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/config.py', '__loader__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__name__': 'aiida.manage.configuration.config', '__package__': 'aiida.manage.configuration', '__spec__': <pydantic._internal._model_construction._PydanticWeakRef object>, 'annotations': <pydantic._internal._model_construction._PydanticWeakRef object>, 'codecs': <pydantic._internal._model_construction._PydanticWeakRef object>, 'contextlib': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_serializer': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_validator': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option_names': <pydantic._internal._model_construction._PydanticWeakRef object>, 'io': <pydantic._internal._model_construction._PydanticWeakRef object>, 'json': <pydantic._internal._model_construction._PydanticWeakRef object>, 'os': <pydantic._internal._model_construction._PydanticWeakRef object>, 'parse_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'subject': <pydantic._internal._mock_val_ser.MockValSer object>, 'uuid': <pydantic._internal._model_construction._PydanticWeakRef object>}#
- __pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model( ModelSerializer { class: Py( 0x00005558e18df730, ), serializer: Fields( GeneralFieldsSerializer { fields: { "OLDEST_COMPATIBLE": SerField { key_py: Py( 0x00007f2fd57825b0, ), alias: None, alias_py: None, serializer: Some( Int( IntSerializer, ), ), required: true, }, "CURRENT": SerField { key_py: Py( 0x00007f2fd5784b30, ), alias: None, alias_py: None, serializer: Some( Int( IntSerializer, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 2, }, ), has_extra: false, root_model: false, name: "ConfigVersionSchema", }, ), definitions=[])#
- __pydantic_validator__: ClassVar[SchemaValidator] = SchemaValidator(title="ConfigVersionSchema", validator=Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "CURRENT", lookup_key: Simple { key: "CURRENT", py_key: Py( 0x00007f2fadfd9a70, ), path: LookupPath( [ S( "CURRENT", Py( 0x00007f2faccd9e70, ), ), ], ), }, name_py: Py( 0x00007f2facde5070, ), validator: Int( IntValidator { strict: false, }, ), frozen: false, }, Field { name: "OLDEST_COMPATIBLE", lookup_key: Simple { key: "OLDEST_COMPATIBLE", py_key: Py( 0x00007f2facce5f70, ), path: LookupPath( [ S( "OLDEST_COMPATIBLE", Py( 0x00007f2facce5fc0, ), ), ], ), }, name_py: Py( 0x00007f2facce6010, ), validator: Int( IntValidator { strict: false, }, ), frozen: false, }, ], model_name: "ConfigVersionSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e18df730, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ConfigVersionSchema", }, ), definitions=[])#
- __weakref__#
list of weak references to the object (if defined)
- _abc_impl = <_abc._abc_data object>#
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'defer_build': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'CURRENT': FieldInfo(annotation=int, required=True), 'OLDEST_COMPATIBLE': FieldInfo(annotation=int, required=True)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class aiida.manage.configuration.config.GlobalOptionsSchema(*, runner__poll__interval: int = 60, daemon__default_workers: int = 1, daemon__timeout: int = 2, daemon__worker_process_slots: int = 200, daemon__recursion_limit: int = 3000, db__batch_size: int = 100000, verdi__shell__auto_import: str = ':', logging__aiida_loglevel: LogLevels = 'REPORT', logging__verdi_loglevel: LogLevels = 'REPORT', logging__db_loglevel: LogLevels = 'REPORT', logging__plumpy_loglevel: LogLevels = 'WARNING', logging__kiwipy_loglevel: LogLevels = 'WARNING', logging__paramiko_loglevel: LogLevels = 'WARNING', logging__alembic_loglevel: LogLevels = 'WARNING', logging__sqlalchemy_loglevel: LogLevels = 'WARNING', logging__circus_loglevel: LogLevels = 'INFO', logging__aiopika_loglevel: LogLevels = 'WARNING', warnings__showdeprecations: bool = True, warnings__rabbitmq_version: bool = True, transport__task_retry_initial_interval: int = 20, transport__task_maximum_attempts: int = 5, rmq__task_timeout: int = 10, storage__sandbox: str | None = None, caching__default_enabled: bool = False, caching__enabled_for: List[str] = [], caching__disabled_for: List[str] = [], autofill__user__email: str | None = None, autofill__user__first_name: str | None = None, autofill__user__last_name: str | None = None, autofill__user__institution: str | None = None, rest_api__profile_switching: bool = False, warnings__development_version: bool = True)[源代码]#
-
Schema for the global options of an AiiDA instance.
- __abstractmethods__ = frozenset({})#
- __annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator]', '__signature__': 'ClassVar[Signature]', 'autofill__user__email': 'Optional[str]', 'autofill__user__first_name': 'Optional[str]', 'autofill__user__institution': 'Optional[str]', 'autofill__user__last_name': 'Optional[str]', 'caching__default_enabled': 'bool', 'caching__disabled_for': 'List[str]', 'caching__enabled_for': 'List[str]', 'daemon__default_workers': 'int', 'daemon__recursion_limit': 'int', 'daemon__timeout': 'int', 'daemon__worker_process_slots': 'int', 'db__batch_size': 'int', 'logging__aiida_loglevel': 'LogLevels', 'logging__aiopika_loglevel': 'LogLevels', 'logging__alembic_loglevel': 'LogLevels', 'logging__circus_loglevel': 'LogLevels', 'logging__db_loglevel': 'LogLevels', 'logging__kiwipy_loglevel': 'LogLevels', 'logging__paramiko_loglevel': 'LogLevels', 'logging__plumpy_loglevel': 'LogLevels', 'logging__sqlalchemy_loglevel': 'LogLevels', 'logging__verdi_loglevel': 'LogLevels', 'model_computed_fields': 'ClassVar[dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[dict[str, FieldInfo]]', 'rest_api__profile_switching': 'bool', 'rmq__task_timeout': 'int', 'runner__poll__interval': 'int', 'storage__sandbox': 'Optional[str]', 'transport__task_maximum_attempts': 'int', 'transport__task_retry_initial_interval': 'int', 'verdi__shell__auto_import': 'str', 'warnings__development_version': 'bool', 'warnings__rabbitmq_version': 'bool', 'warnings__showdeprecations': 'bool'}#
- __dict__#
- __module__ = 'aiida.manage.configuration.config'#
- __pydantic_core_schema__: ClassVar[CoreSchema] = {'definitions': [{'lax_schema': {'function': {'function': <function get_enum_core_schema.<locals>.to_enum>, 'type': 'no-info'}, 'type': 'function-plain'}, 'metadata': {'pydantic_js_functions': [<function get_enum_core_schema.<locals>.get_json_schema>]}, 'ref': 'aiida.common.log.LogLevels:93840186813536', 'strict_schema': {'json_schema': {'function': {'function': <function get_enum_core_schema.<locals>.to_enum>, 'type': 'no-info'}, 'type': 'function-plain'}, 'python_schema': {'steps': [{'cls': <enum 'LogLevels'>, 'type': 'is-instance'}, {'function': {'function': <function get_enum_core_schema.<locals>.<lambda>>, 'type': 'no-info'}, 'type': 'function-plain'}], 'type': 'chain'}, 'type': 'json-or-python'}, 'type': 'lax-or-strict'}], 'metadata': {}, 'schema': {'cls': <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>, 'config': {'title': 'GlobalOptionsSchema'}, 'custom_init': False, 'metadata': {'pydantic_js_annotation_functions': [], 'pydantic_js_functions': [functools.partial(<function modify_model_json_schema>, cls=<class 'aiida.manage.configuration.config.GlobalOptionsSchema'>), <bound method BaseModel.__get_pydantic_json_schema__ of <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>>]}, 'ref': 'aiida.manage.configuration.config.GlobalOptionsSchema:93840226277392', 'root_model': False, 'schema': {'computed_fields': [], 'fields': {'autofill__user__email': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'metadata': {}, 'schema': {'metadata': {}, 'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'autofill__user__first_name': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'metadata': {}, 'schema': {'metadata': {}, 'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'autofill__user__institution': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'metadata': {}, 'schema': {'metadata': {}, 'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'autofill__user__last_name': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'metadata': {}, 'schema': {'metadata': {}, 'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'caching__default_enabled': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': False, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'caching__disabled_for': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': [], 'metadata': {}, 'schema': {'function': {'function': <bound method ProfileOptionsSchema.validate_caching_identifier_pattern of <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>>, 'type': 'no-info'}, 'metadata': {}, 'schema': {'items_schema': {'metadata': {}, 'type': 'str'}, 'metadata': {}, 'strict': False, 'type': 'list'}, 'type': 'function-after'}, 'type': 'default'}, 'type': 'model-field'}, 'caching__enabled_for': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': [], 'metadata': {}, 'schema': {'function': {'function': <bound method ProfileOptionsSchema.validate_caching_identifier_pattern of <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>>, 'type': 'no-info'}, 'metadata': {}, 'schema': {'items_schema': {'metadata': {}, 'type': 'str'}, 'metadata': {}, 'strict': False, 'type': 'list'}, 'type': 'function-after'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__default_workers': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 1, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__recursion_limit': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 3000, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__timeout': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 2, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'daemon__worker_process_slots': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 200, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'db__batch_size': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 100000, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__aiida_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__aiopika_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__alembic_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__circus_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'INFO', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__db_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__kiwipy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__paramiko_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__plumpy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__sqlalchemy_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'WARNING', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'logging__verdi_loglevel': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 'REPORT', 'metadata': {}, 'schema': {'metadata': {}, 'schema_ref': 'aiida.common.log.LogLevels:93840186813536', 'type': 'definition-ref'}, 'type': 'default'}, 'type': 'model-field'}, 'rest_api__profile_switching': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': False, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'rmq__task_timeout': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 10, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'runner__poll__interval': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 60, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'storage__sandbox': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': None, 'metadata': {}, 'schema': {'metadata': {}, 'schema': {'metadata': {}, 'type': 'str'}, 'type': 'nullable'}, 'type': 'default'}, 'type': 'model-field'}, 'transport__task_maximum_attempts': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 5, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'transport__task_retry_initial_interval': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': 20, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'int'}, 'type': 'default'}, 'type': 'model-field'}, 'verdi__shell__auto_import': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': ':', 'metadata': {}, 'schema': {'metadata': {}, 'type': 'str'}, 'type': 'default'}, 'type': 'model-field'}, 'warnings__development_version': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': True, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'warnings__rabbitmq_version': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': True, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}, 'warnings__showdeprecations': {'metadata': {'pydantic_js_annotation_functions': [<function get_json_schema_update_func.<locals>.json_schema_update_func>], 'pydantic_js_functions': []}, 'schema': {'default': True, 'metadata': {}, 'schema': {'metadata': {}, 'type': 'bool'}, 'type': 'default'}, 'type': 'model-field'}}, 'metadata': {}, 'model_name': 'GlobalOptionsSchema', 'type': 'model-fields'}, 'type': 'model'}, 'type': 'definitions'}#
- __pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={'validate_caching_identifier_pattern': Decorator(cls_ref='aiida.manage.configuration.config.GlobalOptionsSchema:93840226277392', cls_var_name='validate_caching_identifier_pattern', func=<bound method ProfileOptionsSchema.validate_caching_identifier_pattern of <class 'aiida.manage.configuration.config.GlobalOptionsSchema'>>, shim=None, info=FieldValidatorDecoratorInfo(fields=('caching__enabled_for', 'caching__disabled_for'), mode='after', check_fields=None))}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#
- __pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}#
- __pydantic_parent_namespace__: ClassVar[dict[str, Any] | None] = {'AIIDA_LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Any': <pydantic._internal._model_construction._PydanticWeakRef object>, 'BaseModel': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigDict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigVersionSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigurationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Dict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'EntryPointError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Field': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'List': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LogLevels': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Optional': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Profile': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'StorageMigrationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'TYPE_CHECKING': False, 'Tuple': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Type': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ValidationError': <pydantic._internal._model_construction._PydanticWeakRef object>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EncodingWarning': <class 'EncodingWarning'>, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'ExceptionGroup': <class 'ExceptionGroup'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), 'abs': <built-in function abs>, 'aiter': <built-in function aiter>, 'all': <built-in function all>, 'anext': <built-in function anext>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <class 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <class 'enumerate'>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': <class 'filter'>, 'float': <class 'float'>, 'format': <built-in function format>, 'frozenset': <class 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <class 'int'>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <class 'list'>, 'locals': <built-in function locals>, 'map': <class 'map'>, 'max': <built-in function max>, 'memoryview': <class 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <class 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <class 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <class 'range'>, 'repr': <built-in function repr>, 'reversed': <class 'reversed'>, 'round': <built-in function round>, 'set': <class 'set'>, 'setattr': <built-in function setattr>, 'slice': <class 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'sum': <built-in function sum>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'vars': <built-in function vars>, 'zip': <class 'zip'>}, '__cached__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/__pycache__/config.cpython-311.pyc', '__doc__': 'Module that defines the configuration file of an AiiDA instance and functions to create and load it.\n\nDespite the import of the annotations backport below which enables postponed type annotation evaluation as implemented\nwith PEP 563 (https://peps.python.org/pep-0563/), this is not compatible with ``pydantic`` for Python 3.9 and older (\nSee https://github.com/pydantic/pydantic/issues/2678 for details).\n', '__file__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/config.py', '__loader__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__name__': 'aiida.manage.configuration.config', '__package__': 'aiida.manage.configuration', '__spec__': <pydantic._internal._model_construction._PydanticWeakRef object>, 'annotations': <pydantic._internal._model_construction._PydanticWeakRef object>, 'by_alias': True, 'cls': <pydantic._internal._model_construction._PydanticWeakRef object>, 'codecs': <pydantic._internal._model_construction._PydanticWeakRef object>, 'contextlib': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_serializer': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_validator': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option_names': <pydantic._internal._model_construction._PydanticWeakRef object>, 'io': <pydantic._internal._model_construction._PydanticWeakRef object>, 'json': <pydantic._internal._model_construction._PydanticWeakRef object>, 'mode': 'validation', 'os': <pydantic._internal._model_construction._PydanticWeakRef object>, 'parse_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ref_template': '#/$defs/{model}', 'schema_generator': <pydantic._internal._model_construction._PydanticWeakRef object>, 'uuid': <pydantic._internal._model_construction._PydanticWeakRef object>}#
- __pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model( ModelSerializer { class: Py( 0x00005558e15a5810, ), serializer: Fields( GeneralFieldsSerializer { fields: { "logging__aiida_loglevel": SerField { key_py: Py( 0x00007f2fafd88d50, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "daemon__timeout": SerField { key_py: Py( 0x00007f2fc9ac62b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "transport__task_retry_initial_interval": SerField { key_py: Py( 0x00007f2faffb8870, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113b28, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "runner__poll__interval": SerField { key_py: Py( 0x00007f2fafd88b70, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8114028, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "storage__sandbox": SerField { key_py: Py( 0x00007f2fafd892a0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "logging__paramiko_loglevel": SerField { key_py: Py( 0x00007f2fafd88f30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "autofill__user__last_name": SerField { key_py: Py( 0x00007f2fafd894d0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "logging__sqlalchemy_loglevel": SerField { key_py: Py( 0x00007f2fafd88fd0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "transport__task_maximum_attempts": SerField { key_py: Py( 0x00007f2faffb8c90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113948, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "rmq__task_timeout": SerField { key_py: Py( 0x00007f2fafd891b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81139e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "caching__enabled_for": SerField { key_py: Py( 0x00007f2fafd89340, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fc9dac500, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "warnings__rabbitmq_version": SerField { key_py: Py( 0x00007f2fafd89160, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "logging__verdi_loglevel": SerField { key_py: Py( 0x00007f2fafd88da0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "autofill__user__institution": SerField { key_py: Py( 0x00007f2fafd89520, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "caching__disabled_for": SerField { key_py: Py( 0x00007f2fafd89390, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fb82b0980, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "autofill__user__email": SerField { key_py: Py( 0x00007f2fafd89430, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "daemon__default_workers": SerField { key_py: Py( 0x00007f2fafd88c10, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138c8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__kiwipy_loglevel": SerField { key_py: Py( 0x00007f2fafd88ee0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "db__batch_size": SerField { key_py: Py( 0x00007f2fc9ac6ff0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37dd0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "caching__default_enabled": SerField { key_py: Py( 0x00007f2fafd892f0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "warnings__development_version": SerField { key_py: Py( 0x00007f2fafd895c0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "daemon__recursion_limit": SerField { key_py: Py( 0x00007f2fafd88cb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37db0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "daemon__worker_process_slots": SerField { key_py: Py( 0x00007f2fafd88c60, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81151a8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__aiopika_loglevel": SerField { key_py: Py( 0x00007f2fafd890c0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__alembic_loglevel": SerField { key_py: Py( 0x00007f2fafd88f80, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "rest_api__profile_switching": SerField { key_py: Py( 0x00007f2fafd89570, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "logging__db_loglevel": SerField { key_py: Py( 0x00007f2fafd88e40, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "verdi__shell__auto_import": SerField { key_py: Py( 0x00007f2fafd88d00, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd811e418, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "logging__circus_loglevel": SerField { key_py: Py( 0x00007f2fafd89070, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd76a21b0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "warnings__showdeprecations": SerField { key_py: Py( 0x00007f2fafd89110, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "autofill__user__first_name": SerField { key_py: Py( 0x00007f2fafd89480, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "logging__plumpy_loglevel": SerField { key_py: Py( 0x00007f2fafd88e90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 32, }, ), has_extra: false, root_model: false, name: "GlobalOptionsSchema", }, ), definitions=[JsonOrPython(JsonOrPythonSerializer { json: Any(AnySerializer), python: Any(AnySerializer), name: "json-or-python[json=any, python=any]" })])#
- __pydantic_validator__: ClassVar[SchemaValidator] = SchemaValidator(title="GlobalOptionsSchema", validator=Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "runner__poll__interval", lookup_key: Simple { key: "runner__poll__interval", py_key: Py( 0x00007f2fafd15e80, ), path: LookupPath( [ S( "runner__poll__interval", Py( 0x00007f2fafd16100, ), ), ], ), }, name_py: Py( 0x00007f2fafd15fc0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8114028, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__default_workers", lookup_key: Simple { key: "daemon__default_workers", py_key: Py( 0x00007f2fafd15c00, ), path: LookupPath( [ S( "daemon__default_workers", Py( 0x00007f2fafd159d0, ), ), ], ), }, name_py: Py( 0x00007f2fafd14c60, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138c8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__timeout", lookup_key: Simple { key: "daemon__timeout", py_key: Py( 0x00007f2faff3b830, ), path: LookupPath( [ S( "daemon__timeout", Py( 0x00007f2fb9a4c2b0, ), ), ], ), }, name_py: Py( 0x00007f2fb9a4c230, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__worker_process_slots", lookup_key: Simple { key: "daemon__worker_process_slots", py_key: Py( 0x00007f2fafd14760, ), path: LookupPath( [ S( "daemon__worker_process_slots", Py( 0x00007f2fafd14620, ), ), ], ), }, name_py: Py( 0x00007f2fafd143f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81151a8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__recursion_limit", lookup_key: Simple { key: "daemon__recursion_limit", py_key: Py( 0x00007f2fafd165b0, ), path: LookupPath( [ S( "daemon__recursion_limit", Py( 0x00007f2fafd16600, ), ), ], ), }, name_py: Py( 0x00007f2fafd16650, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37db0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "db__batch_size", lookup_key: Simple { key: "db__batch_size", py_key: Py( 0x00007f2fb9a4e470, ), path: LookupPath( [ S( "db__batch_size", Py( 0x00007f2fb9b78d70, ), ), ], ), }, name_py: Py( 0x00007f2fb9b7a130, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37dd0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "verdi__shell__auto_import", lookup_key: Simple { key: "verdi__shell__auto_import", py_key: Py( 0x00007f2fafd166f0, ), path: LookupPath( [ S( "verdi__shell__auto_import", Py( 0x00007f2fafd16740, ), ), ], ), }, name_py: Py( 0x00007f2fafd16790, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd811e418, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiida_loglevel", lookup_key: Simple { key: "logging__aiida_loglevel", py_key: Py( 0x00007f2fafd167e0, ), path: LookupPath( [ S( "logging__aiida_loglevel", Py( 0x00007f2fafd16830, ), ), ], ), }, name_py: Py( 0x00007f2fafd16880, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__verdi_loglevel", lookup_key: Simple { key: "logging__verdi_loglevel", py_key: Py( 0x00007f2fafd168d0, ), path: LookupPath( [ S( "logging__verdi_loglevel", Py( 0x00007f2fafd16920, ), ), ], ), }, name_py: Py( 0x00007f2fafd16970, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__db_loglevel", lookup_key: Simple { key: "logging__db_loglevel", py_key: Py( 0x00007f2fafd169c0, ), path: LookupPath( [ S( "logging__db_loglevel", Py( 0x00007f2fafd16a10, ), ), ], ), }, name_py: Py( 0x00007f2fafd16a60, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__plumpy_loglevel", lookup_key: Simple { key: "logging__plumpy_loglevel", py_key: Py( 0x00007f2fafd16ab0, ), path: LookupPath( [ S( "logging__plumpy_loglevel", Py( 0x00007f2fafd16b00, ), ), ], ), }, name_py: Py( 0x00007f2fafd16b50, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__kiwipy_loglevel", lookup_key: Simple { key: "logging__kiwipy_loglevel", py_key: Py( 0x00007f2fafd16ba0, ), path: LookupPath( [ S( "logging__kiwipy_loglevel", Py( 0x00007f2fafd16bf0, ), ), ], ), }, name_py: Py( 0x00007f2fafd16c40, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__paramiko_loglevel", lookup_key: Simple { key: "logging__paramiko_loglevel", py_key: Py( 0x00007f2fafd16c90, ), path: LookupPath( [ S( "logging__paramiko_loglevel", Py( 0x00007f2fafd16ce0, ), ), ], ), }, name_py: Py( 0x00007f2fafd16d30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__alembic_loglevel", lookup_key: Simple { key: "logging__alembic_loglevel", py_key: Py( 0x00007f2fafd16d80, ), path: LookupPath( [ S( "logging__alembic_loglevel", Py( 0x00007f2fafd16dd0, ), ), ], ), }, name_py: Py( 0x00007f2fafd16e20, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__sqlalchemy_loglevel", lookup_key: Simple { key: "logging__sqlalchemy_loglevel", py_key: Py( 0x00007f2fafd16e70, ), path: LookupPath( [ S( "logging__sqlalchemy_loglevel", Py( 0x00007f2fafd16ec0, ), ), ], ), }, name_py: Py( 0x00007f2fafd16f10, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__circus_loglevel", lookup_key: Simple { key: "logging__circus_loglevel", py_key: Py( 0x00007f2fafd16f60, ), path: LookupPath( [ S( "logging__circus_loglevel", Py( 0x00007f2fafd16fb0, ), ), ], ), }, name_py: Py( 0x00007f2fafd17000, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd76a21b0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiopika_loglevel", lookup_key: Simple { key: "logging__aiopika_loglevel", py_key: Py( 0x00007f2fafd17050, ), path: LookupPath( [ S( "logging__aiopika_loglevel", Py( 0x00007f2fafd170a0, ), ), ], ), }, name_py: Py( 0x00007f2fafd170f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__showdeprecations", lookup_key: Simple { key: "warnings__showdeprecations", py_key: Py( 0x00007f2fafd17140, ), path: LookupPath( [ S( "warnings__showdeprecations", Py( 0x00007f2fafd17190, ), ), ], ), }, name_py: Py( 0x00007f2fafd171e0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__rabbitmq_version", lookup_key: Simple { key: "warnings__rabbitmq_version", py_key: Py( 0x00007f2fafd17230, ), path: LookupPath( [ S( "warnings__rabbitmq_version", Py( 0x00007f2fafd17280, ), ), ], ), }, name_py: Py( 0x00007f2fafd172d0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_retry_initial_interval", lookup_key: Simple { key: "transport__task_retry_initial_interval", py_key: Py( 0x00007f2fafd07930, ), path: LookupPath( [ S( "transport__task_retry_initial_interval", Py( 0x00007f2fafd078d0, ), ), ], ), }, name_py: Py( 0x00007f2fafd07990, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113b28, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_maximum_attempts", lookup_key: Simple { key: "transport__task_maximum_attempts", py_key: Py( 0x00007f2fafd079f0, ), path: LookupPath( [ S( "transport__task_maximum_attempts", Py( 0x00007f2fafd07a50, ), ), ], ), }, name_py: Py( 0x00007f2fafd07ab0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113948, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "rmq__task_timeout", lookup_key: Simple { key: "rmq__task_timeout", py_key: Py( 0x00007f2fafd17320, ), path: LookupPath( [ S( "rmq__task_timeout", Py( 0x00007f2fafd17370, ), ), ], ), }, name_py: Py( 0x00007f2fafd173c0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81139e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "storage__sandbox", lookup_key: Simple { key: "storage__sandbox", py_key: Py( 0x00007f2fafd17460, ), path: LookupPath( [ S( "storage__sandbox", Py( 0x00007f2fafd174b0, ), ), ], ), }, name_py: Py( 0x00007f2fafd17500, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__default_enabled", lookup_key: Simple { key: "caching__default_enabled", py_key: Py( 0x00007f2fafd17550, ), path: LookupPath( [ S( "caching__default_enabled", Py( 0x00007f2fafd175a0, ), ), ], ), }, name_py: Py( 0x00007f2fafd175f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__enabled_for", lookup_key: Simple { key: "caching__enabled_for", py_key: Py( 0x00007f2fafd17690, ), path: LookupPath( [ S( "caching__enabled_for", Py( 0x00007f2fafd176e0, ), ), ], ), }, name_py: Py( 0x00007f2fafd17730, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fc9dac500, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc838ea00, ), config: Py( 0x00007f2fc9777d40, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__disabled_for", lookup_key: Simple { key: "caching__disabled_for", py_key: Py( 0x00007f2fafd177d0, ), path: LookupPath( [ S( "caching__disabled_for", Py( 0x00007f2fafd17820, ), ), ], ), }, name_py: Py( 0x00007f2fafd17870, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fb82b0980, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc838ea00, ), config: Py( 0x00007f2fc9777d40, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "autofill__user__email", lookup_key: Simple { key: "autofill__user__email", py_key: Py( 0x00007f2fafd17910, ), path: LookupPath( [ S( "autofill__user__email", Py( 0x00007f2fafd17960, ), ), ], ), }, name_py: Py( 0x00007f2fafd179b0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "autofill__user__first_name", lookup_key: Simple { key: "autofill__user__first_name", py_key: Py( 0x00007f2fafd17a50, ), path: LookupPath( [ S( "autofill__user__first_name", Py( 0x00007f2fafd17aa0, ), ), ], ), }, name_py: Py( 0x00007f2fafd17af0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "autofill__user__last_name", lookup_key: Simple { key: "autofill__user__last_name", py_key: Py( 0x00007f2fafd17b90, ), path: LookupPath( [ S( "autofill__user__last_name", Py( 0x00007f2fafd17be0, ), ), ], ), }, name_py: Py( 0x00007f2fafd17c30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "autofill__user__institution", lookup_key: Simple { key: "autofill__user__institution", py_key: Py( 0x00007f2fafd17cd0, ), path: LookupPath( [ S( "autofill__user__institution", Py( 0x00007f2fafd17d20, ), ), ], ), }, name_py: Py( 0x00007f2fafd17d70, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "rest_api__profile_switching", lookup_key: Simple { key: "rest_api__profile_switching", py_key: Py( 0x00007f2fafd17dc0, ), path: LookupPath( [ S( "rest_api__profile_switching", Py( 0x00007f2fafd17e10, ), ), ], ), }, name_py: Py( 0x00007f2fafd17e60, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__development_version", lookup_key: Simple { key: "warnings__development_version", py_key: Py( 0x00007f2fafd17eb0, ), path: LookupPath( [ S( "warnings__development_version", Py( 0x00007f2fafd17f00, ), ), ], ), }, name_py: Py( 0x00007f2fafd17f50, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "GlobalOptionsSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e15a5810, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "GlobalOptionsSchema", }, ), definitions=[LaxOrStrict(LaxOrStrictValidator { strict: false, lax_validator: FunctionPlain(FunctionPlainValidator { func: Py(0x7f2fb83d6a20), config: Py(0x7f2fc838e100), name: "function-plain[to_enum()]", field_name: None, info_arg: false }), strict_validator: JsonOrPython(JsonOrPython { json: FunctionPlain(FunctionPlainValidator { func: Py(0x7f2fb83d6a20), config: Py(0x7f2fc838e100), name: "function-plain[to_enum()]", field_name: None, info_arg: false }), python: Chain(ChainValidator { steps: [IsInstance(IsInstanceValidator { class: Py(0x5558df002c60), class_repr: "LogLevels", name: "is-instance[LogLevels]" }), FunctionPlain(FunctionPlainValidator { func: Py(0x7f2fb83d60c0), config: Py(0x7f2fc838e100), name: "function-plain[<lambda>()]", field_name: None, info_arg: false })], name: "chain[is-instance[LogLevels],function-plain[<lambda>()]]" }), name: "json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]" }), name: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]" })])#
- __signature__: ClassVar[Signature] = <Signature (*, runner__poll__interval: int = 60, daemon__default_workers: int = 1, daemon__timeout: int = 2, daemon__worker_process_slots: int = 200, daemon__recursion_limit: int = 3000, db__batch_size: int = 100000, verdi__shell__auto_import: str = ':', logging__aiida_loglevel: aiida.common.log.LogLevels = 'REPORT', logging__verdi_loglevel: aiida.common.log.LogLevels = 'REPORT', logging__db_loglevel: aiida.common.log.LogLevels = 'REPORT', logging__plumpy_loglevel: aiida.common.log.LogLevels = 'WARNING', logging__kiwipy_loglevel: aiida.common.log.LogLevels = 'WARNING', logging__paramiko_loglevel: aiida.common.log.LogLevels = 'WARNING', logging__alembic_loglevel: aiida.common.log.LogLevels = 'WARNING', logging__sqlalchemy_loglevel: aiida.common.log.LogLevels = 'WARNING', logging__circus_loglevel: aiida.common.log.LogLevels = 'INFO', logging__aiopika_loglevel: aiida.common.log.LogLevels = 'WARNING', warnings__showdeprecations: bool = True, warnings__rabbitmq_version: bool = True, transport__task_retry_initial_interval: int = 20, transport__task_maximum_attempts: int = 5, rmq__task_timeout: int = 10, storage__sandbox: Optional[str] = None, caching__default_enabled: bool = False, caching__enabled_for: List[str] = [], caching__disabled_for: List[str] = [], autofill__user__email: Optional[str] = None, autofill__user__first_name: Optional[str] = None, autofill__user__last_name: Optional[str] = None, autofill__user__institution: Optional[str] = None, rest_api__profile_switching: bool = False, warnings__development_version: bool = True) -> None>#
- _abc_impl = <_abc._abc_data object>#
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'use_enum_values': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'autofill__user__email': FieldInfo(annotation=Union[str, NoneType], required=False, description='Default user email to use when creating new profiles.'), 'autofill__user__first_name': FieldInfo(annotation=Union[str, NoneType], required=False, description='Default user first name to use when creating new profiles.'), 'autofill__user__institution': FieldInfo(annotation=Union[str, NoneType], required=False, description='Default user institution to use when creating new profiles.'), 'autofill__user__last_name': FieldInfo(annotation=Union[str, NoneType], required=False, description='Default user last name to use when creating new profiles.'), 'caching__default_enabled': FieldInfo(annotation=bool, required=False, default=False, description='Enable calculation caching by default.'), 'caching__disabled_for': FieldInfo(annotation=List[str], required=False, default=[], description='Calculation entry points to disable caching on.'), 'caching__enabled_for': FieldInfo(annotation=List[str], required=False, default=[], description='Calculation entry points to enable caching on.'), 'daemon__default_workers': FieldInfo(annotation=int, required=False, default=1, description='Default number of workers to be launched by `verdi daemon start`.'), 'daemon__recursion_limit': FieldInfo(annotation=int, required=False, default=3000, description='Maximum recursion depth for the daemon workers.'), 'daemon__timeout': FieldInfo(annotation=int, required=False, default=2, description='Used to set default timeout in the `DaemonClient` for calls to the daemon.'), 'daemon__worker_process_slots': FieldInfo(annotation=int, required=False, default=200, description='Maximum number of concurrent process tasks that each daemon worker can handle.'), 'db__batch_size': FieldInfo(annotation=int, required=False, default=100000, description='Batch size for bulk CREATE operations in the database. Avoids hitting MaxAllocSize of PostgreSQL (1GB) when creating large numbers of database records in one go.'), 'logging__aiida_loglevel': FieldInfo(annotation=LogLevels, required=False, default='REPORT', description='Minimum level to log to daemon log and the `DbLog` table for the `aiida` logger.'), 'logging__aiopika_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `aiopika` logger'), 'logging__alembic_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `alembic` logger'), 'logging__circus_loglevel': FieldInfo(annotation=LogLevels, required=False, default='INFO', description='Minimum level to log to daemon log and the `DbLog` table for the `circus` logger'), 'logging__db_loglevel': FieldInfo(annotation=LogLevels, required=False, default='REPORT', description='Minimum level to log to the DbLog table.'), 'logging__kiwipy_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `kiwipy` logger'), 'logging__paramiko_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `paramiko` logger'), 'logging__plumpy_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `plumpy` logger.'), 'logging__sqlalchemy_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `sqlalchemy` logger'), 'logging__verdi_loglevel': FieldInfo(annotation=LogLevels, required=False, default='REPORT', description='Minimum level to log to console when running a `verdi` command.'), 'rest_api__profile_switching': FieldInfo(annotation=bool, required=False, default=False, description='Toggle whether the profile can be specified in requests submitted to the REST API.'), 'rmq__task_timeout': FieldInfo(annotation=int, required=False, default=10, description='Timeout in seconds for communications with RabbitMQ.'), 'runner__poll__interval': FieldInfo(annotation=int, required=False, default=60, description='Polling interval in seconds to be used by process runners.'), 'storage__sandbox': FieldInfo(annotation=Union[str, NoneType], required=False, description='Absolute path to the directory to store sandbox folders.'), 'transport__task_maximum_attempts': FieldInfo(annotation=int, required=False, default=5, description='Maximum number of transport task attempts before a Process is Paused.'), 'transport__task_retry_initial_interval': FieldInfo(annotation=int, required=False, default=20, description='Initial time interval for the exponential backoff mechanism.'), 'verdi__shell__auto_import': FieldInfo(annotation=str, required=False, default=':', description='Additional modules/functions/classes to be automatically loaded in `verdi shell`, split by `:`.'), 'warnings__development_version': FieldInfo(annotation=bool, required=False, default=True, description='Whether to print a warning when a profile is loaded while a development version is installed.'), 'warnings__rabbitmq_version': FieldInfo(annotation=bool, required=False, default=True, description='Whether to print a warning when an incompatible version of RabbitMQ is configured.'), 'warnings__showdeprecations': FieldInfo(annotation=bool, required=False, default=True, description='Whether to print AiiDA deprecation warnings.')}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class aiida.manage.configuration.config.ProcessControlConfig(**data: Any)[源代码]#
基类:
BaseModel
Schema for the process control configuration of an AiiDA profile.
- __abstractmethods__ = frozenset({})#
- __annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator]', '__signature__': 'ClassVar[Signature]', 'broker_host': 'str', 'broker_parameters': 'dict[str, Any]', 'broker_password': 'str', 'broker_port': 'int', 'broker_protocol': 'str', 'broker_username': 'str', 'broker_virtual_host': 'str', 'model_computed_fields': 'ClassVar[dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[dict[str, FieldInfo]]'}#
- __dict__#
- __module__ = 'aiida.manage.configuration.config'#
- __pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#
- __pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}#
- __pydantic_parent_namespace__: ClassVar[dict[str, Any] | None] = {'AIIDA_LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Any': <pydantic._internal._model_construction._PydanticWeakRef object>, 'BaseModel': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigDict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigVersionSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigurationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Dict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'EntryPointError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Field': <pydantic._internal._model_construction._PydanticWeakRef object>, 'GlobalOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'List': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LogLevels': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Optional': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Profile': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileStorageConfig': <pydantic._internal._model_construction._PydanticWeakRef object>, 'StorageMigrationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'TYPE_CHECKING': False, 'Tuple': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Type': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ValidationError': <pydantic._internal._model_construction._PydanticWeakRef object>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EncodingWarning': <class 'EncodingWarning'>, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'ExceptionGroup': <class 'ExceptionGroup'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), 'abs': <built-in function abs>, 'aiter': <built-in function aiter>, 'all': <built-in function all>, 'anext': <built-in function anext>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <class 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <class 'enumerate'>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': <class 'filter'>, 'float': <class 'float'>, 'format': <built-in function format>, 'frozenset': <class 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <class 'int'>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <class 'list'>, 'locals': <built-in function locals>, 'map': <class 'map'>, 'max': <built-in function max>, 'memoryview': <class 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <class 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <class 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <class 'range'>, 'repr': <built-in function repr>, 'reversed': <class 'reversed'>, 'round': <built-in function round>, 'set': <class 'set'>, 'setattr': <built-in function setattr>, 'slice': <class 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'sum': <built-in function sum>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'vars': <built-in function vars>, 'zip': <class 'zip'>}, '__cached__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/__pycache__/config.cpython-311.pyc', '__doc__': 'Module that defines the configuration file of an AiiDA instance and functions to create and load it.\n\nDespite the import of the annotations backport below which enables postponed type annotation evaluation as implemented\nwith PEP 563 (https://peps.python.org/pep-0563/), this is not compatible with ``pydantic`` for Python 3.9 and older (\nSee https://github.com/pydantic/pydantic/issues/2678 for details).\n', '__file__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/config.py', '__loader__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__name__': 'aiida.manage.configuration.config', '__package__': 'aiida.manage.configuration', '__spec__': <pydantic._internal._model_construction._PydanticWeakRef object>, 'annotations': <pydantic._internal._model_construction._PydanticWeakRef object>, 'codecs': <pydantic._internal._model_construction._PydanticWeakRef object>, 'contextlib': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_serializer': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_validator': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option_names': <pydantic._internal._model_construction._PydanticWeakRef object>, 'io': <pydantic._internal._model_construction._PydanticWeakRef object>, 'json': <pydantic._internal._model_construction._PydanticWeakRef object>, 'os': <pydantic._internal._model_construction._PydanticWeakRef object>, 'parse_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'subject': <pydantic._internal._mock_val_ser.MockValSer object>, 'uuid': <pydantic._internal._model_construction._PydanticWeakRef object>}#
- __pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model( ModelSerializer { class: Py( 0x00005558e167db80, ), serializer: Fields( GeneralFieldsSerializer { fields: { "broker_username": SerField { key_py: Py( 0x00007f2fd5763ef0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f470, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_protocol": SerField { key_py: Py( 0x00007f2fd5763eb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f370, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_port": SerField { key_py: Py( 0x00007f2fd5763fb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb36690, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "broker_password": SerField { key_py: Py( 0x00007f2fd5763f30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f470, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_virtual_host": SerField { key_py: Py( 0x00007f2fd5780f80, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8118c80, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_parameters": SerField { key_py: Py( 0x00007f2fd5781e30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: DefaultFactory( Py( 0x00007f2fd801dee0, ), ), serializer: Dict( DictSerializer { key_serializer: Str( StrSerializer, ), value_serializer: Any( AnySerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "dict[str, any]", }, ), }, ), ), required: true, }, "broker_host": SerField { key_py: Py( 0x00007f2fd5763f70, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fc9ac7a70, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 7, }, ), has_extra: false, root_model: false, name: "ProcessControlConfig", }, ), definitions=[])#
- __pydantic_validator__: ClassVar[SchemaValidator] = SchemaValidator(title="ProcessControlConfig", validator=Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "broker_protocol", lookup_key: Simple { key: "broker_protocol", py_key: Py( 0x00007f2facb58cf0, ), path: LookupPath( [ S( "broker_protocol", Py( 0x00007f2facb58e30, ), ), ], ), }, name_py: Py( 0x00007f2facb58d70, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f370, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_username", lookup_key: Simple { key: "broker_username", py_key: Py( 0x00007f2facb58e70, ), path: LookupPath( [ S( "broker_username", Py( 0x00007f2facb58eb0, ), ), ], ), }, name_py: Py( 0x00007f2facb58ef0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f470, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_password", lookup_key: Simple { key: "broker_password", py_key: Py( 0x00007f2facb58f30, ), path: LookupPath( [ S( "broker_password", Py( 0x00007f2facb58f70, ), ), ], ), }, name_py: Py( 0x00007f2facb58fb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f470, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_host", lookup_key: Simple { key: "broker_host", py_key: Py( 0x00007f2facb58ff0, ), path: LookupPath( [ S( "broker_host", Py( 0x00007f2facb59030, ), ), ], ), }, name_py: Py( 0x00007f2facb59070, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fc9ac7a70, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_port", lookup_key: Simple { key: "broker_port", py_key: Py( 0x00007f2facb590b0, ), path: LookupPath( [ S( "broker_port", Py( 0x00007f2facb590f0, ), ), ], ), }, name_py: Py( 0x00007f2facb59130, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb36690, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_virtual_host", lookup_key: Simple { key: "broker_virtual_host", py_key: Py( 0x00007f2facb488f0, ), path: LookupPath( [ S( "broker_virtual_host", Py( 0x00007f2facb48940, ), ), ], ), }, name_py: Py( 0x00007f2facb48990, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8118c80, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_parameters", lookup_key: Simple { key: "broker_parameters", py_key: Py( 0x00007f2facb48a30, ), path: LookupPath( [ S( "broker_parameters", Py( 0x00007f2facb48a80, ), ), ], ), }, name_py: Py( 0x00007f2facb48ad0, ), validator: WithDefault( WithDefaultValidator { default: DefaultFactory( Py( 0x00007f2fd801dee0, ), ), on_error: Raise, validator: Dict( DictValidator { strict: false, key_validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), value_validator: Any( AnyValidator, ), min_length: None, max_length: None, name: "dict[str,any]", }, ), validate_default: false, copy_default: false, name: "default[dict[str,any]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ProcessControlConfig", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e167db80, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProcessControlConfig", }, ), definitions=[])#
- __weakref__#
list of weak references to the object (if defined)
- _abc_impl = <_abc._abc_data object>#
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'defer_build': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'broker_host': FieldInfo(annotation=str, required=False, default='127.0.0.1', description='Hostname of the message broker.'), 'broker_parameters': FieldInfo(annotation=dict[str, Any], required=False, default_factory=dict, description='Arguments to be encoded as query parameters.'), 'broker_password': FieldInfo(annotation=str, required=False, default='guest', description='Password for message broker.'), 'broker_port': FieldInfo(annotation=int, required=False, default=5432, description='Port of the message broker.'), 'broker_protocol': FieldInfo(annotation=str, required=False, default='amqp', description='Protocol for connecting to the message broker.'), 'broker_username': FieldInfo(annotation=str, required=False, default='guest', description='Username for message broker authentication.'), 'broker_virtual_host': FieldInfo(annotation=str, required=False, default='', description='Virtual host to use for the message broker.')}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class aiida.manage.configuration.config.ProfileOptionsSchema(**data: Any)[源代码]#
基类:
BaseModel
Schema for the options of an AiiDA profile.
- __abstractmethods__ = frozenset({})#
- __annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator]', '__signature__': 'ClassVar[Signature]', 'caching__default_enabled': 'bool', 'caching__disabled_for': 'List[str]', 'caching__enabled_for': 'List[str]', 'daemon__default_workers': 'int', 'daemon__recursion_limit': 'int', 'daemon__timeout': 'int', 'daemon__worker_process_slots': 'int', 'db__batch_size': 'int', 'logging__aiida_loglevel': 'LogLevels', 'logging__aiopika_loglevel': 'LogLevels', 'logging__alembic_loglevel': 'LogLevels', 'logging__circus_loglevel': 'LogLevels', 'logging__db_loglevel': 'LogLevels', 'logging__kiwipy_loglevel': 'LogLevels', 'logging__paramiko_loglevel': 'LogLevels', 'logging__plumpy_loglevel': 'LogLevels', 'logging__sqlalchemy_loglevel': 'LogLevels', 'logging__verdi_loglevel': 'LogLevels', 'model_computed_fields': 'ClassVar[dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[dict[str, FieldInfo]]', 'rmq__task_timeout': 'int', 'runner__poll__interval': 'int', 'storage__sandbox': 'Optional[str]', 'transport__task_maximum_attempts': 'int', 'transport__task_retry_initial_interval': 'int', 'verdi__shell__auto_import': 'str', 'warnings__rabbitmq_version': 'bool', 'warnings__showdeprecations': 'bool'}#
- __dict__#
- __module__ = 'aiida.manage.configuration.config'#
- __pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={'validate_caching_identifier_pattern': Decorator(cls_ref='aiida.manage.configuration.config.ProfileOptionsSchema:93840229443696', cls_var_name='validate_caching_identifier_pattern', func=<bound method ProfileOptionsSchema.validate_caching_identifier_pattern of <class 'aiida.manage.configuration.config.ProfileOptionsSchema'>>, shim=None, info=FieldValidatorDecoratorInfo(fields=('caching__enabled_for', 'caching__disabled_for'), mode='after', check_fields=None))}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#
- __pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}#
- __pydantic_parent_namespace__: ClassVar[dict[str, Any] | None] = {'AIIDA_LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Any': <pydantic._internal._model_construction._PydanticWeakRef object>, 'BaseModel': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigDict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigVersionSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigurationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Dict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'EntryPointError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Field': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'List': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LogLevels': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Optional': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Profile': <pydantic._internal._model_construction._PydanticWeakRef object>, 'StorageMigrationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'TYPE_CHECKING': False, 'Tuple': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Type': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ValidationError': <pydantic._internal._model_construction._PydanticWeakRef object>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EncodingWarning': <class 'EncodingWarning'>, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'ExceptionGroup': <class 'ExceptionGroup'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), 'abs': <built-in function abs>, 'aiter': <built-in function aiter>, 'all': <built-in function all>, 'anext': <built-in function anext>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <class 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <class 'enumerate'>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': <class 'filter'>, 'float': <class 'float'>, 'format': <built-in function format>, 'frozenset': <class 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <class 'int'>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <class 'list'>, 'locals': <built-in function locals>, 'map': <class 'map'>, 'max': <built-in function max>, 'memoryview': <class 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <class 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <class 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <class 'range'>, 'repr': <built-in function repr>, 'reversed': <class 'reversed'>, 'round': <built-in function round>, 'set': <class 'set'>, 'setattr': <built-in function setattr>, 'slice': <class 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'sum': <built-in function sum>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'vars': <built-in function vars>, 'zip': <class 'zip'>}, '__cached__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/__pycache__/config.cpython-311.pyc', '__doc__': 'Module that defines the configuration file of an AiiDA instance and functions to create and load it.\n\nDespite the import of the annotations backport below which enables postponed type annotation evaluation as implemented\nwith PEP 563 (https://peps.python.org/pep-0563/), this is not compatible with ``pydantic`` for Python 3.9 and older (\nSee https://github.com/pydantic/pydantic/issues/2678 for details).\n', '__file__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/config.py', '__loader__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__name__': 'aiida.manage.configuration.config', '__package__': 'aiida.manage.configuration', '__spec__': <pydantic._internal._model_construction._PydanticWeakRef object>, 'annotations': <pydantic._internal._model_construction._PydanticWeakRef object>, 'codecs': <pydantic._internal._model_construction._PydanticWeakRef object>, 'contextlib': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_serializer': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_validator': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option_names': <pydantic._internal._model_construction._PydanticWeakRef object>, 'io': <pydantic._internal._model_construction._PydanticWeakRef object>, 'json': <pydantic._internal._model_construction._PydanticWeakRef object>, 'os': <pydantic._internal._model_construction._PydanticWeakRef object>, 'parse_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'subject': <pydantic._internal._mock_val_ser.MockValSer object>, 'uuid': <pydantic._internal._model_construction._PydanticWeakRef object>}#
- __pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model( ModelSerializer { class: Py( 0x00005558e18aa870, ), serializer: Fields( GeneralFieldsSerializer { fields: { "daemon__default_workers": SerField { key_py: Py( 0x00007f2fafd88c10, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138c8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "runner__poll__interval": SerField { key_py: Py( 0x00007f2fafd88b70, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8114028, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "daemon__timeout": SerField { key_py: Py( 0x00007f2fc9ac62b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__paramiko_loglevel": SerField { key_py: Py( 0x00007f2fafd88f30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__circus_loglevel": SerField { key_py: Py( 0x00007f2fafd89070, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd76a21b0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "daemon__recursion_limit": SerField { key_py: Py( 0x00007f2fafd88cb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37db0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__aiopika_loglevel": SerField { key_py: Py( 0x00007f2fafd890c0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__plumpy_loglevel": SerField { key_py: Py( 0x00007f2fafd88e90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__sqlalchemy_loglevel": SerField { key_py: Py( 0x00007f2fafd88fd0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "warnings__rabbitmq_version": SerField { key_py: Py( 0x00007f2fafd89160, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "daemon__worker_process_slots": SerField { key_py: Py( 0x00007f2fafd88c60, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81151a8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "transport__task_retry_initial_interval": SerField { key_py: Py( 0x00007f2faffb8870, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113b28, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "db__batch_size": SerField { key_py: Py( 0x00007f2fc9ac6ff0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37dd0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__aiida_loglevel": SerField { key_py: Py( 0x00007f2fafd88d50, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__alembic_loglevel": SerField { key_py: Py( 0x00007f2fafd88f80, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "transport__task_maximum_attempts": SerField { key_py: Py( 0x00007f2faffb8c90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113948, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "verdi__shell__auto_import": SerField { key_py: Py( 0x00007f2fafd88d00, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd811e418, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "logging__verdi_loglevel": SerField { key_py: Py( 0x00007f2fafd88da0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__kiwipy_loglevel": SerField { key_py: Py( 0x00007f2fafd88ee0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "warnings__showdeprecations": SerField { key_py: Py( 0x00007f2fafd89110, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "rmq__task_timeout": SerField { key_py: Py( 0x00007f2fafd891b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81139e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "storage__sandbox": SerField { key_py: Py( 0x00007f2fafd892a0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "caching__default_enabled": SerField { key_py: Py( 0x00007f2fafd892f0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "caching__enabled_for": SerField { key_py: Py( 0x00007f2fafd89340, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fc9dac500, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "caching__disabled_for": SerField { key_py: Py( 0x00007f2fafd89390, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fb82b0980, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "logging__db_loglevel": SerField { key_py: Py( 0x00007f2fafd88e40, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 26, }, ), has_extra: false, root_model: false, name: "ProfileOptionsSchema", }, ), definitions=[JsonOrPython(JsonOrPythonSerializer { json: Any(AnySerializer), python: Any(AnySerializer), name: "json-or-python[json=any, python=any]" })])#
- __pydantic_validator__: ClassVar[SchemaValidator] = SchemaValidator(title="ProfileOptionsSchema", validator=Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "runner__poll__interval", lookup_key: Simple { key: "runner__poll__interval", py_key: Py( 0x00007f2facb49b60, ), path: LookupPath( [ S( "runner__poll__interval", Py( 0x00007f2facb49bb0, ), ), ], ), }, name_py: Py( 0x00007f2facb49ca0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8114028, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__default_workers", lookup_key: Simple { key: "daemon__default_workers", py_key: Py( 0x00007f2facb49cf0, ), path: LookupPath( [ S( "daemon__default_workers", Py( 0x00007f2facb49c50, ), ), ], ), }, name_py: Py( 0x00007f2facb49d40, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138c8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__timeout", lookup_key: Simple { key: "daemon__timeout", py_key: Py( 0x00007f2facb75530, ), path: LookupPath( [ S( "daemon__timeout", Py( 0x00007f2facbd2470, ), ), ], ), }, name_py: Py( 0x00007f2facbd3bf0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__worker_process_slots", lookup_key: Simple { key: "daemon__worker_process_slots", py_key: Py( 0x00007f2facb49d90, ), path: LookupPath( [ S( "daemon__worker_process_slots", Py( 0x00007f2facb49de0, ), ), ], ), }, name_py: Py( 0x00007f2facb49e30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81151a8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__recursion_limit", lookup_key: Simple { key: "daemon__recursion_limit", py_key: Py( 0x00007f2facb49e80, ), path: LookupPath( [ S( "daemon__recursion_limit", Py( 0x00007f2facb49ed0, ), ), ], ), }, name_py: Py( 0x00007f2facb49f20, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37db0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "db__batch_size", lookup_key: Simple { key: "db__batch_size", py_key: Py( 0x00007f2facbd3d30, ), path: LookupPath( [ S( "db__batch_size", Py( 0x00007f2facbd25f0, ), ), ], ), }, name_py: Py( 0x00007f2facbd23f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37dd0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "verdi__shell__auto_import", lookup_key: Simple { key: "verdi__shell__auto_import", py_key: Py( 0x00007f2facb49fc0, ), path: LookupPath( [ S( "verdi__shell__auto_import", Py( 0x00007f2facb4a010, ), ), ], ), }, name_py: Py( 0x00007f2facb4a060, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd811e418, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiida_loglevel", lookup_key: Simple { key: "logging__aiida_loglevel", py_key: Py( 0x00007f2facb4a0b0, ), path: LookupPath( [ S( "logging__aiida_loglevel", Py( 0x00007f2facb4a100, ), ), ], ), }, name_py: Py( 0x00007f2facb4a150, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__verdi_loglevel", lookup_key: Simple { key: "logging__verdi_loglevel", py_key: Py( 0x00007f2facb4a1a0, ), path: LookupPath( [ S( "logging__verdi_loglevel", Py( 0x00007f2facb4a1f0, ), ), ], ), }, name_py: Py( 0x00007f2facb4a240, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__db_loglevel", lookup_key: Simple { key: "logging__db_loglevel", py_key: Py( 0x00007f2facb4a290, ), path: LookupPath( [ S( "logging__db_loglevel", Py( 0x00007f2facb4a2e0, ), ), ], ), }, name_py: Py( 0x00007f2facb4a330, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__plumpy_loglevel", lookup_key: Simple { key: "logging__plumpy_loglevel", py_key: Py( 0x00007f2facb4a380, ), path: LookupPath( [ S( "logging__plumpy_loglevel", Py( 0x00007f2facb4a3d0, ), ), ], ), }, name_py: Py( 0x00007f2facb4a420, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__kiwipy_loglevel", lookup_key: Simple { key: "logging__kiwipy_loglevel", py_key: Py( 0x00007f2facb4a470, ), path: LookupPath( [ S( "logging__kiwipy_loglevel", Py( 0x00007f2facb4a4c0, ), ), ], ), }, name_py: Py( 0x00007f2facb4a510, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__paramiko_loglevel", lookup_key: Simple { key: "logging__paramiko_loglevel", py_key: Py( 0x00007f2facb4a560, ), path: LookupPath( [ S( "logging__paramiko_loglevel", Py( 0x00007f2facb4a5b0, ), ), ], ), }, name_py: Py( 0x00007f2facb4a600, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__alembic_loglevel", lookup_key: Simple { key: "logging__alembic_loglevel", py_key: Py( 0x00007f2facb4a650, ), path: LookupPath( [ S( "logging__alembic_loglevel", Py( 0x00007f2facb4a6a0, ), ), ], ), }, name_py: Py( 0x00007f2facb4a6f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__sqlalchemy_loglevel", lookup_key: Simple { key: "logging__sqlalchemy_loglevel", py_key: Py( 0x00007f2facb4a740, ), path: LookupPath( [ S( "logging__sqlalchemy_loglevel", Py( 0x00007f2facb4a790, ), ), ], ), }, name_py: Py( 0x00007f2facb4a7e0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__circus_loglevel", lookup_key: Simple { key: "logging__circus_loglevel", py_key: Py( 0x00007f2facb4a830, ), path: LookupPath( [ S( "logging__circus_loglevel", Py( 0x00007f2facb4a880, ), ), ], ), }, name_py: Py( 0x00007f2facb4a8d0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd76a21b0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiopika_loglevel", lookup_key: Simple { key: "logging__aiopika_loglevel", py_key: Py( 0x00007f2facb4a920, ), path: LookupPath( [ S( "logging__aiopika_loglevel", Py( 0x00007f2facb4a970, ), ), ], ), }, name_py: Py( 0x00007f2facb4a9c0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__showdeprecations", lookup_key: Simple { key: "warnings__showdeprecations", py_key: Py( 0x00007f2facb4aa10, ), path: LookupPath( [ S( "warnings__showdeprecations", Py( 0x00007f2facb4aa60, ), ), ], ), }, name_py: Py( 0x00007f2facb4aab0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__rabbitmq_version", lookup_key: Simple { key: "warnings__rabbitmq_version", py_key: Py( 0x00007f2facb4ab00, ), path: LookupPath( [ S( "warnings__rabbitmq_version", Py( 0x00007f2facb4ab50, ), ), ], ), }, name_py: Py( 0x00007f2facb4aba0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_retry_initial_interval", lookup_key: Simple { key: "transport__task_retry_initial_interval", py_key: Py( 0x00007f2facbcc270, ), path: LookupPath( [ S( "transport__task_retry_initial_interval", Py( 0x00007f2facbcc210, ), ), ], ), }, name_py: Py( 0x00007f2facbcc2d0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113b28, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_maximum_attempts", lookup_key: Simple { key: "transport__task_maximum_attempts", py_key: Py( 0x00007f2facbcc330, ), path: LookupPath( [ S( "transport__task_maximum_attempts", Py( 0x00007f2facbcc390, ), ), ], ), }, name_py: Py( 0x00007f2facbcc3f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113948, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "rmq__task_timeout", lookup_key: Simple { key: "rmq__task_timeout", py_key: Py( 0x00007f2facb4abf0, ), path: LookupPath( [ S( "rmq__task_timeout", Py( 0x00007f2facb4ac40, ), ), ], ), }, name_py: Py( 0x00007f2facb4ac90, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81139e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "storage__sandbox", lookup_key: Simple { key: "storage__sandbox", py_key: Py( 0x00007f2facb4ad30, ), path: LookupPath( [ S( "storage__sandbox", Py( 0x00007f2facb4ad80, ), ), ], ), }, name_py: Py( 0x00007f2facb4add0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__default_enabled", lookup_key: Simple { key: "caching__default_enabled", py_key: Py( 0x00007f2facb4ae20, ), path: LookupPath( [ S( "caching__default_enabled", Py( 0x00007f2facb4ae70, ), ), ], ), }, name_py: Py( 0x00007f2facb4aec0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__enabled_for", lookup_key: Simple { key: "caching__enabled_for", py_key: Py( 0x00007f2facb4af60, ), path: LookupPath( [ S( "caching__enabled_for", Py( 0x00007f2facb4afb0, ), ), ], ), }, name_py: Py( 0x00007f2facb4b000, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fc9dac500, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc8a1bf80, ), config: Py( 0x00007f2facbe14c0, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__disabled_for", lookup_key: Simple { key: "caching__disabled_for", py_key: Py( 0x00007f2facb4b0a0, ), path: LookupPath( [ S( "caching__disabled_for", Py( 0x00007f2facb4b0f0, ), ), ], ), }, name_py: Py( 0x00007f2facb4b140, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fb82b0980, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc8a1bf80, ), config: Py( 0x00007f2facbe14c0, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ProfileOptionsSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e18aa870, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProfileOptionsSchema", }, ), definitions=[LaxOrStrict(LaxOrStrictValidator { strict: false, lax_validator: FunctionPlain(FunctionPlainValidator { func: Py(0x7f2facf413a0), config: Py(0x7f2facb9c100), name: "function-plain[to_enum()]", field_name: None, info_arg: false }), strict_validator: JsonOrPython(JsonOrPython { json: FunctionPlain(FunctionPlainValidator { func: Py(0x7f2facf413a0), config: Py(0x7f2facb9c100), name: "function-plain[to_enum()]", field_name: None, info_arg: false }), python: Chain(ChainValidator { steps: [IsInstance(IsInstanceValidator { class: Py(0x5558df002c60), class_repr: "LogLevels", name: "is-instance[LogLevels]" }), FunctionPlain(FunctionPlainValidator { func: Py(0x7f2facf40d60), config: Py(0x7f2facb9c100), name: "function-plain[<lambda>()]", field_name: None, info_arg: false })], name: "chain[is-instance[LogLevels],function-plain[<lambda>()]]" }), name: "json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]" }), name: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]" })])#
- __weakref__#
list of weak references to the object (if defined)
- _abc_impl = <_abc._abc_data object>#
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'use_enum_values': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'caching__default_enabled': FieldInfo(annotation=bool, required=False, default=False, description='Enable calculation caching by default.'), 'caching__disabled_for': FieldInfo(annotation=List[str], required=False, default=[], description='Calculation entry points to disable caching on.'), 'caching__enabled_for': FieldInfo(annotation=List[str], required=False, default=[], description='Calculation entry points to enable caching on.'), 'daemon__default_workers': FieldInfo(annotation=int, required=False, default=1, description='Default number of workers to be launched by `verdi daemon start`.'), 'daemon__recursion_limit': FieldInfo(annotation=int, required=False, default=3000, description='Maximum recursion depth for the daemon workers.'), 'daemon__timeout': FieldInfo(annotation=int, required=False, default=2, description='Used to set default timeout in the `DaemonClient` for calls to the daemon.'), 'daemon__worker_process_slots': FieldInfo(annotation=int, required=False, default=200, description='Maximum number of concurrent process tasks that each daemon worker can handle.'), 'db__batch_size': FieldInfo(annotation=int, required=False, default=100000, description='Batch size for bulk CREATE operations in the database. Avoids hitting MaxAllocSize of PostgreSQL (1GB) when creating large numbers of database records in one go.'), 'logging__aiida_loglevel': FieldInfo(annotation=LogLevels, required=False, default='REPORT', description='Minimum level to log to daemon log and the `DbLog` table for the `aiida` logger.'), 'logging__aiopika_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `aiopika` logger'), 'logging__alembic_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `alembic` logger'), 'logging__circus_loglevel': FieldInfo(annotation=LogLevels, required=False, default='INFO', description='Minimum level to log to daemon log and the `DbLog` table for the `circus` logger'), 'logging__db_loglevel': FieldInfo(annotation=LogLevels, required=False, default='REPORT', description='Minimum level to log to the DbLog table.'), 'logging__kiwipy_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `kiwipy` logger'), 'logging__paramiko_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `paramiko` logger'), 'logging__plumpy_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `plumpy` logger.'), 'logging__sqlalchemy_loglevel': FieldInfo(annotation=LogLevels, required=False, default='WARNING', description='Minimum level to log to daemon log and the `DbLog` table for the `sqlalchemy` logger'), 'logging__verdi_loglevel': FieldInfo(annotation=LogLevels, required=False, default='REPORT', description='Minimum level to log to console when running a `verdi` command.'), 'rmq__task_timeout': FieldInfo(annotation=int, required=False, default=10, description='Timeout in seconds for communications with RabbitMQ.'), 'runner__poll__interval': FieldInfo(annotation=int, required=False, default=60, description='Polling interval in seconds to be used by process runners.'), 'storage__sandbox': FieldInfo(annotation=Union[str, NoneType], required=False, description='Absolute path to the directory to store sandbox folders.'), 'transport__task_maximum_attempts': FieldInfo(annotation=int, required=False, default=5, description='Maximum number of transport task attempts before a Process is Paused.'), 'transport__task_retry_initial_interval': FieldInfo(annotation=int, required=False, default=20, description='Initial time interval for the exponential backoff mechanism.'), 'verdi__shell__auto_import': FieldInfo(annotation=str, required=False, default=':', description='Additional modules/functions/classes to be automatically loaded in `verdi shell`, split by `:`.'), 'warnings__rabbitmq_version': FieldInfo(annotation=bool, required=False, default=True, description='Whether to print a warning when an incompatible version of RabbitMQ is configured.'), 'warnings__showdeprecations': FieldInfo(annotation=bool, required=False, default=True, description='Whether to print AiiDA deprecation warnings.')}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- class aiida.manage.configuration.config.ProfileSchema(**data: Any)[源代码]#
基类:
BaseModel
Schema for the configuration of an AiiDA profile.
- __abstractmethods__ = frozenset({})#
- __annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator]', '__signature__': 'ClassVar[Signature]', 'default_user_email': 'Optional[str]', 'model_computed_fields': 'ClassVar[dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[dict[str, FieldInfo]]', 'options': 'Optional[ProfileOptionsSchema]', 'process_control': 'ProcessControlConfig', 'storage': 'ProfileStorageConfig', 'test_profile': 'bool', 'uuid': 'str'}#
- __dict__#
- __module__ = 'aiida.manage.configuration.config'#
- __pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={'serialize_dt': Decorator(cls_ref='aiida.manage.configuration.config.ProfileSchema:93840226417360', cls_var_name='serialize_dt', func=<function ProfileSchema.serialize_dt>, shim=None, info=FieldSerializerDecoratorInfo(fields=('uuid',), mode='plain', return_type=PydanticUndefined, when_used='always', check_fields=None))}, model_serializers={}, model_validators={}, computed_fields={})#
- __pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}#
- __pydantic_parent_namespace__: ClassVar[dict[str, Any] | None] = {'AIIDA_LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Any': <pydantic._internal._model_construction._PydanticWeakRef object>, 'BaseModel': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigDict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigVersionSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigurationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Dict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'EntryPointError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Field': <pydantic._internal._model_construction._PydanticWeakRef object>, 'GlobalOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'List': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LogLevels': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Optional': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProcessControlConfig': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Profile': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileStorageConfig': <pydantic._internal._model_construction._PydanticWeakRef object>, 'StorageMigrationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'TYPE_CHECKING': False, 'Tuple': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Type': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ValidationError': <pydantic._internal._model_construction._PydanticWeakRef object>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EncodingWarning': <class 'EncodingWarning'>, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'ExceptionGroup': <class 'ExceptionGroup'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), 'abs': <built-in function abs>, 'aiter': <built-in function aiter>, 'all': <built-in function all>, 'anext': <built-in function anext>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <class 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <class 'enumerate'>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': <class 'filter'>, 'float': <class 'float'>, 'format': <built-in function format>, 'frozenset': <class 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <class 'int'>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <class 'list'>, 'locals': <built-in function locals>, 'map': <class 'map'>, 'max': <built-in function max>, 'memoryview': <class 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <class 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <class 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <class 'range'>, 'repr': <built-in function repr>, 'reversed': <class 'reversed'>, 'round': <built-in function round>, 'set': <class 'set'>, 'setattr': <built-in function setattr>, 'slice': <class 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'sum': <built-in function sum>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'vars': <built-in function vars>, 'zip': <class 'zip'>}, '__cached__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/__pycache__/config.cpython-311.pyc', '__doc__': 'Module that defines the configuration file of an AiiDA instance and functions to create and load it.\n\nDespite the import of the annotations backport below which enables postponed type annotation evaluation as implemented\nwith PEP 563 (https://peps.python.org/pep-0563/), this is not compatible with ``pydantic`` for Python 3.9 and older (\nSee https://github.com/pydantic/pydantic/issues/2678 for details).\n', '__file__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/config.py', '__loader__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__name__': 'aiida.manage.configuration.config', '__package__': 'aiida.manage.configuration', '__spec__': <pydantic._internal._model_construction._PydanticWeakRef object>, 'annotations': <pydantic._internal._model_construction._PydanticWeakRef object>, 'codecs': <pydantic._internal._model_construction._PydanticWeakRef object>, 'contextlib': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_serializer': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_validator': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option_names': <pydantic._internal._model_construction._PydanticWeakRef object>, 'io': <pydantic._internal._model_construction._PydanticWeakRef object>, 'json': <pydantic._internal._model_construction._PydanticWeakRef object>, 'os': <pydantic._internal._model_construction._PydanticWeakRef object>, 'parse_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'subject': <pydantic._internal._mock_val_ser.MockValSer object>, 'uuid': <pydantic._internal._model_construction._PydanticWeakRef object>}#
- __pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model( ModelSerializer { class: Py( 0x00005558e15c7ad0, ), serializer: Fields( GeneralFieldsSerializer { fields: { "uuid": SerField { key_py: Py( 0x00007f2fd6dc09f0, ), alias: None, alias_py: None, serializer: Some( Function( FunctionPlainSerializer { func: Py( 0x00007f2fb848ca40, ), name: "plain_function[serialize_dt]", function_name: "serialize_dt", return_serializer: Any( AnySerializer, ), fallback_serializer: None, when_used: Always, is_field_serializer: true, info_arg: true, }, ), ), required: true, }, "process_control": SerField { key_py: Py( 0x00007f2fd5784630, ), alias: None, alias_py: None, serializer: Some( Model( ModelSerializer { class: Py( 0x00005558e167db80, ), serializer: Fields( GeneralFieldsSerializer { fields: { "broker_host": SerField { key_py: Py( 0x00007f2fd5763f70, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fc9ac7a70, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_port": SerField { key_py: Py( 0x00007f2fd5763fb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb36690, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "broker_password": SerField { key_py: Py( 0x00007f2fd5763f30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f470, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_virtual_host": SerField { key_py: Py( 0x00007f2fd5780f80, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8118c80, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_protocol": SerField { key_py: Py( 0x00007f2fd5763eb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f370, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "broker_parameters": SerField { key_py: Py( 0x00007f2fd5781e30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: DefaultFactory( Py( 0x00007f2fd801dee0, ), ), serializer: Dict( DictSerializer { key_serializer: Str( StrSerializer, ), value_serializer: Any( AnySerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "dict[str, any]", }, ), }, ), ), required: true, }, "broker_username": SerField { key_py: Py( 0x00007f2fd5763ef0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd579f470, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 7, }, ), has_extra: false, root_model: false, name: "ProcessControlConfig", }, ), ), required: true, }, "options": SerField { key_py: Py( 0x00007f2fd76cbfb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Model( ModelSerializer { class: Py( 0x00005558e18aa870, ), serializer: Fields( GeneralFieldsSerializer { fields: { "logging__paramiko_loglevel": SerField { key_py: Py( 0x00007f2fafd88f30, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__aiida_loglevel": SerField { key_py: Py( 0x00007f2fafd88d50, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "daemon__recursion_limit": SerField { key_py: Py( 0x00007f2fafd88cb0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37db0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__sqlalchemy_loglevel": SerField { key_py: Py( 0x00007f2fafd88fd0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__aiopika_loglevel": SerField { key_py: Py( 0x00007f2fafd890c0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "caching__default_enabled": SerField { key_py: Py( 0x00007f2fafd892f0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "caching__enabled_for": SerField { key_py: Py( 0x00007f2fafd89340, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fc9dac500, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "daemon__timeout": SerField { key_py: Py( 0x00007f2fc9ac62b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__db_loglevel": SerField { key_py: Py( 0x00007f2fafd88e40, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "rmq__task_timeout": SerField { key_py: Py( 0x00007f2fafd891b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81139e8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "daemon__worker_process_slots": SerField { key_py: Py( 0x00007f2fafd88c60, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81151a8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "verdi__shell__auto_import": SerField { key_py: Py( 0x00007f2fafd88d00, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd811e418, ), ), serializer: Str( StrSerializer, ), }, ), ), required: true, }, "logging__plumpy_loglevel": SerField { key_py: Py( 0x00007f2fafd88e90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "storage__sandbox": SerField { key_py: Py( 0x00007f2fafd892a0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, "caching__disabled_for": SerField { key_py: Py( 0x00007f2fafd89390, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fb82b0980, ), ), serializer: List( ListSerializer { item_serializer: Str( StrSerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "list[str]", }, ), }, ), ), required: true, }, "transport__task_maximum_attempts": SerField { key_py: Py( 0x00007f2faffb8c90, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113948, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "runner__poll__interval": SerField { key_py: Py( 0x00007f2fafd88b70, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8114028, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__circus_loglevel": SerField { key_py: Py( 0x00007f2fafd89070, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd76a21b0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "logging__kiwipy_loglevel": SerField { key_py: Py( 0x00007f2fafd88ee0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "warnings__showdeprecations": SerField { key_py: Py( 0x00007f2fafd89110, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "warnings__rabbitmq_version": SerField { key_py: Py( 0x00007f2fafd89160, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf40, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "transport__task_retry_initial_interval": SerField { key_py: Py( 0x00007f2faffb8870, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8113b28, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__verdi_loglevel": SerField { key_py: Py( 0x00007f2fafd88da0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd5751e30, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, "daemon__default_workers": SerField { key_py: Py( 0x00007f2fafd88c10, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd81138c8, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "db__batch_size": SerField { key_py: Py( 0x00007f2fc9ac6ff0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fafb37dd0, ), ), serializer: Int( IntSerializer, ), }, ), ), required: true, }, "logging__alembic_loglevel": SerField { key_py: Py( 0x00007f2fafd88f80, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd6e30fb0, ), ), serializer: Recursive( DefinitionRefSerializer { definition: "...", }, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 26, }, ), has_extra: false, root_model: false, name: "ProfileOptionsSchema", }, ), }, ), }, ), ), required: true, }, "test_profile": SerField { key_py: Py( 0x00007f2fd57847b0, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd800bf60, ), ), serializer: Bool( BoolSerializer, ), }, ), ), required: true, }, "storage": SerField { key_py: Py( 0x00007f2fd5751eb0, ), alias: None, alias_py: None, serializer: Some( Model( ModelSerializer { class: Py( 0x00005558e1671db0, ), serializer: Fields( GeneralFieldsSerializer { fields: { "backend": SerField { key_py: Py( 0x00007f2fd658c630, ), alias: None, alias_py: None, serializer: Some( Str( StrSerializer, ), ), required: true, }, "config": SerField { key_py: Py( 0x00007f2fd71b5df0, ), alias: None, alias_py: None, serializer: Some( Dict( DictSerializer { key_serializer: Str( StrSerializer, ), value_serializer: Any( AnySerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "dict[str, any]", }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 2, }, ), has_extra: false, root_model: false, name: "ProfileStorageConfig", }, ), ), required: true, }, "default_user_email": SerField { key_py: Py( 0x00007f2fd578c030, ), alias: None, alias_py: None, serializer: Some( WithDefault( WithDefaultSerializer { default: Default( Py( 0x00007f2fd8020c20, ), ), serializer: Nullable( NullableSerializer { serializer: Str( StrSerializer, ), }, ), }, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 6, }, ), has_extra: false, root_model: false, name: "ProfileSchema", }, ), definitions=[JsonOrPython(JsonOrPythonSerializer { json: Any(AnySerializer), python: Any(AnySerializer), name: "json-or-python[json=any, python=any]" })])#
- __pydantic_validator__: ClassVar[SchemaValidator] = SchemaValidator(title="ProfileSchema", validator=Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "uuid", lookup_key: Simple { key: "uuid", py_key: Py( 0x00007f2faca57230, ), path: LookupPath( [ S( "uuid", Py( 0x00007f2faca56f30, ), ), ], ), }, name_py: Py( 0x00007f2faca57070, ), validator: WithDefault( WithDefaultValidator { default: DefaultFactory( Py( 0x00007f2fd57dbec0, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "storage", lookup_key: Simple { key: "storage", py_key: Py( 0x00007f2faca562f0, ), path: LookupPath( [ S( "storage", Py( 0x00007f2faca56570, ), ), ], ), }, name_py: Py( 0x00007f2faca563b0, ), validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "backend", lookup_key: Simple { key: "backend", py_key: Py( 0x00007f2faca570f0, ), path: LookupPath( [ S( "backend", Py( 0x00007f2faca56e70, ), ), ], ), }, name_py: Py( 0x00007f2faca56fb0, ), validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), frozen: false, }, Field { name: "config", lookup_key: Simple { key: "config", py_key: Py( 0x00007f2faca564b0, ), path: LookupPath( [ S( "config", Py( 0x00007f2faca56270, ), ), ], ), }, name_py: Py( 0x00007f2faca56470, ), validator: Dict( DictValidator { strict: false, key_validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), value_validator: Any( AnyValidator, ), min_length: None, max_length: None, name: "dict[str,any]", }, ), frozen: false, }, ], model_name: "ProfileStorageConfig", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e1671db0, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProfileStorageConfig", }, ), frozen: false, }, Field { name: "process_control", lookup_key: Simple { key: "process_control", py_key: Py( 0x00007f2faca52df0, ), path: LookupPath( [ S( "process_control", Py( 0x00007f2faca53e70, ), ), ], ), }, name_py: Py( 0x00007f2faca53970, ), validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "broker_protocol", lookup_key: Simple { key: "broker_protocol", py_key: Py( 0x00007f2faca565b0, ), path: LookupPath( [ S( "broker_protocol", Py( 0x00007f2faca56370, ), ), ], ), }, name_py: Py( 0x00007f2faca525f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f370, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_username", lookup_key: Simple { key: "broker_username", py_key: Py( 0x00007f2faca53cf0, ), path: LookupPath( [ S( "broker_username", Py( 0x00007f2faca53d70, ), ), ], ), }, name_py: Py( 0x00007f2faca53c30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f470, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_password", lookup_key: Simple { key: "broker_password", py_key: Py( 0x00007f2faca52330, ), path: LookupPath( [ S( "broker_password", Py( 0x00007f2faca536b0, ), ), ], ), }, name_py: Py( 0x00007f2faca53770, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd579f470, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_host", lookup_key: Simple { key: "broker_host", py_key: Py( 0x00007f2faca539f0, ), path: LookupPath( [ S( "broker_host", Py( 0x00007f2faca53f30, ), ), ], ), }, name_py: Py( 0x00007f2faca53eb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fc9ac7a70, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_port", lookup_key: Simple { key: "broker_port", py_key: Py( 0x00007f2faca53a70, ), path: LookupPath( [ S( "broker_port", Py( 0x00007f2faca537f0, ), ), ], ), }, name_py: Py( 0x00007f2faca52a70, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb36690, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_virtual_host", lookup_key: Simple { key: "broker_virtual_host", py_key: Py( 0x00007f2faca157f0, ), path: LookupPath( [ S( "broker_virtual_host", Py( 0x00007f2faca15840, ), ), ], ), }, name_py: Py( 0x00007f2faca15890, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8118c80, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "broker_parameters", lookup_key: Simple { key: "broker_parameters", py_key: Py( 0x00007f2faca15930, ), path: LookupPath( [ S( "broker_parameters", Py( 0x00007f2faca15980, ), ), ], ), }, name_py: Py( 0x00007f2faca159d0, ), validator: WithDefault( WithDefaultValidator { default: DefaultFactory( Py( 0x00007f2fd801dee0, ), ), on_error: Raise, validator: Dict( DictValidator { strict: false, key_validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), value_validator: Any( AnyValidator, ), min_length: None, max_length: None, name: "dict[str,any]", }, ), validate_default: false, copy_default: false, name: "default[dict[str,any]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ProcessControlConfig", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e167db80, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProcessControlConfig", }, ), frozen: false, }, Field { name: "default_user_email", lookup_key: Simple { key: "default_user_email", py_key: Py( 0x00007f2faca15a70, ), path: LookupPath( [ S( "default_user_email", Py( 0x00007f2faca15ac0, ), ), ], ), }, name_py: Py( 0x00007f2faca15b10, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "test_profile", lookup_key: Simple { key: "test_profile", py_key: Py( 0x00007f2faca52ab0, ), path: LookupPath( [ S( "test_profile", Py( 0x00007f2faca53df0, ), ), ], ), }, name_py: Py( 0x00007f2faca52a30, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "options", lookup_key: Simple { key: "options", py_key: Py( 0x00007f2faca53ef0, ), path: LookupPath( [ S( "options", Py( 0x00007f2faca52830, ), ), ], ), }, name_py: Py( 0x00007f2faca52730, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "runner__poll__interval", lookup_key: Simple { key: "runner__poll__interval", py_key: Py( 0x00007f2faca15b60, ), path: LookupPath( [ S( "runner__poll__interval", Py( 0x00007f2faca15bb0, ), ), ], ), }, name_py: Py( 0x00007f2faca15c00, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8114028, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__default_workers", lookup_key: Simple { key: "daemon__default_workers", py_key: Py( 0x00007f2faca15c50, ), path: LookupPath( [ S( "daemon__default_workers", Py( 0x00007f2faca15ca0, ), ), ], ), }, name_py: Py( 0x00007f2faca15cf0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138c8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__timeout", lookup_key: Simple { key: "daemon__timeout", py_key: Py( 0x00007f2faca526f0, ), path: LookupPath( [ S( "daemon__timeout", Py( 0x00007f2faca52bf0, ), ), ], ), }, name_py: Py( 0x00007f2faca53bf0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81138e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__worker_process_slots", lookup_key: Simple { key: "daemon__worker_process_slots", py_key: Py( 0x00007f2faca15d40, ), path: LookupPath( [ S( "daemon__worker_process_slots", Py( 0x00007f2faca15d90, ), ), ], ), }, name_py: Py( 0x00007f2faca15de0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81151a8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "daemon__recursion_limit", lookup_key: Simple { key: "daemon__recursion_limit", py_key: Py( 0x00007f2faca15e30, ), path: LookupPath( [ S( "daemon__recursion_limit", Py( 0x00007f2faca15e80, ), ), ], ), }, name_py: Py( 0x00007f2faca15ed0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37db0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "db__batch_size", lookup_key: Simple { key: "db__batch_size", py_key: Py( 0x00007f2faca52670, ), path: LookupPath( [ S( "db__batch_size", Py( 0x00007f2faca528f0, ), ), ], ), }, name_py: Py( 0x00007f2faca527f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fafb37dd0, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "verdi__shell__auto_import", lookup_key: Simple { key: "verdi__shell__auto_import", py_key: Py( 0x00007f2faca15f70, ), path: LookupPath( [ S( "verdi__shell__auto_import", Py( 0x00007f2faca15fc0, ), ), ], ), }, name_py: Py( 0x00007f2faca16010, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd811e418, ), ), on_error: Raise, validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), validate_default: false, copy_default: false, name: "default[str]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiida_loglevel", lookup_key: Simple { key: "logging__aiida_loglevel", py_key: Py( 0x00007f2faca16060, ), path: LookupPath( [ S( "logging__aiida_loglevel", Py( 0x00007f2faca160b0, ), ), ], ), }, name_py: Py( 0x00007f2faca16100, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__verdi_loglevel", lookup_key: Simple { key: "logging__verdi_loglevel", py_key: Py( 0x00007f2faca16150, ), path: LookupPath( [ S( "logging__verdi_loglevel", Py( 0x00007f2faca161a0, ), ), ], ), }, name_py: Py( 0x00007f2faca161f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__db_loglevel", lookup_key: Simple { key: "logging__db_loglevel", py_key: Py( 0x00007f2faca16240, ), path: LookupPath( [ S( "logging__db_loglevel", Py( 0x00007f2faca16290, ), ), ], ), }, name_py: Py( 0x00007f2faca162e0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd5751e30, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__plumpy_loglevel", lookup_key: Simple { key: "logging__plumpy_loglevel", py_key: Py( 0x00007f2faca16330, ), path: LookupPath( [ S( "logging__plumpy_loglevel", Py( 0x00007f2faca16380, ), ), ], ), }, name_py: Py( 0x00007f2faca163d0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__kiwipy_loglevel", lookup_key: Simple { key: "logging__kiwipy_loglevel", py_key: Py( 0x00007f2faca16420, ), path: LookupPath( [ S( "logging__kiwipy_loglevel", Py( 0x00007f2faca16470, ), ), ], ), }, name_py: Py( 0x00007f2faca164c0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__paramiko_loglevel", lookup_key: Simple { key: "logging__paramiko_loglevel", py_key: Py( 0x00007f2faca16510, ), path: LookupPath( [ S( "logging__paramiko_loglevel", Py( 0x00007f2faca16560, ), ), ], ), }, name_py: Py( 0x00007f2faca165b0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__alembic_loglevel", lookup_key: Simple { key: "logging__alembic_loglevel", py_key: Py( 0x00007f2faca16600, ), path: LookupPath( [ S( "logging__alembic_loglevel", Py( 0x00007f2faca16650, ), ), ], ), }, name_py: Py( 0x00007f2faca166a0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__sqlalchemy_loglevel", lookup_key: Simple { key: "logging__sqlalchemy_loglevel", py_key: Py( 0x00007f2faca166f0, ), path: LookupPath( [ S( "logging__sqlalchemy_loglevel", Py( 0x00007f2faca16740, ), ), ], ), }, name_py: Py( 0x00007f2faca16790, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__circus_loglevel", lookup_key: Simple { key: "logging__circus_loglevel", py_key: Py( 0x00007f2faca167e0, ), path: LookupPath( [ S( "logging__circus_loglevel", Py( 0x00007f2faca16830, ), ), ], ), }, name_py: Py( 0x00007f2faca16880, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd76a21b0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "logging__aiopika_loglevel", lookup_key: Simple { key: "logging__aiopika_loglevel", py_key: Py( 0x00007f2faca168d0, ), path: LookupPath( [ S( "logging__aiopika_loglevel", Py( 0x00007f2faca16920, ), ), ], ), }, name_py: Py( 0x00007f2faca16970, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd6e30fb0, ), ), on_error: Raise, validator: DefinitionRef( DefinitionRefValidator { definition: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]", }, ), validate_default: false, copy_default: false, name: "default[lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__showdeprecations", lookup_key: Simple { key: "warnings__showdeprecations", py_key: Py( 0x00007f2faca169c0, ), path: LookupPath( [ S( "warnings__showdeprecations", Py( 0x00007f2faca16a10, ), ), ], ), }, name_py: Py( 0x00007f2faca16a60, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "warnings__rabbitmq_version", lookup_key: Simple { key: "warnings__rabbitmq_version", py_key: Py( 0x00007f2faca16ab0, ), path: LookupPath( [ S( "warnings__rabbitmq_version", Py( 0x00007f2faca16b00, ), ), ], ), }, name_py: Py( 0x00007f2faca16b50, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf40, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_retry_initial_interval", lookup_key: Simple { key: "transport__task_retry_initial_interval", py_key: Py( 0x00007f2facbcd950, ), path: LookupPath( [ S( "transport__task_retry_initial_interval", Py( 0x00007f2facbcde30, ), ), ], ), }, name_py: Py( 0x00007f2facbcddd0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113b28, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "transport__task_maximum_attempts", lookup_key: Simple { key: "transport__task_maximum_attempts", py_key: Py( 0x00007f2facbcdef0, ), path: LookupPath( [ S( "transport__task_maximum_attempts", Py( 0x00007f2facbcdf50, ), ), ], ), }, name_py: Py( 0x00007f2facbcdfb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8113948, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "rmq__task_timeout", lookup_key: Simple { key: "rmq__task_timeout", py_key: Py( 0x00007f2faca16ba0, ), path: LookupPath( [ S( "rmq__task_timeout", Py( 0x00007f2faca16bf0, ), ), ], ), }, name_py: Py( 0x00007f2faca16c40, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd81139e8, ), ), on_error: Raise, validator: Int( IntValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[int]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "storage__sandbox", lookup_key: Simple { key: "storage__sandbox", py_key: Py( 0x00007f2faca16ce0, ), path: LookupPath( [ S( "storage__sandbox", Py( 0x00007f2faca16d30, ), ), ], ), }, name_py: Py( 0x00007f2faca16d80, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd8020c20, ), ), on_error: Raise, validator: Nullable( NullableValidator { validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), name: "nullable[str]", }, ), validate_default: false, copy_default: false, name: "default[nullable[str]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__default_enabled", lookup_key: Simple { key: "caching__default_enabled", py_key: Py( 0x00007f2faca16dd0, ), path: LookupPath( [ S( "caching__default_enabled", Py( 0x00007f2faca16e20, ), ), ], ), }, name_py: Py( 0x00007f2faca16e70, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fd800bf60, ), ), on_error: Raise, validator: Bool( BoolValidator { strict: false, }, ), validate_default: false, copy_default: false, name: "default[bool]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__enabled_for", lookup_key: Simple { key: "caching__enabled_for", py_key: Py( 0x00007f2faca16f10, ), path: LookupPath( [ S( "caching__enabled_for", Py( 0x00007f2faca16f60, ), ), ], ), }, name_py: Py( 0x00007f2faca16fb0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fc9dac500, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc8a1bf80, ), config: Py( 0x00007f2faca60a00, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, Field { name: "caching__disabled_for", lookup_key: Simple { key: "caching__disabled_for", py_key: Py( 0x00007f2faca17050, ), path: LookupPath( [ S( "caching__disabled_for", Py( 0x00007f2faca170a0, ), ), ], ), }, name_py: Py( 0x00007f2faca170f0, ), validator: WithDefault( WithDefaultValidator { default: Default( Py( 0x00007f2fb82b0980, ), ), on_error: Raise, validator: FunctionAfter( FunctionAfterValidator { validator: List( ListValidator { strict: false, item_validator: Some( Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), ), min_length: None, max_length: None, name: OnceLock( "list[str]", ), }, ), func: Py( 0x00007f2fc8a1bf80, ), config: Py( 0x00007f2faca60a00, ), name: "function-after[validate_caching_identifier_pattern(), list[str]]", field_name: None, info_arg: false, }, ), validate_default: false, copy_default: true, name: "default[function-after[validate_caching_identifier_pattern(), list[str]]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ProfileOptionsSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e18aa870, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProfileOptionsSchema", }, ), name: "nullable[ProfileOptionsSchema]", }, ), validate_default: false, copy_default: false, name: "default[nullable[ProfileOptionsSchema]]", undefined: Py( 0x00007f2fd5a7b630, ), }, ), frozen: false, }, ], model_name: "ProfileSchema", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e15c7ad0, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProfileSchema", }, ), definitions=[LaxOrStrict(LaxOrStrictValidator { strict: false, lax_validator: FunctionPlain(FunctionPlainValidator { func: Py(0x7f2facf413a0), config: Py(0x7f2faca47740), name: "function-plain[to_enum()]", field_name: None, info_arg: false }), strict_validator: JsonOrPython(JsonOrPython { json: FunctionPlain(FunctionPlainValidator { func: Py(0x7f2facf413a0), config: Py(0x7f2faca47740), name: "function-plain[to_enum()]", field_name: None, info_arg: false }), python: Chain(ChainValidator { steps: [IsInstance(IsInstanceValidator { class: Py(0x5558df002c60), class_repr: "LogLevels", name: "is-instance[LogLevels]" }), FunctionPlain(FunctionPlainValidator { func: Py(0x7f2facf40d60), config: Py(0x7f2faca47740), name: "function-plain[<lambda>()]", field_name: None, info_arg: false })], name: "chain[is-instance[LogLevels],function-plain[<lambda>()]]" }), name: "json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]" }), name: "lax-or-strict[lax=function-plain[to_enum()],strict=json-or-python[json=function-plain[to_enum()],python=chain[is-instance[LogLevels],function-plain[<lambda>()]]]]" })])#
- __weakref__#
list of weak references to the object (if defined)
- _abc_impl = <_abc._abc_data object>#
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'defer_build': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'default_user_email': FieldInfo(annotation=Union[str, NoneType], required=False), 'options': FieldInfo(annotation=Union[ProfileOptionsSchema, NoneType], required=False), 'process_control': FieldInfo(annotation=ProcessControlConfig, required=True), 'storage': FieldInfo(annotation=ProfileStorageConfig, required=True), 'test_profile': FieldInfo(annotation=bool, required=False, default=False), 'uuid': FieldInfo(annotation=str, required=False, default_factory=uuid4, description='A UUID that uniquely identifies the profile.')}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
- options: ProfileOptionsSchema | None#
- process_control: ProcessControlConfig#
- storage: ProfileStorageConfig#
- class aiida.manage.configuration.config.ProfileStorageConfig(**data: Any)[源代码]#
基类:
BaseModel
Schema for the storage backend configuration of an AiiDA profile.
- __abstractmethods__ = frozenset({})#
- __annotations__ = {'__class_vars__': 'ClassVar[set[str]]', '__private_attributes__': 'ClassVar[dict[str, ModelPrivateAttr]]', '__pydantic_complete__': 'ClassVar[bool]', '__pydantic_core_schema__': 'ClassVar[CoreSchema]', '__pydantic_custom_init__': 'ClassVar[bool]', '__pydantic_decorators__': 'ClassVar[_decorators.DecoratorInfos]', '__pydantic_extra__': 'dict[str, Any] | None', '__pydantic_fields_set__': 'set[str]', '__pydantic_generic_metadata__': 'ClassVar[_generics.PydanticGenericMetadata]', '__pydantic_parent_namespace__': 'ClassVar[dict[str, Any] | None]', '__pydantic_post_init__': "ClassVar[None | Literal['model_post_init']]", '__pydantic_private__': 'dict[str, Any] | None', '__pydantic_root_model__': 'ClassVar[bool]', '__pydantic_serializer__': 'ClassVar[SchemaSerializer]', '__pydantic_validator__': 'ClassVar[SchemaValidator]', '__signature__': 'ClassVar[Signature]', 'backend': 'str', 'config': 'Dict[str, Any]', 'model_computed_fields': 'ClassVar[dict[str, ComputedFieldInfo]]', 'model_config': 'ClassVar[ConfigDict]', 'model_fields': 'ClassVar[dict[str, FieldInfo]]'}#
- __dict__#
- __module__ = 'aiida.manage.configuration.config'#
- __pydantic_decorators__: ClassVar[_decorators.DecoratorInfos] = DecoratorInfos(validators={}, field_validators={}, root_validators={}, field_serializers={}, model_serializers={}, model_validators={}, computed_fields={})#
- __pydantic_generic_metadata__: ClassVar[_generics.PydanticGenericMetadata] = {'args': (), 'origin': None, 'parameters': ()}#
- __pydantic_parent_namespace__: ClassVar[dict[str, Any] | None] = {'AIIDA_LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Any': <pydantic._internal._model_construction._PydanticWeakRef object>, 'BaseModel': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigDict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigVersionSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ConfigurationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Dict': <pydantic._internal._model_construction._PydanticWeakRef object>, 'EntryPointError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Field': <pydantic._internal._model_construction._PydanticWeakRef object>, 'GlobalOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LOGGER': <pydantic._internal._model_construction._PydanticWeakRef object>, 'List': <pydantic._internal._model_construction._PydanticWeakRef object>, 'LogLevels': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Optional': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Profile': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ProfileOptionsSchema': <pydantic._internal._model_construction._PydanticWeakRef object>, 'StorageMigrationError': <pydantic._internal._model_construction._PydanticWeakRef object>, 'TYPE_CHECKING': False, 'Tuple': <pydantic._internal._model_construction._PydanticWeakRef object>, 'Type': <pydantic._internal._model_construction._PydanticWeakRef object>, 'ValidationError': <pydantic._internal._model_construction._PydanticWeakRef object>, '__builtins__': {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EncodingWarning': <class 'EncodingWarning'>, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'ExceptionGroup': <class 'ExceptionGroup'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': "Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.", '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>, origin='built-in'), 'abs': <built-in function abs>, 'aiter': <built-in function aiter>, 'all': <built-in function all>, 'anext': <built-in function anext>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': Copyright (c) 2001-2023 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <class 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <class 'enumerate'>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'filter': <class 'filter'>, 'float': <class 'float'>, 'format': <built-in function format>, 'frozenset': <class 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <class 'int'>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <class 'list'>, 'locals': <built-in function locals>, 'map': <class 'map'>, 'max': <built-in function max>, 'memoryview': <class 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <class 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <class 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <class 'range'>, 'repr': <built-in function repr>, 'reversed': <class 'reversed'>, 'round': <built-in function round>, 'set': <class 'set'>, 'setattr': <built-in function setattr>, 'slice': <class 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'sum': <built-in function sum>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'vars': <built-in function vars>, 'zip': <class 'zip'>}, '__cached__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/__pycache__/config.cpython-311.pyc', '__doc__': 'Module that defines the configuration file of an AiiDA instance and functions to create and load it.\n\nDespite the import of the annotations backport below which enables postponed type annotation evaluation as implemented\nwith PEP 563 (https://peps.python.org/pep-0563/), this is not compatible with ``pydantic`` for Python 3.9 and older (\nSee https://github.com/pydantic/pydantic/issues/2678 for details).\n', '__file__': '/home/docs/checkouts/readthedocs.org/user_builds/aiida-core-zh-cn/envs/latest/lib/python3.11/site-packages/aiida/manage/configuration/config.py', '__loader__': <pydantic._internal._model_construction._PydanticWeakRef object>, '__name__': 'aiida.manage.configuration.config', '__package__': 'aiida.manage.configuration', '__spec__': <pydantic._internal._model_construction._PydanticWeakRef object>, 'annotations': <pydantic._internal._model_construction._PydanticWeakRef object>, 'codecs': <pydantic._internal._model_construction._PydanticWeakRef object>, 'contextlib': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_serializer': <pydantic._internal._model_construction._PydanticWeakRef object>, 'field_validator': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'get_option_names': <pydantic._internal._model_construction._PydanticWeakRef object>, 'io': <pydantic._internal._model_construction._PydanticWeakRef object>, 'json': <pydantic._internal._model_construction._PydanticWeakRef object>, 'os': <pydantic._internal._model_construction._PydanticWeakRef object>, 'parse_option': <pydantic._internal._model_construction._PydanticWeakRef object>, 'subject': <pydantic._internal._mock_val_ser.MockValSer object>, 'uuid': <pydantic._internal._model_construction._PydanticWeakRef object>}#
- __pydantic_serializer__: ClassVar[SchemaSerializer] = SchemaSerializer(serializer=Model( ModelSerializer { class: Py( 0x00005558e1671db0, ), serializer: Fields( GeneralFieldsSerializer { fields: { "config": SerField { key_py: Py( 0x00007f2fd71b5df0, ), alias: None, alias_py: None, serializer: Some( Dict( DictSerializer { key_serializer: Str( StrSerializer, ), value_serializer: Any( AnySerializer, ), filter: SchemaFilter { include: None, exclude: None, }, name: "dict[str, any]", }, ), ), required: true, }, "backend": SerField { key_py: Py( 0x00007f2fd658c630, ), alias: None, alias_py: None, serializer: Some( Str( StrSerializer, ), ), required: true, }, }, computed_fields: Some( ComputedFields( [], ), ), mode: SimpleDict, extra_serializer: None, filter: SchemaFilter { include: None, exclude: None, }, required_fields: 2, }, ), has_extra: false, root_model: false, name: "ProfileStorageConfig", }, ), definitions=[])#
- __pydantic_validator__: ClassVar[SchemaValidator] = SchemaValidator(title="ProfileStorageConfig", validator=Model( ModelValidator { revalidate: Never, validator: ModelFields( ModelFieldsValidator { fields: [ Field { name: "backend", lookup_key: Simple { key: "backend", py_key: Py( 0x00007f2faca9bdf0, ), path: LookupPath( [ S( "backend", Py( 0x00007f2faca9bf70, ), ), ], ), }, name_py: Py( 0x00007f2faca9beb0, ), validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), frozen: false, }, Field { name: "config", lookup_key: Simple { key: "config", py_key: Py( 0x00007f2faca9be30, ), path: LookupPath( [ S( "config", Py( 0x00007f2faca9bef0, ), ), ], ), }, name_py: Py( 0x00007f2faca9bfb0, ), validator: Dict( DictValidator { strict: false, key_validator: Str( StrValidator { strict: false, coerce_numbers_to_str: false, }, ), value_validator: Any( AnyValidator, ), min_length: None, max_length: None, name: "dict[str,any]", }, ), frozen: false, }, ], model_name: "ProfileStorageConfig", extra_behavior: Ignore, extras_validator: None, strict: false, from_attributes: false, loc_by_alias: true, }, ), class: Py( 0x00005558e1671db0, ), post_init: None, frozen: false, custom_init: false, root_model: false, undefined: Py( 0x00007f2fd5a7b630, ), name: "ProfileStorageConfig", }, ), definitions=[])#
- __weakref__#
list of weak references to the object (if defined)
- _abc_impl = <_abc._abc_data object>#
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'defer_build': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'backend': FieldInfo(annotation=str, required=True), 'config': FieldInfo(annotation=Dict[str, Any], required=True)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.
Definition of known configuration options and methods to parse and get option values.
- class aiida.manage.configuration.options.Option(name: str, schema: Dict[str, Any], field)[源代码]#
基类:
object
Represent a configuration option schema.
- __dict__ = mappingproxy({'__module__': 'aiida.manage.configuration.options', '__doc__': 'Represent a configuration option schema.', '__init__': <function Option.__init__>, '__str__': <function Option.__str__>, 'name': <property object>, 'valid_type': <property object>, 'schema': <property object>, 'default': <property object>, 'description': <property object>, 'global_only': <property object>, 'validate': <function Option.validate>, '__dict__': <attribute '__dict__' of 'Option' objects>, '__weakref__': <attribute '__weakref__' of 'Option' objects>, '__annotations__': {}})#
- __module__ = 'aiida.manage.configuration.options'#
- __weakref__#
list of weak references to the object (if defined)
- aiida.manage.configuration.options.get_option_names() List[str] [源代码]#
Return a list of available option names.
- aiida.manage.configuration.options.parse_option(option_name: str, option_value: Any) Tuple[Option, Any] [源代码]#
Parse and validate a value for a configuration option.
- 参数:
option_name – the name of the configuration option
option_value – the option value
- 返回:
a tuple of the option and the parsed value
AiiDA profile related code
- class aiida.manage.configuration.profile.Profile(name: str, config: Mapping[str, Any], validate=True)[源代码]#
基类:
object
Class that models a profile as it is stored in the configuration file of an AiiDA instance.
- KEY_DEFAULT_USER_EMAIL = 'default_user_email'#
- KEY_OPTIONS = 'options'#
- KEY_PROCESS = 'process_control'#
- KEY_PROCESS_BACKEND = 'backend'#
- KEY_PROCESS_CONFIG = 'config'#
- KEY_STORAGE = 'storage'#
- KEY_STORAGE_BACKEND = 'backend'#
- KEY_STORAGE_CONFIG = 'config'#
- KEY_TEST_PROFILE = 'test_profile'#
- KEY_UUID = 'PROFILE_UUID'#
- REQUIRED_KEYS = ('storage', 'process_control')#
- __dict__ = mappingproxy({'__module__': 'aiida.manage.configuration.profile', '__doc__': 'Class that models a profile as it is stored in the configuration file of an AiiDA instance.', 'KEY_UUID': 'PROFILE_UUID', 'KEY_DEFAULT_USER_EMAIL': 'default_user_email', 'KEY_STORAGE': 'storage', 'KEY_PROCESS': 'process_control', 'KEY_STORAGE_BACKEND': 'backend', 'KEY_STORAGE_CONFIG': 'config', 'KEY_PROCESS_BACKEND': 'backend', 'KEY_PROCESS_CONFIG': 'config', 'KEY_OPTIONS': 'options', 'KEY_TEST_PROFILE': 'test_profile', 'REQUIRED_KEYS': ('storage', 'process_control'), '__init__': <function Profile.__init__>, '__repr__': <function Profile.__repr__>, 'copy': <function Profile.copy>, 'uuid': <property object>, 'default_user_email': <property object>, 'storage_backend': <property object>, 'storage_config': <property object>, 'set_storage': <function Profile.set_storage>, 'storage_cls': <property object>, 'process_control_backend': <property object>, 'process_control_config': <property object>, 'set_process_controller': <function Profile.set_process_controller>, 'options': <property object>, 'get_option': <function Profile.get_option>, 'set_option': <function Profile.set_option>, 'unset_option': <function Profile.unset_option>, 'name': <property object>, 'dictionary': <property object>, 'is_test_profile': <property object>, 'repository_path': <property object>, 'rmq_prefix': <property object>, 'get_rmq_url': <function Profile.get_rmq_url>, 'filepaths': <property object>, '__dict__': <attribute '__dict__' of 'Profile' objects>, '__weakref__': <attribute '__weakref__' of 'Profile' objects>, '__annotations__': {'_attributes': 'Dict[str, Any]'}})#
- __init__(name: str, config: Mapping[str, Any], validate=True)[源代码]#
Load a profile with the profile configuration.
- __module__ = 'aiida.manage.configuration.profile'#
- __weakref__#
list of weak references to the object (if defined)
- property dictionary: Dict[str, Any]#
Return the profile attributes as a dictionary with keys as it is stored in the config
- 返回:
the profile configuration dictionary
- property filepaths#
Return the filepaths used by this profile.
- 返回:
a dictionary of filepaths
- property is_test_profile: bool#
Return whether the profile is a test profile
- 返回:
boolean, True if test profile, False otherwise
- property name#
Return the profile name.
- 返回:
the profile name
- property options#
- property process_control_config: Dict[str, Any]#
Return the configuration required by the process control backend.
- property repository_path: Path#
Return the absolute path of the repository configured for this profile.
The URI should be in the format protocol://address
- Note:
At the moment, only the file protocol is supported.
- 返回:
absolute filepath of the profile’s file repository
- property rmq_prefix: str#
Return the prefix that should be used for RMQ resources
- 返回:
the rmq prefix string
- set_option(option_key, value, override=True)[源代码]#
Set a configuration option for a certain scope.
- 参数:
option_key – the key of the configuration option
option_value – the option value
override – boolean, if False, will not override the option if it already exists
- set_process_controller(name: str, config: Dict[str, Any]) None [源代码]#
Set the process control backend and its configuration.
- 参数:
name – the name of the process backend
config – the configuration of the process backend
- set_storage(name: str, config: Dict[str, Any]) None [源代码]#
Set the storage backend and its configuration.
- 参数:
name – the name of the storage backend
config – the configuration of the storage backend
- property storage_cls: Type[StorageBackend]#
Return the storage backend class for this profile.
Base settings required for the configuration of an AiiDA instance.
- aiida.manage.configuration.settings.create_instance_directories() None [源代码]#
Create the base directories required for a new AiiDA instance.
This will create the base AiiDA directory defined by the AIIDA_CONFIG_FOLDER variable, unless it already exists. Subsequently, it will create the daemon directory within it and the daemon log directory.
- aiida.manage.configuration.settings.set_configuration_directory(aiida_config_folder: Path | None = None) None [源代码]#
Determine location of configuration directory, set related global variables and create instance directories.
The location of the configuration folder will be determined and optionally created following these heuristics:
If an explicit path is provided by aiida_config_folder, that will be set as the configuration folder.
Otherwise, if the AIIDA_PATH variable is set, all the paths will be checked to see if they contain a configuration folder. The first one to be encountered will be set as AIIDA_CONFIG_FOLDER. If none of them contain one, a configuration folder will be created in the last path considered.
If the AIIDA_PATH variable is not set the DEFAULT_AIIDA_PATH value will be used as base path and if it does not yet contain a configuration folder, one will be created.
In principle then, a configuration folder should always be found or automatically created.