API reference

python:astx:astx.NamespaceType

class NamespaceType

NamespaceType(namespace_key: str, *, namespace_kind: NamespaceKind = NamespaceKind.MODULE, display_name: str | None = None)

Source: packages/astx/src/astx/modules.py:29

Declared as: python:astx:astx.modules.NamespaceType

Semantic-only namespace type.

Represent one imported namespace value during semantic analysis and lowering without modeling it as a user-defined runtime aggregate.

Attributes

Methods

Properties

Attributes

Search documentation

Type to search.