Skip to content

Commit 78e052b

Browse files
committed
yapf&mypy fixes
1 parent ef1df39 commit 78e052b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

labelbox/schema/export_filters.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
from typing import Optional
44
if sys.version_info >= (3, 8):
5-
from typing import TypedDict, Tuple
5+
from typing import TypedDict
66
else:
77
from typing_extensions import TypedDict
88

9+
from typing import Tuple
10+
911

1012
class ProjectExportFilters(TypedDict):
1113
label_created_at: Optional[Tuple[str, str]]

labelbox/schema/project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from collections import namedtuple
55
from datetime import datetime, timezone
66
from pathlib import Path
7-
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Union
7+
from typing import TYPE_CHECKING, Any, Collection, Dict, Iterable, List, Optional, Union
88
from urllib.parse import urlparse
99

1010
import ndjson
@@ -450,7 +450,7 @@ def _get_timezone() -> str:
450450
%s(input: $input) {taskId} }
451451
""" % (mutation_name)
452452

453-
search_query = []
453+
search_query: List[Dict[str, Collection[str]]] = []
454454
query_params = {
455455
"input": {
456456
"taskName": task_name,

0 commit comments

Comments
 (0)