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

Method __init__

django/contrib/postgres/search.py:395–398  ·  view source on GitHub ↗
(self, string, expression, **extra)

Source from the content-addressed store, hash-verified

393 output_field = FloatField()
394
395 def __init__(self, string, expression, **extra):
396 if not hasattr(string, "resolve_expression"):
397 string = Value(string)
398 super().__init__(string, expression, **extra)
399
400
401class TrigramSimilarity(TrigramBase):

Callers

nothing calls this directly

Calls 2

ValueClass · 0.90
__init__Method · 0.45

Tested by

no test coverage detected