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

Function naive

src/pendulum/__init__.py:172–185  ·  view source on GitHub ↗

Return a naive DateTime.

(
    year: int,
    month: int,
    day: int,
    hour: int = 0,
    minute: int = 0,
    second: int = 0,
    microsecond: int = 0,
    fold: int = 1,
)

Source from the content-addressed store, hash-verified

170
171
172def naive(
173 year: int,
174 month: int,
175 day: int,
176 hour: int = 0,
177 minute: int = 0,
178 second: int = 0,
179 microsecond: int = 0,
180 fold: int = 1,
181) -> DateTime:
182 """
183 Return a naive DateTime.
184 """
185 return DateTime(year, month, day, hour, minute, second, microsecond, fold=fold)
186
187
188def date(year: int, month: int, day: int) -> Date:

Callers

nothing calls this directly

Calls 1

DateTimeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…