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

Function parse

src/pendulum/parser.py:32–36  ·  view source on GitHub ↗
(text: str, **options: t.Any)

Source from the content-addressed store, hash-verified

30
31
32def parse(text: str, **options: t.Any) -> Date | Time | DateTime | Duration:
33 # Use the mock now value if it exists
34 options["now"] = options.get("now")
35
36 return _parse(text, **options)
37
38
39def _parse(

Callers

nothing calls this directly

Calls 2

getMethod · 0.80
_parseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…