Skip to content

Commit 4836f16

Browse files
committed
fix: Merge conflicts in thirdparty rework
1 parent c02bce9 commit 4836f16

File tree

8 files changed

+0
-113
lines changed

8 files changed

+0
-113
lines changed

supertokens_python/recipe/thirdparty/__init__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,9 @@
2323

2424
InputOverrideConfig = utils.InputOverrideConfig
2525
SignInAndUpFeature = utils.SignInAndUpFeature
26-
<<<<<<< HEAD
2726
ProviderInput = provider.ProviderInput
2827
ProviderConfig = provider.ProviderConfig
2928
ProviderClientConfig = provider.ProviderClientConfig
30-
||||||| 37d58eb3
31-
Apple = providers.Apple
32-
Discord = providers.Discord
33-
Facebook = providers.Facebook
34-
Github = providers.Github
35-
Google = providers.Google
36-
GoogleWorkspaces = providers.GoogleWorkspaces
37-
=======
38-
Apple = providers.Apple
39-
Discord = providers.Discord
40-
Facebook = providers.Facebook
41-
Github = providers.Github
42-
Google = providers.Google
43-
GoogleWorkspaces = providers.GoogleWorkspaces
44-
Bitbucket = providers.Bitbucket
45-
GitLab = providers.GitLab
46-
>>>>>>> 0.14
4729
exceptions = ex
4830

4931
if TYPE_CHECKING:

supertokens_python/recipe/thirdparty/providers/apple.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,11 @@
1717
from typing import Any, Dict, Optional
1818
from jwt import encode # type: ignore
1919
from time import time
20-
<<<<<<< HEAD
2120

