Properties


full_name

The full name including the object lookup (if applicable).

Examples: For a.b, the full name is a.b

def full_name(self) -> str | None:
    ...

name

The name of the object excluding whichever namespace precedes it, as a string.

Examples: For a.b, the name is b

def name(self) -> str | None:
    ...

Methods


get_name

Returns the Name of the object, as a Name (editable)

def get_name(self) -> Name | ChainedAttribute | None:
    ...

rename

Sets the name of the object as well its usages

def rename(self, name: str) -> None:
    ...

set_name

Sets the name of the object

def set_name(self, name: str) -> None:
    ...