MCPcopy Create free account
hub / github.com/FactoryBoy/factory_boy / create

Method create

tests/test_using.py:75–79  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

73 return instance, True
74
75 def create(self, **kwargs):
76 instance = FakeModel.create(**kwargs)
77 instance.id = 2
78 instance._defaults = None
79 return instance
80
81 def values_list(self, *args, **kwargs):
82 return self

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected