abacusai.api_class.abstract
Module Contents
Classes
Helper class that provides a standard way to create an ABC using |
|
A class to select and return the the correct type of ApiClass based on a serialized instance. |
Functions
|
- abacusai.api_class.abstract.camel_case(value)
- class abacusai.api_class.abstract.ApiClass
Bases:
abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- __post_init__()
- to_dict()
Standardizes converting an ApiClass to dictionary. Keys of response dictionary are converted to camel case. This also validates the fields ( type, value, etc ) received in the dictionary.