Skip to content

Commit ff7c0d5

Browse files
committed
fix type hinting dict to Dict for py 3.8
1 parent b9bcdc7 commit ff7c0d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clients/python/test/test_osparc/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import json
1515
from tempfile import NamedTemporaryFile
1616
from pathlib import Path
17-
from typing import Any, TypeVar, NamedTuple, Final, cast
17+
from typing import Any, TypeVar, NamedTuple, Final, cast, Dict
1818
from urllib.parse import urlparse
1919
from parse import parse, with_pattern
2020

@@ -29,7 +29,7 @@ def cfg(faker: Faker) -> osparc.Configuration:
2929

3030

3131
@pytest.fixture
32-
def osparc_openapi_specs() -> Generator[dict[str, Any], None, None]:
32+
def osparc_openapi_specs() -> Generator[Dict[str, Any], None, None]:
3333
with NamedTemporaryFile(suffix=".json") as file:
3434
file = Path(file.name)
3535
file.write_text(json.dumps(osparc.openapi()))

0 commit comments

Comments
 (0)