diff --git a/linodecli/cli.py b/linodecli/cli.py index 5fcd48e8f..718b619a4 100644 --- a/linodecli/cli.py +++ b/linodecli/cli.py @@ -10,7 +10,7 @@ from json import JSONDecodeError from logging import getLogger from sys import version_info -from typing import IO, Any, ContextManager, Dict +from typing import IO, Any, Dict import requests import yaml @@ -311,7 +311,7 @@ def _load_openapi_spec(spec_location: str) -> OpenAPI: @contextlib.contextmanager def _get_spec_file_reader( spec_location: str, - ) -> ContextManager[IO]: + ): """ Returns a reader for an OpenAPI spec file from the given location.