Skip to content

Commit 1053e03

Browse files
committed
adding dev-v0.18.10 tag to this commit to ensure building
1 parent 7a3aca0 commit 1053e03

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

html/supertokens_python/constants.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h1 class="title">Module <code>supertokens_python.constants</code></h1>
4242
from __future__ import annotations
4343

4444
SUPPORTED_CDI_VERSIONS = [&#34;3.0&#34;]
45-
VERSION = &#34;0.18.9&#34;
45+
VERSION = &#34;0.18.10&#34;
4646
TELEMETRY = &#34;/telemetry&#34;
4747
USER_COUNT = &#34;/users/count&#34;
4848
USER_DELETE = &#34;/user/remove&#34;

html/supertokens_python/ingredients/emaildelivery/services/smtp.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,17 @@ <h1 class="title">Module <code>supertokens_python.ingredients.emaildelivery.serv
6565
if self.smtp_settings.secure:
6666
# Use TLS from the beginning
6767
mail = aiosmtplib.SMTP(
68-
self.smtp_settings.host,
69-
self.smtp_settings.port,
68+
hostname=self.smtp_settings.host,
69+
port=self.smtp_settings.port,
7070
use_tls=True,
7171
tls_context=tls_context,
7272
)
7373
else:
7474
# Start without TLS (but later try upgrading)
7575
mail = aiosmtplib.SMTP(
76-
self.smtp_settings.host, self.smtp_settings.port, use_tls=False
76+
hostname=self.smtp_settings.host,
77+
port=self.smtp_settings.port,
78+
use_tls=False,
7779
)
7880

7981
await mail.connect() # type: ignore
@@ -148,15 +150,17 @@ <h2 class="section-title" id="header-classes">Classes</h2>
148150
if self.smtp_settings.secure:
149151
# Use TLS from the beginning
150152
mail = aiosmtplib.SMTP(
151-
self.smtp_settings.host,
152-
self.smtp_settings.port,
153+
hostname=self.smtp_settings.host,
154+
port=self.smtp_settings.port,
153155
use_tls=True,
154156
tls_context=tls_context,
155157
)
156158
else:
157159
# Start without TLS (but later try upgrading)
158160
mail = aiosmtplib.SMTP(
159-
self.smtp_settings.host, self.smtp_settings.port, use_tls=False
161+
hostname=self.smtp_settings.host,
162+
port=self.smtp_settings.port,
163+
use_tls=False,
160164
)
161165

162166
await mail.connect() # type: ignore

0 commit comments

Comments
 (0)