LookupPathCollection
This class manages a collection of lookup paths, organizing them by primary name and a list of alternative aliases. It provides a structured way to store and retrieve path information for entities that may be identified by multiple identifiers.
Attributes
| Attribute | Type | Description |
|---|---|---|
| by_name | [LookupPath](lookuppath.md?sid=lookup_key_lookuppath) | The primary lookup path used to resolve a resource by its canonical name. |
| by_alias | SmallVec< [LookupPath; 1] > | A collection of alternative lookup paths used to resolve a resource by its defined aliases. |
Methods
by_name()
def by_name() - > [LookupPath](lookuppath.md?sid=lookup_key_lookuppath)
The primary lookup path associated with the resource name.
Returns
| Type | Description |
|---|---|
[LookupPath](lookuppath.md?sid=lookup_key_lookuppath) | The primary path used for name-based resolution. |
by_alias()
def by_alias() - > SmallVec< [LookupPath; 1] >
A collection of alternative lookup paths used for alias-based resolution.
Returns
| Type | Description |
|---|---|
SmallVec< [LookupPath; 1] > | A small vector containing secondary lookup paths. |