Skip to content

Commit

Permalink
type ignore misc
Browse files Browse the repository at this point in the history
  • Loading branch information
fm3 committed Nov 2, 2023
1 parent 6de62a1 commit 56a5f57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webknossos/webknossos/client/apiclient/_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def attr_to_camel_case_structure(cl: Type[T]) -> Callable[[Mapping[str, Any], An
**{
a.name: cattrs.gen.override(rename=snake_to_camel_case(a.name))
# https://github.com/python/mypy/issues/16254
for a in attr_fields(cast(type[AttrsInstance], cl)) # type: ignore
for a in attr_fields(cast(type[AttrsInstance], cl)) # type: ignore[misc]
},
)

Expand All @@ -36,7 +36,7 @@ def attr_to_camel_case_unstructure(cl: Type[T]) -> Callable[[T], Dict[str, Any]]
**{
a.name: cattrs.gen.override(rename=snake_to_camel_case(a.name))
# https://github.com/python/mypy/issues/16254
for a in attr_fields(cast(type[AttrsInstance], cl)) # type: ignore
for a in attr_fields(cast(type[AttrsInstance], cl)) # type: ignore[misc]
},
)

Expand Down

0 comments on commit 56a5f57

Please sign in to comment.