Fixed typing of Dict
This commit is contained in:
parent
3f39e07d04
commit
65838450ee
@ -1,4 +1,4 @@
|
|||||||
from typing import Any, List
|
from typing import Any, Dict, List
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ from libbot import sync
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_nested_set_valid(
|
def test_nested_set_valid(
|
||||||
target: dict[str, Any],
|
target: Dict[str, Any],
|
||||||
value: Any,
|
value: Any,
|
||||||
path: List[str],
|
path: List[str],
|
||||||
create_missing: bool,
|
create_missing: bool,
|
||||||
@ -51,7 +51,7 @@ def test_nested_set_valid(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_nested_set_invalid(
|
def test_nested_set_invalid(
|
||||||
target: dict[str, Any],
|
target: Dict[str, Any],
|
||||||
value: Any,
|
value: Any,
|
||||||
path: List[str],
|
path: List[str],
|
||||||
create_missing: bool,
|
create_missing: bool,
|
||||||
|
Loading…
Reference in New Issue
Block a user