understatapi.utils module¶
Helper functions for formatting data
- understatapi.utils.get_all_methods(cls)[source]¶
Get the names of all methods in a class, excluding methods decorated with
@property,@classmethod, etc- Parameters
cls (
type) – The class to get the methods for- Return type
List[str]- Returns
A list of the names of the methods
- understatapi.utils.get_public_methods(cls)[source]¶
Get the names of all public methods in a class
- Parameters
cls (
type) – The class to get all public methods for- Return type
List[str]- Returns
A list of the names of the public methods