Skip to content

Commit

Permalink
Fix: Mypy's «missing positional argument»
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Apr 25, 2023
1 parent 53707b4 commit 216a7c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pure_protobuf/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from dataclasses import dataclass
from sys import version_info
from typing import TYPE_CHECKING, Any, NewType, Optional, Union
from typing import TYPE_CHECKING, Any, ClassVar, NewType, Optional, Union

from pure_protobuf.exceptions import IncorrectAnnotationError
from pure_protobuf.helpers._dataclasses import SLOTS
Expand All @@ -30,7 +30,7 @@ class Field:
"""

if version_info >= (3, 10):
_: KW_ONLY
_: ClassVar[KW_ONLY]

packed: Union[bool, Sentinel] = DEFAULT
"""Specifies whether the field should be packed in its serialized representation."""
Expand Down

0 comments on commit 216a7c0

Please sign in to comment.