mainframe.models.scan_cache¶
Bounded wire format for the optional durable scanner cache.
Attributes¶
Classes¶
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
Module Contents¶
- class mainframe.models.scan_cache.CacheContext(/, **data: Any)[source]¶
Bases:
pydantic.BaseModel- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_complete__[source]¶
Whether model building is completed, or if there are still undefined fields.
- __pydantic_decorators__[source]¶
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__[source]¶
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__[source]¶
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_serializer__[source]¶
The pydantic-core SchemaSerializer used to dump instances of the model.
- __pydantic_validator__[source]¶
The pydantic-core SchemaValidator used to validate instances of the model.
- __pydantic_fields__[source]¶
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__[source]¶
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
- __pydantic_extra__[source]¶
A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.
- class mainframe.models.scan_cache.CacheKey(/, **data: Any)[source]¶
Bases:
pydantic.BaseModel- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_complete__[source]¶
Whether model building is completed, or if there are still undefined fields.
- __pydantic_decorators__[source]¶
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__[source]¶
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__[source]¶
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_serializer__[source]¶
The pydantic-core SchemaSerializer used to dump instances of the model.
- __pydantic_validator__[source]¶
The pydantic-core SchemaValidator used to validate instances of the model.
- __pydantic_fields__[source]¶
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__[source]¶
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
- __pydantic_extra__[source]¶
A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.
- class mainframe.models.scan_cache.CacheValue(/, **data: Any)[source]¶
Bases:
CacheKey- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_complete__[source]¶
Whether model building is completed, or if there are still undefined fields.
- __pydantic_decorators__[source]¶
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__[source]¶
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__[source]¶
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_serializer__[source]¶
The pydantic-core SchemaSerializer used to dump instances of the model.
- __pydantic_validator__[source]¶
The pydantic-core SchemaValidator used to validate instances of the model.
- __pydantic_fields__[source]¶
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__[source]¶
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
- class mainframe.models.scan_cache.CacheLookup(/, **data: Any)[source]¶
Bases:
pydantic.BaseModel- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_complete__[source]¶
Whether model building is completed, or if there are still undefined fields.
- __pydantic_decorators__[source]¶
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__[source]¶
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__[source]¶
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_serializer__[source]¶
The pydantic-core SchemaSerializer used to dump instances of the model.
- __pydantic_validator__[source]¶
The pydantic-core SchemaValidator used to validate instances of the model.
- __pydantic_fields__[source]¶
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__[source]¶
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
- __pydantic_extra__[source]¶
A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.
- context: CacheContext[source]¶
- class mainframe.models.scan_cache.CacheReply(/, **data: Any)[source]¶
Bases:
pydantic.BaseModel- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_complete__[source]¶
Whether model building is completed, or if there are still undefined fields.
- __pydantic_decorators__[source]¶
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__[source]¶
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__[source]¶
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_serializer__[source]¶
The pydantic-core SchemaSerializer used to dump instances of the model.
- __pydantic_validator__[source]¶
The pydantic-core SchemaValidator used to validate instances of the model.
- __pydantic_fields__[source]¶
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__[source]¶
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
- __pydantic_extra__[source]¶
A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.
- entries: list[CacheValue] = None[source]¶
- class mainframe.models.scan_cache.CacheLease(/, **data: Any)[source]¶
Bases:
pydantic.BaseModel- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_complete__[source]¶
Whether model building is completed, or if there are still undefined fields.
- __pydantic_decorators__[source]¶
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__[source]¶
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__[source]¶
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_serializer__[source]¶
The pydantic-core SchemaSerializer used to dump instances of the model.
- __pydantic_validator__[source]¶
The pydantic-core SchemaValidator used to validate instances of the model.
- __pydantic_fields__[source]¶
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__[source]¶
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
- class mainframe.models.scan_cache.CacheWrite(/, **data: Any)[source]¶
Bases:
pydantic.BaseModel- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_complete__[source]¶
Whether model building is completed, or if there are still undefined fields.
- __pydantic_decorators__[source]¶
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__[source]¶
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__[source]¶
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_serializer__[source]¶
The pydantic-core SchemaSerializer used to dump instances of the model.
- __pydantic_validator__[source]¶
The pydantic-core SchemaValidator used to validate instances of the model.
- __pydantic_fields__[source]¶
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__[source]¶
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.
- __pydantic_extra__[source]¶
A dictionary containing extra values, if [extra][pydantic.config.ConfigDict.extra] is set to ‘allow’.
- context: CacheContext[source]¶
- lease: CacheLease[source]¶
- entries: Annotated[list[CacheValue], Field(max_length=128)][source]¶
- class mainframe.models.scan_cache.CacheWriteReply(/, **data: Any)[source]¶
Bases:
pydantic.BaseModel- !!! abstract “Usage Documentation”
[Models](../concepts/models.md)
A base class for creating Pydantic models.
- __pydantic_complete__[source]¶
Whether model building is completed, or if there are still undefined fields.
- __pydantic_decorators__[source]¶
Metadata containing the decorators defined on the model. This replaces Model.__validators__ and Model.__root_validators__ from Pydantic V1.
- __pydantic_generic_metadata__[source]¶
A dictionary containing metadata about generic Pydantic models. The origin and args items map to the [__origin__][genericalias.__origin__] and [__args__][genericalias.__args__] attributes of [generic aliases][types-genericalias], and the parameter item maps to the __parameter__ attribute of generic classes.
- __pydantic_parent_namespace__[source]¶
Parent namespace of the model, used for automatic rebuilding of models.
- __pydantic_serializer__[source]¶
The pydantic-core SchemaSerializer used to dump instances of the model.
- __pydantic_validator__[source]¶
The pydantic-core SchemaValidator used to validate instances of the model.
- __pydantic_fields__[source]¶
A dictionary of field names and their corresponding [FieldInfo][pydantic.fields.FieldInfo] objects.
- __pydantic_computed_fields__[source]¶
A dictionary of computed field names and their corresponding [ComputedFieldInfo][pydantic.fields.ComputedFieldInfo] objects.