API reference
python:astx:astx.literals.LiteralDateTime.__init__
method __init__
__init__(value: str, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/literals/temporal.py:180
Declared as: python:astx:astx.literals.temporal.LiteralDateTime.__init__
Initialize LiteralDateTime.
Parameters
-
value — Value to process.; Type: str
-
loc — Source coordinates associated with the node.; Type: SourceLocation
Returns
Type: None