Skip to content

Commit

Permalink
Merge pull request #140 from elliot-100/139-add-type-hints-to-spond-a…
Browse files Browse the repository at this point in the history
…nd-spondclub-__init__-methods

Add type hints for `Spond` and `SpondClub` `__init__()` methods.
  • Loading branch information
elliot-100 authored Jun 26, 2024
2 parents 08047f6 + a1e145c commit d9c6869
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spond/club.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class SpondClub(_SpondBase):
def __init__(self, username, password):
def __init__(self, username: str, password: str) -> None:
super().__init__(username, password, "https://api.spond.com/club/v1/")
self.transactions = None

Expand Down
2 changes: 1 addition & 1 deletion spond/spond.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Spond(_SpondBase):

DT_FORMAT = "%Y-%m-%dT00:00:00.000Z"

def __init__(self, username, password):
def __init__(self, username: str, password: str) -> None:
super().__init__(username, password, "https://api.spond.com/core/v1/")
self.chat_url = None
self.auth = None
Expand Down

0 comments on commit d9c6869

Please sign in to comment.