API Documentation
Other Tools
spoc.frozendict
Immutable Dictionary
spoc.search_object(dotted_path)
spoc.get_fields(obj)
Retrieve the non-dunder (non-magic) fields of an object.
Parameters:
-
obj(Any) –The object from which to retrieve fields.
Returns:
-
list(list) –A list of attribute names (fields) that do not start with double underscores (
__).