We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SupportsBytes
1 parent 5440831 commit 4d1adc6Copy full SHA for 4d1adc6
signedjson/types.py
@@ -14,7 +14,7 @@
14
# limitations under the License.
15
16
import sys
17
-from typing import TYPE_CHECKING, SupportsBytes
+from typing import TYPE_CHECKING
18
19
import nacl.signing
20
@@ -24,7 +24,7 @@
24
from typing import Protocol
25
26
27
-class BaseKey(Protocol, SupportsBytes):
+class BaseKey(Protocol):
28
"""Common base type for VerifyKey and SigningKey"""
29
30
version = "" # type: str
@@ -56,7 +56,5 @@ def sign(self, message):
56
57
@property
58
def verify_key(self):
59
- # Note: use `signedjson.key.get_verify_key` to get a
60
- # `signedjson.types.VerifyKey`.
61
# type: () -> nacl.signing.VerifyKey
62
pass # pragma: nocover
0 commit comments