RequestCacheConfig
- class app.util.requests.config.cache.RequestCacheConfig[source]
Bases:
BaseConfigModel
Inheritance Diagram for RequestCacheConfig
Methods
model_post_init
(context)Validate the filetype is compatible with the backend.
Attributes
Configuration for the model, should be a dictionary conforming to
ConfigDict
.inherited
defaulted
instance_name
instance_parent_weakref
- backend: RequestsCacheBackend
- property backend_effective: RequestsCacheBackend
- filetype: RequestsCacheFileType
- property filetype_effective: RequestsCacheFileType
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True, 'serialize_by_alias': True, 'validate_assignment': True, 'validate_by_alias': True}
Configuration for the model, should be a dictionary conforming to
ConfigDict
.
- root_dir: RequestsCacheRootDir