MCPcopy
hub / github.com/django/django / time

Method time

tests/cache/tests.py:1890–1891  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1888 self._time = time.time()
1889
1890 def time(self):
1891 return self._time
1892
1893 def sleep(self, seconds):
1894 self._time += seconds

Callers 15

process_responseMethod · 0.80
rfc2822_dateFunction · 0.80
rfc3339_dateFunction · 0.80
timesinceFunction · 0.80
patch_response_headersFunction · 0.80
parse_timeFunction · 0.80
process_requestMethod · 0.80
set_cookieMethod · 0.80
timestampMethod · 0.80
unsignMethod · 0.80
_is_expiredMethod · 0.80
get_backend_timeoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected