MCPcopy Index your code
hub / github.com/hunvreus/devpush / utc_now

Function utc_now

app/models.py:47–49  ·  view source on GitHub ↗

Get current UTC time as timezone-naive datetime

()

Source from the content-addressed store, hash-verified

45
46
47def utc_now() -> datetime:
48 """Get current UTC time as timezone-naive datetime"""
49 return datetime.now(timezone.utc).replace(tzinfo=None)
50
51
52@lru_cache

Callers 15

_refresh_auth_tokenFunction · 0.90
async_validate_emailMethod · 0.90
provision_storageFunction · 0.90
deprovision_storageFunction · 0.90
reset_storageFunction · 0.90
user_settingsFunction · 0.90
user_notificationsFunction · 0.90
project_settingsFunction · 0.90
project_deploymentFunction · 0.90
_create_session_cookieFunction · 0.90
auth_loginFunction · 0.90
auth_email_verifyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected