API reference
python:astx:astx.literals.temporal.LiteralTimestamp
class LiteralTimestamp
LiteralTimestamp(value: str, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/literals/temporal.py:134
LiteralTimestamp data type class.
Attributes
-
value — Type: str
-
type_ — Type: Timestamp
-
loc — Type: SourceLocation
Methods
-
__init__ — Initialize LiteralTimestamp.
-
__str__ — Return a string that represents the object.
-
get_struct — Return the structure of the LiteralTimestamp object.