Skip to content

Commit

Permalink
adds more functions to accountlinking recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Aug 7, 2024
1 parent 5b71f87 commit 2db2b94
Show file tree
Hide file tree
Showing 8 changed files with 637 additions and 48 deletions.
6 changes: 5 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ disable=raw-checker-failed,
global-statement,
too-many-lines,
duplicate-code,
too-many-return-statements
too-many-return-statements,
logging-not-lazy,
logging-fstring-interpolation,
consider-using-f-string


# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
14 changes: 1 addition & 13 deletions supertokens_python/recipe/accountlinking/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,10 @@
from supertokens_python.types import (
AccountLinkingUser,
RecipeUserId,
ThirdPartyInfo,
AccountInfo,
)


class AccountInfo:
def __init__(
self,
email: Optional[str] = None,
phone_number: Optional[str] = None,
third_party: Optional[ThirdPartyInfo] = None,
):
self.email = email
self.phone_number = phone_number
self.third_party = third_party


class RecipeInterface(ABC):
@abstractmethod
async def get_users(
Expand Down
Loading

0 comments on commit 2db2b94

Please sign in to comment.