  def _Api(self, api_class: Callable[[client.ApiClient], T]) -> T:
    """Given an API class, creates an instance with the authenticated client.

    Example usage:
    ```
    nodes = self._Api(CoreV1Api).list_node()
    ```

    Args:
      api_class (Callable[[ApiClient], T]): The API class.

    Returns:
      T: An authenticated instance of the desired API class.
    """
    return api_class(self._api_client)
Given an API class, creates an instance with the authenticated client.

Example usage:
```
nodes = self._Api(CoreV1Api).list_node()
```

Args:
api_class (Callable[[ApiClient], T]): The API class.

Returns:
T: An authenticated instance of the desired API class.
libcloudforensics/providers/kubernetes/base.py