Skip to content

Commit

Permalink
Type for Keypair class.
Browse files Browse the repository at this point in the history
  • Loading branch information
jMyles committed Nov 22, 2017
1 parent e34ddef commit 5f4b5f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nkms/crypto/powers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import inspect
from typing import Iterable, List, Tuple
from typing import Iterable, List, Tuple, Type

from nkms.crypto import api as API
from nkms.crypto.signature import Signature
Expand Down Expand Up @@ -104,7 +104,7 @@ class CryptoPowerUp(object):

class KeyPairBasedPower(CryptoPowerUp):

_keypair_class = None
_keypair_class: Type[keypairs.Keypair] = None

def __init__(self, keypair: keypairs.Keypair=None, pubkey_bytes: bytes=None) -> None:
if keypair and pubkey_bytes:
Expand Down

0 comments on commit 5f4b5f5

Please sign in to comment.