Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ _get_lookup
Method
_get_lookup
django/db/models/query_utils.py:328–329 ·
view source on GitHub ↗
(self, lookup_name)
Source
from the content-addressed store, hash-verified
326
327
class
RegisterLookupMixin:
328
def
_get_lookup(self, lookup_name):
329
return
self.get_lookups().get(lookup_name, None)
330
331
@functools.cache
332
def
get_class_lookups(cls):
Callers
2
get_lookup
Method · 0.95
get_transform
Method · 0.95
Calls
2
get_lookups
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected