MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / char_fields_context

Function char_fields_context

tests/test_q.py:149–156  ·  view source on GitHub ↗

Context for CharFields model resolution.

(db)

Source from the content-addressed store, hash-verified

147
148@pytest.fixture
149def char_fields_context(db):
150 """Context for CharFields model resolution."""
151 return ResolveContext(
152 model=CharFields,
153 table=CharFields._meta.basequery,
154 annotations={},
155 custom_filters={},
156 )
157
158
159def test_q_call_basic(int_fields_context):

Callers

nothing calls this directly

Calls 1

ResolveContextClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…