serializable.formatters
Module Contents
Classes
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
- class serializable.formatters.BaseNameFormatter
Bases:
abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- abstract classmethod encode(property_name: str) str
- abstract classmethod decode(property_name: str) str
- classmethod decode_as_class_name(name: str) str
- classmethod decode_handle_python_builtins_and_keywords(name: str) str
- classmethod encode_handle_python_builtins_and_keywords(name: str) str
- class serializable.formatters.CamelCasePropertyNameFormatter
Bases:
BaseNameFormatter
Helper class that provides a standard way to create an ABC using inheritance.
- classmethod encode(property_name: str) str
- classmethod decode(property_name: str) str
- classmethod decode_as_class_name(name: str) str
- classmethod decode_handle_python_builtins_and_keywords(name: str) str
- classmethod encode_handle_python_builtins_and_keywords(name: str) str
- class serializable.formatters.KebabCasePropertyNameFormatter
Bases:
BaseNameFormatter
Helper class that provides a standard way to create an ABC using inheritance.
- classmethod encode(property_name: str) str
- classmethod decode(property_name: str) str
- classmethod decode_as_class_name(name: str) str
- classmethod decode_handle_python_builtins_and_keywords(name: str) str
- classmethod encode_handle_python_builtins_and_keywords(name: str) str
- class serializable.formatters.SnakeCasePropertyNameFormatter
Bases:
BaseNameFormatter
Helper class that provides a standard way to create an ABC using inheritance.
- classmethod encode(property_name: str) str
- classmethod decode(property_name: str) str
- classmethod decode_as_class_name(name: str) str
- classmethod decode_handle_python_builtins_and_keywords(name: str) str
- classmethod encode_handle_python_builtins_and_keywords(name: str) str
- class serializable.formatters.CurrentFormatter
- formatter: Type[BaseNameFormatter]