MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / parse_datetime

Function parse_datetime

src/opencode_ai/_compat.py:28–29  ·  view source on GitHub ↗
(value: Union[datetime, StrBytesIntFloat])

Source from the content-addressed store, hash-verified

26 ...
27
28 def parse_datetime(value: Union[datetime, StrBytesIntFloat]) -> datetime: # noqa: ARG001
29 ...
30
31 def get_args(t: type[Any]) -> tuple[Any, ...]: # noqa: ARG001
32 ...

Callers 3

construct_typeFunction · 0.85

Calls

no outgoing calls

Tested by 2