snakia.field.field
Functions
|
A decorator indicating abstract methods. |
|
A decorator to indicate final methods and final classes. |
|
Create a new class that inherits from the given class. |
Classes
|
Helper class that provides a standard way to create an ABC using inheritance. |
|
|
|
Abstract base class for generic types. |
|
|
|
Type variable. |
- class snakia.field.field.Field(default_value)[source]
Bases:
ABC,PrivProperty[T],Generic[T]- abstract deserialize(serialized, /)[source]
Deserialize a value
- Parameters:
serialized (bytes) – serialized value
- Returns:
deserialized value
- Return type:
T
- property name: str
Return the name of the variable associated with the property.