Type fixes
This commit is contained in:
parent
7b9c7f04e7
commit
5aea78dd33
|
@ -65,4 +65,4 @@ Following features are work in progress:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__all__ = ['__version__']
|
__all__ = ['__version__']
|
||||||
from _version import __version__
|
from ._version import __version__
|
||||||
|
|
|
@ -77,7 +77,7 @@ class FavroClient:
|
||||||
read_only=True,
|
read_only=True,
|
||||||
):
|
):
|
||||||
# Check arguments
|
# Check arguments
|
||||||
if not isinstance(favro_org_id, str):
|
if not isinstance(favro_org_id, OrganizationId):
|
||||||
msg = f'favro_org_id must be str, but was {type(favro_org_id)}'
|
msg = f'favro_org_id must be str, but was {type(favro_org_id)}'
|
||||||
raise TypeError(msg)
|
raise TypeError(msg)
|
||||||
if not isinstance(favro_username, str):
|
if not isinstance(favro_username, str):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user