Looks up an API function by name. Args: name: The name of the function to get. Returns: The requested ApiFunction or None if not found.
(cls, name: str)
| 145 | |
| 146 | @classmethod |
| 147 | def lookupInternal(cls, name: str) -> ApiFunction | None: |
| 148 | """Looks up an API function by name. |
| 149 | |
| 150 | Args: |
| 151 | name: The name of the function to get. |
| 152 | |
| 153 | Returns: |
| 154 | The requested ApiFunction or None if not found. |
| 155 | """ |
| 156 | cls.initialize() |
| 157 | return cls._api.get(name, None) |
| 158 | |
| 159 | @classmethod |
| 160 | def initialize(cls) -> None: |
no test coverage detected