Skip to content

Commit 5a0318f

Browse files
committed
Add type-ignore
1 parent 4715c15 commit 5a0318f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/galaxy/schema/schema.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ class LimitedUserModel(Model):
388388
SampleSheetColumnValueT = Union[int, float, bool, str, NoneType]
389389

390390

391-
class SampleSheetColumnDefinition(TypedDict, closed=True):
391+
# type ignore because mypy can't handle closed TypedDicts yet
392+
class SampleSheetColumnDefinition(TypedDict, closed=True): # type: ignore[call-arg]
392393
name: str
393394
description: NotRequired[Optional[str]]
394395
type: SampleSheetColumnType

lib/galaxy/tool_util_models/tool_source.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ class DrillDownOptionsDict(TypedDict):
170170
FieldType = Union[CwlType, List[CwlType]]
171171

172172

173-
class FieldDict(TypedDict, closed=True):
173+
# type ignore because mypy can't handle closed TypedDicts yet
174+
class FieldDict(TypedDict, closed=True): # type: ignore[call-arg]
174175
name: str
175176
type: FieldType
176177
format: NotRequired[Optional[str]]

0 commit comments

Comments
 (0)