Represents an external module, like datetime
, that can be referenced. These are only added to the graph during import resolution and will not exist in a local file’s subgraph. This is because we don’t know what an import is referencing or resolves to until we see the full codebase.
str
None
str
str | None
str | None
str
int | None
Editable
with new_src
.
str
bool
int
bool
None
Union[list[str], str]
bool
list[str]
bool
str | None, optional
str | None, optional
bool, optional
str
str
int
str
bool
str
bool, optional
bool, optional
int, optional
bool, optional
None
str
bool
bool
int
bool
None
bool
bool
None
bool
int
bool
None
str
int
tuple[NodeId, NodeId]
str
str
int, optional
bool, optional
int, optional
int
regex_pattern
, similar to python’s re.search().
str
bool
bool
str
None