Skip to content

Commit

Permalink
refactor: migrate to implementation as similar as possible to the imp…
Browse files Browse the repository at this point in the history
…lementation of gotrue-js

The tests still need to be implemented.
  • Loading branch information
leynier committed Oct 18, 2022
1 parent 20b882c commit 4cb7713
Show file tree
Hide file tree
Showing 31 changed files with 2,480 additions and 2,839 deletions.
19 changes: 9 additions & 10 deletions gotrue/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

__version__ = "0.5.4"

from ._async.api import AsyncGoTrueAPI
from ._async.client import AsyncGoTrueClient
from ._async.storage import AsyncMemoryStorage, AsyncSupportedStorage
from ._sync.api import SyncGoTrueAPI
from ._sync.client import SyncGoTrueClient
from ._sync.storage import SyncMemoryStorage, SyncSupportedStorage
from .types import *

Client = SyncGoTrueClient
GoTrueAPI = SyncGoTrueAPI
from ._async.gotrue_admin_api import AsyncGoTrueAdminAPI # type: ignore # noqa: F401
from ._async.gotrue_client import AsyncGoTrueClient # type: ignore # noqa: F401
from ._async.storage import AsyncMemoryStorage # type: ignore # noqa: F401
from ._async.storage import AsyncSupportedStorage # type: ignore # noqa: F401
from ._sync.gotrue_admin_api import SyncGoTrueAdminAPI # type: ignore # noqa: F401
from ._sync.gotrue_client import SyncGoTrueClient # type: ignore # noqa: F401
from ._sync.storage import SyncMemoryStorage # type: ignore # noqa: F401
from ._sync.storage import SyncSupportedStorage # type: ignore # noqa: F401
from .types import * # type: ignore # noqa: F401, F403
Loading

0 comments on commit 4cb7713

Please sign in to comment.