Skip to content

Commit

Permalink
Modify API __init__ args
Browse files Browse the repository at this point in the history
client is now a named argument
  • Loading branch information
cachitas committed Mar 26, 2024
1 parent 91607f6 commit 3dd8fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stringdb/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class API:
"10.0": "https://version10.string-db.org/",
}

def __init__(self, version=None, client=None):
def __init__(self, version=None, *, client=None):
self.client = client

if version:
Expand Down

0 comments on commit 3dd8fb7

Please sign in to comment.