def __call__ ( self , factory_name , * args , * * kwargs ) : return self . factories [ factory_name ] ( * args , * * kwargs )
how to make python use artifactory
Create object .
def __call__(self, factory_name, *args, **kwargs):
        """Create object."""
        return self.factories[factory_name](*args, **kwargs)