quartic_sdk.core.entity_helpers.entity_factory

Module Contents

Classes

EntityFactory

The factory is used to create the respective entities depending upon

class quartic_sdk.core.entity_helpers.entity_factory.EntityFactory

The factory is used to create the respective entities depending upon the requirements

classmethod follow_single_strategy(cls, class_type, body, api_helper)

The given method creates a new instance of the object as required based upon the class_type :param class_type: Type of the class to be created :param body: Body through which the entity is to be created :param api_helper: APIHelper instance

classmethod follow_list_strategy(cls, class_type, body, api_helper)

The given method creates a new instance of BaseEntityList with the objects as required based upon the class_type :param class_type: Type of the class to be created :param body: Body through which the entity is to be created :param api_helper: APIHelper instance