2221
from ..provider import (
2322
Provider,
2423
ProviderConfigForClientType,
2524
ProviderInput,
26-
||||||| 37d58eb3
27-
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Union
28-
29-
from cryptography.hazmat.primitives.asymmetric.rsa import RSAPublicKey
30-
from httpx import AsyncClient
31-
from jwt import decode, encode
32-
from jwt.algorithms import RSAAlgorithm
33-
from supertokens_python.recipe.thirdparty.api.implementation import (
34-
get_actual_client_id_from_development_client_id,
35-
=======
36-
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Union
37-
from httpx import AsyncClient
38-
from jwt import decode, encode
39-
40-
# You must have cryptography library installed for these imports to work:
41-
from jwt.algorithms import RSAAlgorithm
42-
from cryptography.hazmat.primitives.asymmetric.rsa import RSAPublicKey
43-
44-
from supertokens_python.recipe.thirdparty.api.implementation import (
45-
get_actual_client_id_from_development_client_id,
46-
>>>>>>> 0.14
4725
)
4826
from .custom import GenericProvider, NewProvider
4927
from .utils import get_actual_client_id_from_development_client_id

supertokens_python/recipe/thirdpartyemailpassword/__init__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,10 @@
2929
exceptions = ex
3030
InputResetPasswordUsingTokenFeature = emailpassword.InputResetPasswordUsingTokenFeature
3131
InputSignUpFeature = emailpassword.InputSignUpFeature
32-
<<<<<<< HEAD
3332
ProviderInput = provider.ProviderInput
3433
ProviderConfig = provider.ProviderConfig
3534
ProviderClientConfig = provider.ProviderClientConfig
3635
ProviderConfigForClientType = provider.ProviderConfigForClientType
37-
||||||| 37d58eb3
38-
Apple = thirdparty.Apple
39-
Discord = thirdparty.Discord
40-
Facebook = thirdparty.Facebook
41-
Github = thirdparty.Github
42-
Google = thirdparty.Google
43-
GoogleWorkspaces = thirdparty.GoogleWorkspaces
44-
=======
45-
Apple = thirdparty.Apple
46-
Discord = thirdparty.Discord
47-
Facebook = thirdparty.Facebook
48-
Github = thirdparty.Github
49-
Google = thirdparty.Google
50-
GoogleWorkspaces = thirdparty.GoogleWorkspaces
51-
Bitbucket = thirdparty.Bitbucket
52-
GitLab = thirdparty.GitLab
53-
>>>>>>> 0.14
5436
SMTPService = emaildelivery_services.SMTPService
5537

5638
if TYPE_CHECKING:

supertokens_python/recipe/thirdpartyemailpassword/recipe.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,7 @@ def get_emailpassword_config() -> EmailPasswordConfig:
110110
recipe_implementation = RecipeImplementation(
111111
Querier.get_instance(EmailPasswordRecipe.recipe_id),
112112
Querier.get_instance(ThirdPartyRecipe.recipe_id),
113-
<<<<<<< HEAD
114113
self.config.providers,
115-
||||||| 37d58eb3
116-
=======
117-
get_emailpassword_config,
118-
>>>>>>> 0.14
119114
)
120115
self.recipe_implementation: RecipeInterface = (
121116
recipe_implementation

supertokens_python/recipe/thirdpartyemailpassword/recipeimplementation/implementation.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@
1313
# under the License.
1414
from __future__ import annotations
1515

16-
<<<<<<< HEAD
1716
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
18-
||||||| 37d58eb3
19-
from typing import TYPE_CHECKING, Any, Dict, List, Union
20-
=======
21-
from typing import TYPE_CHECKING, Any, Dict, List, Union, Callable
22-
>>>>>>> 0.14
2317

2418
import supertokens_python.recipe.emailpassword.interfaces as EPInterfaces
2519
from supertokens_python.recipe.thirdparty.interfaces import GetProviderOkResult
@@ -65,19 +59,10 @@
6559

6660
class RecipeImplementation(RecipeInterface):
6761
def __init__(
68-
<<<<<<< HEAD
6962
self,
7063
emailpassword_querier: Querier,
7164
thirdparty_querier: Querier,
7265
providers: List[ProviderInput],
73-
||||||| 37d58eb3
74-
self, emailpassword_querier: Querier, thirdparty_querier: Union[Querier, None]
75-
=======
76-
self,
77-
emailpassword_querier: Querier,
78-
thirdparty_querier: Union[Querier, None],
79-
get_emailpassword_config: Callable[[], EmailPasswordConfig],
80-
>>>>>>> 0.14
8166
):
8267
super().__init__()
8368
emailpassword_implementation = EmailPasswordImplementation(

supertokens_python/recipe/thirdpartypasswordless/__init__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,6 @@
3232
exceptions = ex
3333
ContactConfig = passwordless.ContactConfig
3434
PhoneOrEmailInput = passwordless.PhoneOrEmailInput
35-
<<<<<<< HEAD
36-
||||||| 37d58eb3
37-
Apple = thirdparty.Apple
38-
Discord = thirdparty.Discord
39-
Facebook = thirdparty.Facebook
40-
Github = thirdparty.Github
41-
Google = thirdparty.Google
42-
GoogleWorkspaces = thirdparty.GoogleWorkspaces
43-
=======
44-
Apple = thirdparty.Apple
45-
Discord = thirdparty.Discord
46-
Facebook = thirdparty.Facebook
47-
Github = thirdparty.Github
48-
Google = thirdparty.Google
49-
GoogleWorkspaces = thirdparty.GoogleWorkspaces
50-
Bitbucket = thirdparty.Bitbucket
51-
GitLab = thirdparty.GitLab
52-
>>>>>>> 0.14
5335
ContactPhoneOnlyConfig = passwordless.ContactPhoneOnlyConfig
5436
ContactEmailOnlyConfig = passwordless.ContactEmailOnlyConfig
5537
ContactEmailOrPhoneConfig = passwordless.ContactEmailOrPhoneConfig

tests/thirdpartyemailpassword/test_email_delivery.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,7 @@
5151
)
5252
from supertokens_python.recipe.session.session_functions import create_new_session
5353
from supertokens_python.recipe.thirdpartyemailpassword import (
54-
<<<<<<< HEAD
5554
InputResetPasswordUsingTokenFeature,
56-
||||||| 37d58eb3
57-
InputResetPasswordUsingTokenFeature,
58-
Github,
59-
=======
60-
Github,
61-
InputResetPasswordUsingTokenFeature,
62-
>>>>>>> 0.14
6355
)
6456
from supertokens_python.recipe.thirdpartyemailpassword.asyncio import (
6557
thirdparty_manually_create_or_update_user,

tests/thirdpartypasswordless/test_emaildelivery.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,9 @@
6161
RecipeImplementation as SessionRecipeImplementation,
6262
)
6363
from supertokens_python.recipe.session.session_functions import create_new_session
64-
<<<<<<< HEAD
6564
from supertokens_python.recipe.emailverification.asyncio import (
6665
create_email_verification_token,
6766
)
68-
||||||| 37d58eb3
69-
from supertokens_python.recipe.emailverification.asyncio import (
70-
create_email_verification_token,
71-
)
72-
from supertokens_python.recipe.thirdparty.providers import Github
73-
=======
74-
from supertokens_python.recipe.thirdparty.providers import Github
75-
>>>>>>> 0.14
7667
from supertokens_python.recipe.thirdpartypasswordless.asyncio import (
7768
passwordlessSigninup,
7869
thirdparty_manually_create_or_update_user,

0 commit comments

Comments
 (0)