We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b383d2f commit b7a92c4Copy full SHA for b7a92c4
1 file changed
linodecli/cli.py
@@ -10,7 +10,7 @@
10
from json import JSONDecodeError
11
from logging import getLogger
12
from sys import version_info
13
-from typing import IO, Any, ContextManager, Dict
+from typing import IO, Any, Dict
14
15
import requests
16
import yaml
@@ -311,7 +311,7 @@ def _load_openapi_spec(spec_location: str) -> OpenAPI:
311
@contextlib.contextmanager
312
def _get_spec_file_reader(
313
spec_location: str,
314
- ) -> ContextManager[IO]:
+ ):
315
"""
316
Returns a reader for an OpenAPI spec file from the given location.
317
0 commit comments