Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
[+] Updated docstring for Client.search_subject
Browse files Browse the repository at this point in the history
  • Loading branch information
lazykern committed May 11, 2022
1 parent d505dca commit b5ac759
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions pymyku/exception.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
from requests import HTTPError


class InvalidSubjectID(Exception):
'''The subject ID is not valid.'''
pass


class TokenExpired(HTTPError):
'''The access token has expired.'''
pass
2 changes: 1 addition & 1 deletion pymyku/pymyku.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def search_subject(self, query: str) -> List[Dict[str, str]]:
Parameters
----------
query : str
Subject id to query. (At least 3 characters), e.g. '013', '01355119', 'eng' or 'english'
Subject id or name to query. (At least 3 characters), e.g. '013', '01355119', 'eng' or 'english'
Returns
-------
Expand Down

0 comments on commit b5ac759

Please sign in to comment.