MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / instance

Function instance

src/pendulum/__init__.py:203–206  ·  view source on GitHub ↗
(
    obj: _datetime.datetime,
    tz: str | Timezone | FixedTimezone | _datetime.tzinfo | None = UTC,
)

Source from the content-addressed store, hash-verified

201
202@overload
203def instance(
204 obj: _datetime.datetime,
205 tz: str | Timezone | FixedTimezone | _datetime.tzinfo | None = UTC,
206) -> DateTime: ...
207
208
209@overload

Callers

nothing calls this directly

Calls 2

dateFunction · 0.85
instanceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…