(
self, client: RedFishClient, prefix: str = RedFishClient.PREFIX
)
| 23 | NAME: str = "EndpointMgr" |
| 24 | |
| 25 | def __init__( |
| 26 | self, client: RedFishClient, prefix: str = RedFishClient.PREFIX |
| 27 | ) -> None: |
| 28 | self.log = get_logger(f"{__name__}:{EndpointMgr.NAME}") |
| 29 | self.prefix: str = prefix |
| 30 | self.client: RedFishClient = client |
| 31 | self._endpoints: Dict[str, "Endpoint"] = {} |
| 32 | self._session_url: str = "" |
| 33 | |
| 34 | def __getitem__(self, index: str) -> Endpoint: |
| 35 | if index not in self._endpoints: |
nothing calls this directly
no test coverage detected