MCPcopy
hub / github.com/django/django / __init__

Method __init__

django/contrib/gis/db/models/functions.py:216–220  ·  view source on GitHub ↗
(self, expression, version=2, precision=8, **extra)

Source from the content-addressed store, hash-verified

214 output_field = TextField()
215
216 def __init__(self, expression, version=2, precision=8, **extra):
217 expressions = [version, expression]
218 if precision is not None:
219 expressions.append(self._handle_param(precision, "precision", int))
220 super().__init__(*expressions, **extra)
221
222 def as_oracle(self, compiler, connection, **extra_context):
223 source_expressions = self.get_source_expressions()

Callers

nothing calls this directly

Calls 2

_handle_paramMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected