Skip to content

Commit 385ebd9

Browse files
authored
Remove incorrect @classmethod on constructors
Signed-off-by: Antoine Vandecreme <avandecreme@users.noreply.github.com>
1 parent e5d713e commit 385ebd9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

biscuit_auth.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,6 @@ class PublicKey:
482482
# :type data: str
483483
# :return: the public key
484484
# :rtype: PublicKey
485-
@classmethod
486485
def __new__(cls, data: str) -> PublicKey: ...
487486

488487
# ed25519 private key
@@ -508,7 +507,6 @@ class PrivateKey:
508507
# :type data: str
509508
# :return: the private key
510509
# :rtype: PrivateKey
511-
@classmethod
512510
def __new__(cls, data: str) -> PrivateKey: ...
513511

514512
# A single datalog Fact

0 commit comments

Comments
 (0)