def __init__(self, klass, name, definitions, faker, resolver=None):
        """
        :param klass: The class
        :type klass: class

        :param name: The type
        :type name: str

        :param definitions: The factory definitions
        :type definitions: dict

        :param faker: The faker generator instance
        :type faker: faker.Generator
        """
        self._name = name
        self._klass = klass
        self._faker = faker
        self._definitions = definitions
        self._amount = 1
        self._resolver = resolver
def __init__ ( self , klass , name , definitions , faker , resolver = None ) : self . _name = name self . _klass = klass self . _faker = faker self . _definitions = definitions self . _amount = 1 self . _resolver = resolver
:param klass: The class
        :type klass: class

        :param name: The type
        :type name: str

        :param definitions: The factory definitions
        :type definitions: dict

        :param faker: The faker generator instance
        :type faker: faker.Generator