MCPcopy
hub / github.com/django/django / copy

Method copy

django/db/models/expressions.py:1136–1140  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1134 return template % data, tuple(params)
1135
1136 def copy(self):
1137 copy = super().copy()
1138 copy.source_expressions = self.source_expressions[:]
1139 copy.extra = self.extra.copy()
1140 return copy
1141
1142 @cached_property
1143 def allowed_default(self):

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected