Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mlco2/codecarbon
/ get_datetime_with_timezone
Function
get_datetime_with_timezone
codecarbon/core/api_client.py:28–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
27
28
def
get_datetime_with_timezone():
29
timestamp = str(arrow.now().isoformat())
30
return
timestamp
31
32
33
class
ApiClient:
# (AsyncClient)
Callers
3
config
Function · 0.90
add_emission
Method · 0.85
_create_run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…