MCPcopy
hub / github.com/encode/django-rest-framework / _hasattr

Function _hasattr

rest_framework/request.py:89–90  ·  view source on GitHub ↗
(obj, name)

Source from the content-addressed store, hash-verified

87
88
89def _hasattr(obj, name):
90 return not getattr(obj, name) is Empty
91
92
93def clone_request(request, method):

Callers 5

streamMethod · 0.85
dataMethod · 0.85
_load_data_and_filesMethod · 0.85
POSTMethod · 0.85
FILESMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected