API reference

python:astx:astx.LiteralDict

class LiteralDict

LiteralDict(elements: dict[Literal, Literal], loc: SourceLocation = NO_SOURCE_LOCATION)

Source: packages/astx/src/astx/literals/collections.py:130

Declared as: python:astx:astx.literals.collections.LiteralDict

Literal representation of a Dictionary.

Attributes

Methods

Attributes

Search documentation

Type to search.