diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 6c15749..5c813f9 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: bfe29c99-6e67-43fe-b928-64d6a5ed6aa8 management: - docChecksum: 264c7cf574c4fa453587755d1bf79bcb + docChecksum: 3b85d94743e8bef36aebfc53ac120e1b docVersion: v1 - speakeasyVersion: 1.452.0 - generationVersion: 2.472.1 - releaseVersion: 1.4.1 - configChecksum: b9e0a4731aec79a52c8180337d03b9fc + speakeasyVersion: 1.453.8 + generationVersion: 2.474.15 + releaseVersion: 1.4.2 + configChecksum: 11bf6c807a8ec891dc998697b5ca7a20 repoURL: https://github.com/clerk/clerk-sdk-python.git installationURL: https://github.com/clerk/clerk-sdk-python.git published: true @@ -15,7 +15,7 @@ features: additionalDependencies: 1.0.0 additionalProperties: 1.0.1 constsAndDefaults: 1.0.5 - core: 5.6.9 + core: 5.6.11 defaultEnabledRetries: 0.2.0 deprecations: 3.0.0 enumUnions: 0.1.0 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index e7244c5..24e574c 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false python: - version: 1.4.1 + version: 1.4.2 additionalDependencies: dev: pytest: ^8.3.3 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 5343250..fea98f6 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.452.0 +speakeasyVersion: 1.453.8 sources: clerk-openapi: sourceNamespace: clerk-openapi - sourceRevisionDigest: sha256:7da727290006ebb62433a01f6a49c2ec36146cbb44f17b66f3571a5c6fbe424b - sourceBlobDigest: sha256:3da8e4d311eedde5131701594c5daf8126a73b6270919fe34090c43876777eeb + sourceRevisionDigest: sha256:efbc43b755c07c6197edfbde56fe2db62ef17cc334e7501b42948c242d63fc1f + sourceBlobDigest: sha256:7b41f36bbee97872160a060f96cfaec9693350316134a3f6001fd772dd625c66 tags: - latest - - speakeasy-sdk-regen-1733345998 + - speakeasy-sdk-regen-1733790071 - v1 targets: clerk-sdk-python: source: clerk-openapi sourceNamespace: clerk-openapi - sourceRevisionDigest: sha256:7da727290006ebb62433a01f6a49c2ec36146cbb44f17b66f3571a5c6fbe424b - sourceBlobDigest: sha256:3da8e4d311eedde5131701594c5daf8126a73b6270919fe34090c43876777eeb + sourceRevisionDigest: sha256:efbc43b755c07c6197edfbde56fe2db62ef17cc334e7501b42948c242d63fc1f + sourceBlobDigest: sha256:7b41f36bbee97872160a060f96cfaec9693350316134a3f6001fd772dd625c66 codeSamplesNamespace: clerk-openapi-python-code-samples - codeSamplesRevisionDigest: sha256:5856924712a525f2b8018e4981f1117d78f90b5251f595d767739e4ff637e6ff + codeSamplesRevisionDigest: sha256:7c55e627f31d8f437f6820d779cba322154c5a8c0865c6d7cbdddf8100ff33cd workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 6e2a7f1..84c328a 100644 --- a/README.md +++ b/README.md @@ -94,8 +94,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_addresses.get(email_address_id="email_address_id_example") +) as clerk: + res = clerk.email_addresses.get(email_address_id="email_address_id_example") if res is not None: # handle response @@ -113,8 +113,8 @@ from clerk_backend_api import Clerk async def main(): async with Clerk( bearer_auth="", - ) as s: - res = await s.email_addresses.get_async(email_address_id="email_address_id_example") + ) as clerk: + res = await clerk.email_addresses.get_async(email_address_id="email_address_id_example") if res is not None: # handle response @@ -371,8 +371,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.set_profile_image(user_id="usr_test123", file={ +) as clerk: + res = clerk.users.set_profile_image(user_id="usr_test123", file={ "file_name": "example.file", "content": open("example.file", "rb"), "content_type": "", @@ -392,11 +392,11 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call: ```python -from clerk.utils import BackoffStrategy, RetryConfig from clerk_backend_api import Clerk +from clerk_backend_api.utils import BackoffStrategy, RetryConfig -with Clerk() as s: - s.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d", +with Clerk() as clerk: + clerk.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d", RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False)) # Use the SDK ... @@ -405,13 +405,13 @@ with Clerk() as s: If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK: ```python -from clerk.utils import BackoffStrategy, RetryConfig from clerk_backend_api import Clerk +from clerk_backend_api.utils import BackoffStrategy, RetryConfig with Clerk( retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False), -) as s: - s.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d") +) as clerk: + clerk.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d") # Use the SDK ... @@ -446,10 +446,10 @@ from clerk_backend_api import Clerk, models with Clerk( bearer_auth="", -) as s: +) as clerk: res = None try: - res = s.clients.verify(request={ + res = clerk.clients.verify(request={ "token": "jwt_token_example", }) @@ -477,8 +477,8 @@ from clerk_backend_api import Clerk with Clerk( server_url="https://api.clerk.com/v1", -) as s: - s.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d") +) as clerk: + clerk.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d") # Use the SDK ... @@ -583,8 +583,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - s.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d") +) as clerk: + clerk.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d") # Use the SDK ... diff --git a/RELEASES.md b/RELEASES.md index 9a97e81..2becbfe 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -208,4 +208,14 @@ Based on: ### Generated - [python v1.4.1] . ### Releases -- [PyPI v1.4.1] https://pypi.org/project/clerk-backend-api/1.4.1 - . \ No newline at end of file +- [PyPI v1.4.1] https://pypi.org/project/clerk-backend-api/1.4.1 - . + +## 2024-12-10 00:21:08 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.453.8 (2.474.15) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.4.2] . +### Releases +- [PyPI v1.4.2] https://pypi.org/project/clerk-backend-api/1.4.2 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 20ea809..8bfa579 100644 --- a/USAGE.md +++ b/USAGE.md @@ -5,8 +5,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_addresses.get(email_address_id="email_address_id_example") +) as clerk: + res = clerk.email_addresses.get(email_address_id="email_address_id_example") if res is not None: # handle response @@ -24,8 +24,8 @@ from clerk_backend_api import Clerk async def main(): async with Clerk( bearer_auth="", - ) as s: - res = await s.email_addresses.get_async(email_address_id="email_address_id_example") + ) as clerk: + res = await clerk.email_addresses.get_async(email_address_id="email_address_id_example") if res is not None: # handle response diff --git a/docs/sdks/actortokens/README.md b/docs/sdks/actortokens/README.md index 788cc89..ebe89c8 100644 --- a/docs/sdks/actortokens/README.md +++ b/docs/sdks/actortokens/README.md @@ -20,8 +20,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.actor_tokens.create(user_id="user_1a2b3c", actor={}, expires_in_seconds=3600, session_max_duration_in_seconds=1800) +) as clerk: + res = clerk.actor_tokens.create(user_id="user_1a2b3c", actor={}, expires_in_seconds=3600, session_max_duration_in_seconds=1800) if res is not None: # handle response @@ -61,8 +61,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.actor_tokens.revoke(actor_token_id="act_tok_abcdefghijk") +) as clerk: + res = clerk.actor_tokens.revoke(actor_token_id="act_tok_abcdefghijk") if res is not None: # handle response diff --git a/docs/sdks/allowlistblocklist/README.md b/docs/sdks/allowlistblocklist/README.md index 5dc4e1d..a2554ac 100644 --- a/docs/sdks/allowlistblocklist/README.md +++ b/docs/sdks/allowlistblocklist/README.md @@ -21,8 +21,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.allowlist_blocklist.list_allowlist_identifiers() +) as clerk: + res = clerk.allowlist_blocklist.list_allowlist_identifiers() if res is not None: # handle response @@ -58,8 +58,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.allowlist_blocklist.create_allowlist_identifier(identifier="user@example.com", notify=True) +) as clerk: + res = clerk.allowlist_blocklist.create_allowlist_identifier(identifier="user@example.com", notify=True) if res is not None: # handle response @@ -97,8 +97,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.allowlist_blocklist.create_blocklist_identifier(identifier="example@example.com") +) as clerk: + res = clerk.allowlist_blocklist.create_blocklist_identifier(identifier="example@example.com") if res is not None: # handle response @@ -135,8 +135,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.allowlist_blocklist.delete_blocklist_identifier(identifier_id="identifier123") +) as clerk: + res = clerk.allowlist_blocklist.delete_blocklist_identifier(identifier_id="identifier123") if res is not None: # handle response diff --git a/docs/sdks/allowlistidentifiers/README.md b/docs/sdks/allowlistidentifiers/README.md index 41dcddb..0a6ce53 100644 --- a/docs/sdks/allowlistidentifiers/README.md +++ b/docs/sdks/allowlistidentifiers/README.md @@ -18,8 +18,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.allowlist_identifiers.delete(identifier_id="example_identifier_id") +) as clerk: + res = clerk.allowlist_identifiers.delete(identifier_id="example_identifier_id") if res is not None: # handle response diff --git a/docs/sdks/betafeatures/README.md b/docs/sdks/betafeatures/README.md index cb855ed..1244b08 100644 --- a/docs/sdks/betafeatures/README.md +++ b/docs/sdks/betafeatures/README.md @@ -20,8 +20,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.beta_features.update_instance_settings(request={ +) as clerk: + res = clerk.beta_features.update_instance_settings(request={ "restricted_to_allowlist": False, "from_email_address": "noreply", "progressive_sign_up": True, @@ -71,8 +71,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - s.beta_features.update_domain(request={ +) as clerk: + clerk.beta_features.update_domain(request={ "home_url": "https://www.example.com", }) @@ -109,8 +109,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - s.beta_features.change_production_instance_domain(request={ +) as clerk: + clerk.beta_features.change_production_instance_domain(request={ "home_url": "https://www.newdomain.com", "is_secondary": False, }) diff --git a/docs/sdks/blocklistidentifierssdk/README.md b/docs/sdks/blocklistidentifierssdk/README.md index e645879..346506b 100644 --- a/docs/sdks/blocklistidentifierssdk/README.md +++ b/docs/sdks/blocklistidentifierssdk/README.md @@ -18,8 +18,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.blocklist_identifiers.list() +) as clerk: + res = clerk.blocklist_identifiers.list() if res is not None: # handle response diff --git a/docs/sdks/clerkredirecturls/README.md b/docs/sdks/clerkredirecturls/README.md index 6968828..742a46d 100644 --- a/docs/sdks/clerkredirecturls/README.md +++ b/docs/sdks/clerkredirecturls/README.md @@ -20,8 +20,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.redirect_urls.create(request={ +) as clerk: + res = clerk.redirect_urls.create(request={ "url": "https://my-app.com/oauth-callback", }) @@ -60,8 +60,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.redirect_urls.get(id="redir_01FG4K9G5NWSQ4ZPT4TQE4Z7G3") +) as clerk: + res = clerk.redirect_urls.get(id="redir_01FG4K9G5NWSQ4ZPT4TQE4Z7G3") if res is not None: # handle response @@ -98,8 +98,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.redirect_urls.delete(id="redir_01FG4K9G5NWSQ4ZPT4TQE4Z7G3") +) as clerk: + res = clerk.redirect_urls.delete(id="redir_01FG4K9G5NWSQ4ZPT4TQE4Z7G3") if res is not None: # handle response diff --git a/docs/sdks/clients/README.md b/docs/sdks/clients/README.md index 140e760..642b946 100644 --- a/docs/sdks/clients/README.md +++ b/docs/sdks/clients/README.md @@ -27,8 +27,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.clients.list(limit=20, offset=10) +) as clerk: + res = clerk.clients.list(limit=20, offset=10) if res is not None: # handle response @@ -66,8 +66,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.clients.verify(request={ +) as clerk: + res = clerk.clients.verify(request={ "token": "jwt_token_example", }) @@ -106,8 +106,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.clients.get(client_id="cli_123456789") +) as clerk: + res = clerk.clients.get(client_id="cli_123456789") if res is not None: # handle response diff --git a/docs/sdks/domainssdk/README.md b/docs/sdks/domainssdk/README.md index 2ff2e73..5c25495 100644 --- a/docs/sdks/domainssdk/README.md +++ b/docs/sdks/domainssdk/README.md @@ -24,8 +24,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.domains.list() +) as clerk: + res = clerk.domains.list() if res is not None: # handle response @@ -64,8 +64,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.domains.add(name="example.com", is_satellite=True, proxy_url="https://proxy.example.com") +) as clerk: + res = clerk.domains.add(name="example.com", is_satellite=True, proxy_url="https://proxy.example.com") if res is not None: # handle response @@ -105,8 +105,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.domains.delete(domain_id="domain_12345") +) as clerk: + res = clerk.domains.delete(domain_id="domain_12345") if res is not None: # handle response @@ -150,8 +150,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.domains.update(domain_id="domain_12345", name="example.com", proxy_url="http://proxy.example.com", is_secondary=False) +) as clerk: + res = clerk.domains.update(domain_id="domain_12345", name="example.com", proxy_url="http://proxy.example.com", is_secondary=False) if res is not None: # handle response diff --git a/docs/sdks/emailaddresses/README.md b/docs/sdks/emailaddresses/README.md index 72f6c86..2638147 100644 --- a/docs/sdks/emailaddresses/README.md +++ b/docs/sdks/emailaddresses/README.md @@ -21,8 +21,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_addresses.create(request={ +) as clerk: + res = clerk.email_addresses.create(request={ "user_id": "user_12345", "email_address": "example@clerk.com", "verified": False, @@ -64,8 +64,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_addresses.get(email_address_id="email_address_id_example") +) as clerk: + res = clerk.email_addresses.get(email_address_id="email_address_id_example") if res is not None: # handle response @@ -102,8 +102,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_addresses.delete(email_address_id="email_address_id_example") +) as clerk: + res = clerk.email_addresses.delete(email_address_id="email_address_id_example") if res is not None: # handle response @@ -140,8 +140,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_addresses.update(email_address_id="email_address_id_example", verified=False, primary=True) +) as clerk: + res = clerk.email_addresses.update(email_address_id="email_address_id_example", verified=False, primary=True) if res is not None: # handle response diff --git a/docs/sdks/emailandsmstemplates/README.md b/docs/sdks/emailandsmstemplates/README.md index e32d835..d9429d6 100644 --- a/docs/sdks/emailandsmstemplates/README.md +++ b/docs/sdks/emailandsmstemplates/README.md @@ -21,8 +21,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_and_sms_templates.upsert(template_type=clerk_backend_api.UpsertTemplatePathParamTemplateType.SMS, slug="verification-code", name="Verification Code", subject="Your Verification Code", markup="

Your code: {{code}}

", body="Use this code to verify your email: {{code}}", delivered_by_clerk=True, from_email_name="hello", reply_to_email_name="support") +) as clerk: + res = clerk.email_and_sms_templates.upsert(template_type=clerk_backend_api.UpsertTemplatePathParamTemplateType.SMS, slug="verification-code", name="Verification Code", subject="Your Verification Code", markup="

Your code: {{code}}

", body="Use this code to verify your email: {{code}}", delivered_by_clerk=True, from_email_name="hello", reply_to_email_name="support") if res is not None: # handle response diff --git a/docs/sdks/emailsmstemplates/README.md b/docs/sdks/emailsmstemplates/README.md index f1af8f3..2051c00 100644 --- a/docs/sdks/emailsmstemplates/README.md +++ b/docs/sdks/emailsmstemplates/README.md @@ -25,8 +25,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_sms_templates.list(template_type=clerk_backend_api.TemplateType.EMAIL) +) as clerk: + res = clerk.email_sms_templates.list(template_type=clerk_backend_api.TemplateType.EMAIL) if res is not None: # handle response @@ -66,8 +66,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_sms_templates.revert(template_type=clerk_backend_api.RevertTemplatePathParamTemplateType.EMAIL, slug="welcome-email") +) as clerk: + res = clerk.email_sms_templates.revert(template_type=clerk_backend_api.RevertTemplatePathParamTemplateType.EMAIL, slug="welcome-email") if res is not None: # handle response @@ -108,8 +108,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_sms_templates.get(template_type=clerk_backend_api.PathParamTemplateType.EMAIL, slug="welcome-email") +) as clerk: + res = clerk.email_sms_templates.get(template_type=clerk_backend_api.PathParamTemplateType.EMAIL, slug="welcome-email") if res is not None: # handle response @@ -152,8 +152,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.email_sms_templates.toggle_template_delivery(template_type=clerk_backend_api.ToggleTemplateDeliveryPathParamTemplateType.EMAIL, slug="welcome-email", delivered_by_clerk=True) +) as clerk: + res = clerk.email_sms_templates.toggle_template_delivery(template_type=clerk_backend_api.ToggleTemplateDeliveryPathParamTemplateType.EMAIL, slug="welcome-email", delivered_by_clerk=True) if res is not None: # handle response diff --git a/docs/sdks/instancesettingssdk/README.md b/docs/sdks/instancesettingssdk/README.md index 4ad2b57..6eaa922 100644 --- a/docs/sdks/instancesettingssdk/README.md +++ b/docs/sdks/instancesettingssdk/README.md @@ -20,8 +20,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - s.instance_settings.update(request={ +) as clerk: + clerk.instance_settings.update(request={ "test_mode": True, "hibp": False, "enhanced_email_deliverability": True, @@ -65,8 +65,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.instance_settings.update_restrictions(request={ +) as clerk: + res = clerk.instance_settings.update_restrictions(request={ "allowlist": False, "blocklist": True, "block_email_subaddresses": True, @@ -109,8 +109,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.instance_settings.update_organization_settings(request={ +) as clerk: + res = clerk.instance_settings.update_organization_settings(request={ "enabled": True, "max_allowed_memberships": 10, "admin_delete_enabled": False, diff --git a/docs/sdks/invitations/README.md b/docs/sdks/invitations/README.md index ec050de..a02d111 100644 --- a/docs/sdks/invitations/README.md +++ b/docs/sdks/invitations/README.md @@ -25,8 +25,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.invitations.create(email_address="user@example.com", public_metadata={ +) as clerk: + res = clerk.invitations.create(email_address="user@example.com", public_metadata={ }, redirect_url="https://example.com/welcome", notify=True, ignore_existing=True, expires_in_days=486589) @@ -71,8 +71,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.invitations.list(limit=20, offset=10, status=clerk_backend_api.ListInvitationsQueryParamStatus.PENDING) +) as clerk: + res = clerk.invitations.list(limit=20, offset=10, status=clerk_backend_api.ListInvitationsQueryParamStatus.PENDING) if res is not None: # handle response @@ -113,8 +113,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.invitations.revoke(invitation_id="inv_123") +) as clerk: + res = clerk.invitations.revoke(invitation_id="inv_123") if res is not None: # handle response diff --git a/docs/sdks/jwks/README.md b/docs/sdks/jwks/README.md index a3e50e0..a768678 100644 --- a/docs/sdks/jwks/README.md +++ b/docs/sdks/jwks/README.md @@ -18,8 +18,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.jwks.get() +) as clerk: + res = clerk.jwks.get() if res is not None: # handle response diff --git a/docs/sdks/jwttemplates/README.md b/docs/sdks/jwttemplates/README.md index 782ea54..c506dfc 100644 --- a/docs/sdks/jwttemplates/README.md +++ b/docs/sdks/jwttemplates/README.md @@ -22,8 +22,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.jwt_templates.list() +) as clerk: + res = clerk.jwt_templates.list() if res is not None: # handle response @@ -58,8 +58,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.jwt_templates.create(request={ +) as clerk: + res = clerk.jwt_templates.create(request={ "name": "Example Template", "claims": {}, "lifetime": 3600, @@ -104,8 +104,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.jwt_templates.get(template_id="template_123") +) as clerk: + res = clerk.jwt_templates.get(template_id="template_123") if res is not None: # handle response @@ -142,8 +142,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.jwt_templates.update(template_id="", name="", claims={}, lifetime=8574.77, allowed_clock_skew=5971.29, custom_signing_key=True, signing_algorithm="", signing_key="") +) as clerk: + res = clerk.jwt_templates.update(template_id="", name="", claims={}, lifetime=8574.77, allowed_clock_skew=5971.29, custom_signing_key=True, signing_algorithm="", signing_key="") if res is not None: # handle response @@ -187,8 +187,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.jwt_templates.delete(template_id="") +) as clerk: + res = clerk.jwt_templates.delete(template_id="") if res is not None: # handle response diff --git a/docs/sdks/miscellaneous/README.md b/docs/sdks/miscellaneous/README.md index ae57691..8ea81ec 100644 --- a/docs/sdks/miscellaneous/README.md +++ b/docs/sdks/miscellaneous/README.md @@ -19,8 +19,8 @@ It is used by Clerk SDKs when the user's authentication state cannot be immediat ```python from clerk_backend_api import Clerk -with Clerk() as s: - s.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d") +with Clerk() as clerk: + clerk.miscellaneous.get_interstitial(frontend_api="frontend-api_1a2b3c4d", publishable_key="pub_1a2b3c4d") # Use the SDK ... diff --git a/docs/sdks/oauthapplicationssdk/README.md b/docs/sdks/oauthapplicationssdk/README.md index 4b9d3ba..34ca834 100644 --- a/docs/sdks/oauthapplicationssdk/README.md +++ b/docs/sdks/oauthapplicationssdk/README.md @@ -26,8 +26,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.oauth_applications.list(limit=20, offset=10) +) as clerk: + res = clerk.oauth_applications.list(limit=20, offset=10) if res is not None: # handle response @@ -67,8 +67,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.oauth_applications.create(name="Example App", callback_url="https://example.com/oauth/callback", scopes="profile email public_metadata", public=True) +) as clerk: + res = clerk.oauth_applications.create(name="Example App", callback_url="https://example.com/oauth/callback", scopes="profile email public_metadata", public=True) if res is not None: # handle response @@ -108,8 +108,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.oauth_applications.get(oauth_application_id="oauth_app_12345") +) as clerk: + res = clerk.oauth_applications.get(oauth_application_id="oauth_app_12345") if res is not None: # handle response @@ -146,8 +146,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.oauth_applications.update(oauth_application_id="oauth_app_67890", name="Updated OAuth App Name", callback_url="https://example.com/oauth/callback", scopes="profile email public_metadata private_metadata") +) as clerk: + res = clerk.oauth_applications.update(oauth_application_id="oauth_app_67890", name="Updated OAuth App Name", callback_url="https://example.com/oauth/callback", scopes="profile email public_metadata private_metadata") if res is not None: # handle response @@ -188,8 +188,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.oauth_applications.delete(oauth_application_id="oauth_app_09876") +) as clerk: + res = clerk.oauth_applications.delete(oauth_application_id="oauth_app_09876") if res is not None: # handle response @@ -227,8 +227,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.oauth_applications.rotate_secret(oauth_application_id="oauth_application_12345") +) as clerk: + res = clerk.oauth_applications.rotate_secret(oauth_application_id="oauth_application_12345") if res is not None: # handle response diff --git a/docs/sdks/organizationdomainsdk/README.md b/docs/sdks/organizationdomainsdk/README.md index 34bd16c..cc8669f 100644 --- a/docs/sdks/organizationdomainsdk/README.md +++ b/docs/sdks/organizationdomainsdk/README.md @@ -18,8 +18,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_domain.update(organization_id="", domain_id="", enrollment_mode="", verified=False) +) as clerk: + res = clerk.organization_domain.update(organization_id="", domain_id="", enrollment_mode="", verified=False) if res is not None: # handle response diff --git a/docs/sdks/organizationdomainssdk/README.md b/docs/sdks/organizationdomainssdk/README.md index ca8772b..1427560 100644 --- a/docs/sdks/organizationdomainssdk/README.md +++ b/docs/sdks/organizationdomainssdk/README.md @@ -20,8 +20,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_domains.create(organization_id="", name="", enrollment_mode="", verified=True) +) as clerk: + res = clerk.organization_domains.create(organization_id="", name="", enrollment_mode="", verified=True) if res is not None: # handle response @@ -61,8 +61,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_domains.list(organization_id="", limit=20, offset=10, verified="", enrollment_mode="") +) as clerk: + res = clerk.organization_domains.list(organization_id="", limit=20, offset=10, verified="", enrollment_mode="") if res is not None: # handle response @@ -103,8 +103,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_domains.delete(organization_id="", domain_id="") +) as clerk: + res = clerk.organization_domains.delete(organization_id="", domain_id="") if res is not None: # handle response diff --git a/docs/sdks/organizationinvitationssdk/README.md b/docs/sdks/organizationinvitationssdk/README.md index dd49c50..b7ea951 100644 --- a/docs/sdks/organizationinvitationssdk/README.md +++ b/docs/sdks/organizationinvitationssdk/README.md @@ -30,8 +30,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_invitations.get_all(limit=20, offset=10, order_by="-created_at", status=clerk_backend_api.ListInstanceOrganizationInvitationsQueryParamStatus.ACCEPTED, query="") +) as clerk: + res = clerk.organization_invitations.get_all(limit=20, offset=10, order_by="-created_at", status=clerk_backend_api.ListInstanceOrganizationInvitationsQueryParamStatus.ACCEPTED, query="") if res is not None: # handle response @@ -87,8 +87,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_invitations.create(organization_id="org_12345", email_address="user@example.com", role="admin", inviter_user_id="user_67890", public_metadata={ +) as clerk: + res = clerk.organization_invitations.create(organization_id="org_12345", email_address="user@example.com", role="admin", inviter_user_id="user_67890", public_metadata={ "key": "value", }, private_metadata={ "private_key": "secret_value", @@ -141,8 +141,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_invitations.list(organization_id="org_12345", limit=20, offset=10, status=clerk_backend_api.ListOrganizationInvitationsQueryParamStatus.PENDING) +) as clerk: + res = clerk.organization_invitations.list(organization_id="org_12345", limit=20, offset=10, status=clerk_backend_api.ListOrganizationInvitationsQueryParamStatus.PENDING) if res is not None: # handle response @@ -194,8 +194,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_invitations.bulk_create(organization_id="org_12345", request_body=[ +) as clerk: + res = clerk.organization_invitations.bulk_create(organization_id="org_12345", request_body=[ { "email_address": "newmember@example.com", "role": "admin", @@ -253,8 +253,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_invitations.list_pending(organization_id="org_12345", limit=20, offset=10) +) as clerk: + res = clerk.organization_invitations.list_pending(organization_id="org_12345", limit=20, offset=10) if res is not None: # handle response @@ -293,8 +293,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_invitations.get(organization_id="org_123456789", invitation_id="inv_987654321") +) as clerk: + res = clerk.organization_invitations.get(organization_id="org_123456789", invitation_id="inv_987654321") if res is not None: # handle response @@ -336,8 +336,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_invitations.revoke(organization_id="org_123456", invitation_id="inv_123456", requesting_user_id="usr_12345") +) as clerk: + res = clerk.organization_invitations.revoke(organization_id="org_123456", invitation_id="inv_123456", requesting_user_id="usr_12345") if res is not None: # handle response diff --git a/docs/sdks/organizationmembershipssdk/README.md b/docs/sdks/organizationmembershipssdk/README.md index 16bf9f5..24c134c 100644 --- a/docs/sdks/organizationmembershipssdk/README.md +++ b/docs/sdks/organizationmembershipssdk/README.md @@ -23,8 +23,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_memberships.create(organization_id="org_123", user_id="user_456", role="admin") +) as clerk: + res = clerk.organization_memberships.create(organization_id="org_123", user_id="user_456", role="admin") if res is not None: # handle response @@ -63,8 +63,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_memberships.list(organization_id="org_789", limit=20, offset=10, order_by="+created_at") +) as clerk: + res = clerk.organization_memberships.list(organization_id="org_789", limit=20, offset=10, order_by="+created_at") if res is not None: # handle response @@ -104,8 +104,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_memberships.update(organization_id="org_12345", user_id="user_67890", role="admin") +) as clerk: + res = clerk.organization_memberships.update(organization_id="org_12345", user_id="user_67890", role="admin") if res is not None: # handle response @@ -144,8 +144,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_memberships.delete(organization_id="org_12345", user_id="user_67890") +) as clerk: + res = clerk.organization_memberships.delete(organization_id="org_12345", user_id="user_67890") if res is not None: # handle response @@ -185,8 +185,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_memberships.update_metadata(organization_id="org_123456", user_id="user_654321", public_metadata={ +) as clerk: + res = clerk.organization_memberships.update_metadata(organization_id="org_123456", user_id="user_654321", public_metadata={ }, private_metadata={ @@ -230,8 +230,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organization_memberships.get_all(limit=20, offset=10, order_by="") +) as clerk: + res = clerk.organization_memberships.get_all(limit=20, offset=10, order_by="") if res is not None: # handle response diff --git a/docs/sdks/organizationssdk/README.md b/docs/sdks/organizationssdk/README.md index f70e67d..b04d9c0 100644 --- a/docs/sdks/organizationssdk/README.md +++ b/docs/sdks/organizationssdk/README.md @@ -31,8 +31,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organizations.list(limit=20, offset=10, include_members_count=False, query="clerk", order_by="-name") +) as clerk: + res = clerk.organizations.list(limit=20, offset=10, include_members_count=False, query="clerk", order_by="-name") if res is not None: # handle response @@ -83,8 +83,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organizations.create(name="NewOrg", created_by="user_123", private_metadata={ +) as clerk: + res = clerk.organizations.create(name="NewOrg", created_by="user_123", private_metadata={ "internal_code": "ABC123", }, public_metadata={ "public_event": "Annual Summit", @@ -131,8 +131,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organizations.get(organization_id="org_123", include_members_count=False) +) as clerk: + res = clerk.organizations.get(organization_id="org_123", include_members_count=False) if res is not None: # handle response @@ -170,8 +170,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organizations.update(organization_id="org_123_update", public_metadata={ +) as clerk: + res = clerk.organizations.update(organization_id="org_123_update", public_metadata={ }, private_metadata={ @@ -224,8 +224,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organizations.delete(organization_id="org_321_delete") +) as clerk: + res = clerk.organizations.delete(organization_id="org_321_delete") if res is not None: # handle response @@ -265,8 +265,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organizations.merge_metadata(organization_id="org_12345", public_metadata={ +) as clerk: + res = clerk.organizations.merge_metadata(organization_id="org_12345", public_metadata={ "announcement": "We are opening a new office!", }, private_metadata={ "internal_use_only": "Future plans discussion.", @@ -315,8 +315,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organizations.upload_logo(organization_id="org_12345", file={ +) as clerk: + res = clerk.organizations.upload_logo(organization_id="org_12345", file={ "file_name": "example.file", "content": open("example.file", "rb"), "content_type": "", @@ -359,8 +359,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.organizations.delete_logo(organization_id="org_12345") +) as clerk: + res = clerk.organizations.delete_logo(organization_id="org_12345") if res is not None: # handle response diff --git a/docs/sdks/phonenumbers/README.md b/docs/sdks/phonenumbers/README.md index a1d258a..b8969fb 100644 --- a/docs/sdks/phonenumbers/README.md +++ b/docs/sdks/phonenumbers/README.md @@ -21,8 +21,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.phone_numbers.create(request={ +) as clerk: + res = clerk.phone_numbers.create(request={ "user_id": "usr_12345", "phone_number": "+11234567890", "verified": True, @@ -65,8 +65,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.phone_numbers.get(phone_number_id="phone_12345") +) as clerk: + res = clerk.phone_numbers.get(phone_number_id="phone_12345") if res is not None: # handle response @@ -103,8 +103,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.phone_numbers.delete(phone_number_id="phone_12345") +) as clerk: + res = clerk.phone_numbers.delete(phone_number_id="phone_12345") if res is not None: # handle response @@ -141,8 +141,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.phone_numbers.update(phone_number_id="phone_12345", verified=False, primary=True, reserved_for_second_factor=True) +) as clerk: + res = clerk.phone_numbers.update(phone_number_id="phone_12345", verified=False, primary=True, reserved_for_second_factor=True) if res is not None: # handle response diff --git a/docs/sdks/proxychecks/README.md b/docs/sdks/proxychecks/README.md index 98aac25..ca70ce9 100644 --- a/docs/sdks/proxychecks/README.md +++ b/docs/sdks/proxychecks/README.md @@ -25,8 +25,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.proxy_checks.verify(request={ +) as clerk: + res = clerk.proxy_checks.verify(request={ "domain_id": "domain_32hfu3e", "proxy_url": "https://example.com/__clerk", }) diff --git a/docs/sdks/redirecturls/README.md b/docs/sdks/redirecturls/README.md index fa67358..6243341 100644 --- a/docs/sdks/redirecturls/README.md +++ b/docs/sdks/redirecturls/README.md @@ -18,8 +18,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.redirect_ur_ls.list() +) as clerk: + res = clerk.redirect_ur_ls.list() if res is not None: # handle response diff --git a/docs/sdks/samlconnectionssdk/README.md b/docs/sdks/samlconnectionssdk/README.md index 7e7e4a8..5850604 100644 --- a/docs/sdks/samlconnectionssdk/README.md +++ b/docs/sdks/samlconnectionssdk/README.md @@ -24,8 +24,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.saml_connections.list(limit=20, offset=10) +) as clerk: + res = clerk.saml_connections.list(limit=20, offset=10) if res is not None: # handle response @@ -64,8 +64,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.saml_connections.create(name="My SAML Connection", domain="example.org", provider=clerk_backend_api.Provider.SAML_CUSTOM, idp_entity_id="http://idp.example.org/", idp_sso_url="http://idp.example.org/sso", idp_certificate="MIIDdzCCAl+gAwIBAgIJAKcyBaiiz+DT...", idp_metadata_url="http://idp.example.org/metadata.xml", idp_metadata="", @@ -605,8 +605,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.delete_profile_image(user_id="usr_test123") +) as clerk: + res = clerk.users.delete_profile_image(user_id="usr_test123") if res is not None: # handle response @@ -650,8 +650,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.update_metadata(user_id="user_123456789", public_metadata={ +) as clerk: + res = clerk.users.update_metadata(user_id="user_123456789", public_metadata={ "key": "", "key1": "", }, private_metadata={ @@ -701,8 +701,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.get_o_auth_access_token(user_id="user_123", provider="oauth_google") +) as clerk: + res = clerk.users.get_o_auth_access_token(user_id="user_123", provider="oauth_google") if res is not None: # handle response @@ -740,8 +740,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.get_organization_memberships(user_id="usr_1234567890", limit=20, offset=10) +) as clerk: + res = clerk.users.get_organization_memberships(user_id="usr_1234567890", limit=20, offset=10) if res is not None: # handle response @@ -781,8 +781,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.get_organization_invitations(user_id="", limit=20, offset=10, status=clerk_backend_api.UsersGetOrganizationInvitationsQueryParamStatus.PENDING) +) as clerk: + res = clerk.users.get_organization_invitations(user_id="", limit=20, offset=10, status=clerk_backend_api.UsersGetOrganizationInvitationsQueryParamStatus.PENDING) if res is not None: # handle response @@ -823,8 +823,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.verify_password(user_id="user_123", password="securepassword123") +) as clerk: + res = clerk.users.verify_password(user_id="user_123", password="securepassword123") if res is not None: # handle response @@ -865,8 +865,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.verify_totp(user_id="usr_1a2b3c", code="123456") +) as clerk: + res = clerk.users.verify_totp(user_id="usr_1a2b3c", code="123456") if res is not None: # handle response @@ -904,8 +904,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.disable_mfa(user_id="user_123456") +) as clerk: + res = clerk.users.disable_mfa(user_id="user_123456") if res is not None: # handle response @@ -942,8 +942,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.delete_backup_codes(user_id="") +) as clerk: + res = clerk.users.delete_backup_codes(user_id="") if res is not None: # handle response @@ -980,8 +980,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.delete_passkey(user_id="", passkey_identification_id="") +) as clerk: + res = clerk.users.delete_passkey(user_id="", passkey_identification_id="") if res is not None: # handle response @@ -1019,8 +1019,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.delete_web3_wallet(user_id="", web3_wallet_identification_id="") +) as clerk: + res = clerk.users.delete_web3_wallet(user_id="", web3_wallet_identification_id="") if res is not None: # handle response @@ -1059,8 +1059,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.create_totp(user_id="") +) as clerk: + res = clerk.users.create_totp(user_id="") if res is not None: # handle response @@ -1097,8 +1097,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.delete_totp(user_id="") +) as clerk: + res = clerk.users.delete_totp(user_id="") if res is not None: # handle response @@ -1135,8 +1135,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.users.delete_external_account(user_id="", external_account_id="") +) as clerk: + res = clerk.users.delete_external_account(user_id="", external_account_id="") if res is not None: # handle response diff --git a/docs/sdks/webhooks/README.md b/docs/sdks/webhooks/README.md index feff425..b2c6ae3 100644 --- a/docs/sdks/webhooks/README.md +++ b/docs/sdks/webhooks/README.md @@ -23,8 +23,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.webhooks.create_svix_app() +) as clerk: + res = clerk.webhooks.create_svix_app() if res is not None: # handle response @@ -60,8 +60,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - s.webhooks.delete_svix_app() +) as clerk: + clerk.webhooks.delete_svix_app() # Use the SDK ... @@ -91,8 +91,8 @@ from clerk_backend_api import Clerk with Clerk( bearer_auth="", -) as s: - res = s.webhooks.generate_svix_auth_url() +) as clerk: + res = clerk.webhooks.generate_svix_auth_url() if res is not None: # handle response diff --git a/poetry.lock b/poetry.lock index 653304c..d9deceb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -277,13 +277,13 @@ trio = ["trio (>=0.22.0,<1.0)"] [[package]] name = "httpx" -version = "0.27.2" +version = "0.28.1" description = "The next generation HTTP client." optional = false python-versions = ">=3.8" files = [ - {file = "httpx-0.27.2-py3-none-any.whl", hash = "sha256:7bb2708e112d8fdd7829cd4243970f0c223274051cb35ee80c03301ee29a3df0"}, - {file = "httpx-0.27.2.tar.gz", hash = "sha256:f7c2be1d2f3c3c3160d441802406b206c2b76f5947b11115e6df10c6c65e66c2"}, + {file = "httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"}, + {file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"}, ] [package.dependencies] @@ -291,7 +291,6 @@ anyio = "*" certifi = "*" httpcore = "==1.*" idna = "*" -sniffio = "*" [package.extras] brotli = ["brotli", "brotlicffi"] @@ -480,22 +479,19 @@ files = [ [[package]] name = "pydantic" -version = "2.9.2" +version = "2.10.3" description = "Data validation using Python type hints" optional = false python-versions = ">=3.8" files = [ - {file = "pydantic-2.9.2-py3-none-any.whl", hash = "sha256:f048cec7b26778210e28a0459867920654d48e5e62db0958433636cde4254f12"}, - {file = "pydantic-2.9.2.tar.gz", hash = "sha256:d155cef71265d1e9807ed1c32b4c8deec042a44a50a4188b25ac67ecd81a9c0f"}, + {file = "pydantic-2.10.3-py3-none-any.whl", hash = "sha256:be04d85bbc7b65651c5f8e6b9976ed9c6f41782a55524cef079a34a0bb82144d"}, + {file = "pydantic-2.10.3.tar.gz", hash = "sha256:cb5ac360ce894ceacd69c403187900a02c4b20b693a9dd1d643e1effab9eadf9"}, ] [package.dependencies] annotated-types = ">=0.6.0" -pydantic-core = "2.23.4" -typing-extensions = [ - {version = ">=4.6.1", markers = "python_version < \"3.13\""}, - {version = ">=4.12.2", markers = "python_version >= \"3.13\""}, -] +pydantic-core = "2.27.1" +typing-extensions = ">=4.12.2" [package.extras] email = ["email-validator (>=2.0.0)"] @@ -503,100 +499,111 @@ timezone = ["tzdata"] [[package]] name = "pydantic-core" -version = "2.23.4" +version = "2.27.1" description = "Core functionality for Pydantic validation and serialization" optional = false python-versions = ">=3.8" files = [ - {file = "pydantic_core-2.23.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:b10bd51f823d891193d4717448fab065733958bdb6a6b351967bd349d48d5c9b"}, - {file = "pydantic_core-2.23.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4fc714bdbfb534f94034efaa6eadd74e5b93c8fa6315565a222f7b6f42ca1166"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63e46b3169866bd62849936de036f901a9356e36376079b05efa83caeaa02ceb"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed1a53de42fbe34853ba90513cea21673481cd81ed1be739f7f2efb931b24916"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cfdd16ab5e59fc31b5e906d1a3f666571abc367598e3e02c83403acabc092e07"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:255a8ef062cbf6674450e668482456abac99a5583bbafb73f9ad469540a3a232"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a7cd62e831afe623fbb7aabbb4fe583212115b3ef38a9f6b71869ba644624a2"}, - {file = "pydantic_core-2.23.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f09e2ff1f17c2b51f2bc76d1cc33da96298f0a036a137f5440ab3ec5360b624f"}, - {file = "pydantic_core-2.23.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e38e63e6f3d1cec5a27e0afe90a085af8b6806ee208b33030e65b6516353f1a3"}, - {file = "pydantic_core-2.23.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0dbd8dbed2085ed23b5c04afa29d8fd2771674223135dc9bc937f3c09284d071"}, - {file = "pydantic_core-2.23.4-cp310-none-win32.whl", hash = "sha256:6531b7ca5f951d663c339002e91aaebda765ec7d61b7d1e3991051906ddde119"}, - {file = "pydantic_core-2.23.4-cp310-none-win_amd64.whl", hash = "sha256:7c9129eb40958b3d4500fa2467e6a83356b3b61bfff1b414c7361d9220f9ae8f"}, - {file = "pydantic_core-2.23.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:77733e3892bb0a7fa797826361ce8a9184d25c8dffaec60b7ffe928153680ba8"}, - {file = "pydantic_core-2.23.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1b84d168f6c48fabd1f2027a3d1bdfe62f92cade1fb273a5d68e621da0e44e6d"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df49e7a0861a8c36d089c1ed57d308623d60416dab2647a4a17fe050ba85de0e"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ff02b6d461a6de369f07ec15e465a88895f3223eb75073ffea56b84d9331f607"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:996a38a83508c54c78a5f41456b0103c30508fed9abcad0a59b876d7398f25fd"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d97683ddee4723ae8c95d1eddac7c192e8c552da0c73a925a89fa8649bf13eea"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:216f9b2d7713eb98cb83c80b9c794de1f6b7e3145eef40400c62e86cee5f4e1e"}, - {file = "pydantic_core-2.23.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6f783e0ec4803c787bcea93e13e9932edab72068f68ecffdf86a99fd5918878b"}, - {file = "pydantic_core-2.23.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d0776dea117cf5272382634bd2a5c1b6eb16767c223c6a5317cd3e2a757c61a0"}, - {file = "pydantic_core-2.23.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d5f7a395a8cf1621939692dba2a6b6a830efa6b3cee787d82c7de1ad2930de64"}, - {file = "pydantic_core-2.23.4-cp311-none-win32.whl", hash = "sha256:74b9127ffea03643e998e0c5ad9bd3811d3dac8c676e47db17b0ee7c3c3bf35f"}, - {file = "pydantic_core-2.23.4-cp311-none-win_amd64.whl", hash = "sha256:98d134c954828488b153d88ba1f34e14259284f256180ce659e8d83e9c05eaa3"}, - {file = "pydantic_core-2.23.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f3e0da4ebaef65158d4dfd7d3678aad692f7666877df0002b8a522cdf088f231"}, - {file = "pydantic_core-2.23.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f69a8e0b033b747bb3e36a44e7732f0c99f7edd5cea723d45bc0d6e95377ffee"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:723314c1d51722ab28bfcd5240d858512ffd3116449c557a1336cbe3919beb87"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bb2802e667b7051a1bebbfe93684841cc9351004e2badbd6411bf357ab8d5ac8"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d18ca8148bebe1b0a382a27a8ee60350091a6ddaf475fa05ef50dc35b5df6327"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33e3d65a85a2a4a0dc3b092b938a4062b1a05f3a9abde65ea93b233bca0e03f2"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:128585782e5bfa515c590ccee4b727fb76925dd04a98864182b22e89a4e6ed36"}, - {file = "pydantic_core-2.23.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:68665f4c17edcceecc112dfed5dbe6f92261fb9d6054b47d01bf6371a6196126"}, - {file = "pydantic_core-2.23.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:20152074317d9bed6b7a95ade3b7d6054845d70584216160860425f4fbd5ee9e"}, - {file = "pydantic_core-2.23.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:9261d3ce84fa1d38ed649c3638feefeae23d32ba9182963e465d58d62203bd24"}, - {file = "pydantic_core-2.23.4-cp312-none-win32.whl", hash = "sha256:4ba762ed58e8d68657fc1281e9bb72e1c3e79cc5d464be146e260c541ec12d84"}, - {file = "pydantic_core-2.23.4-cp312-none-win_amd64.whl", hash = "sha256:97df63000f4fea395b2824da80e169731088656d1818a11b95f3b173747b6cd9"}, - {file = "pydantic_core-2.23.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:7530e201d10d7d14abce4fb54cfe5b94a0aefc87da539d0346a484ead376c3cc"}, - {file = "pydantic_core-2.23.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:df933278128ea1cd77772673c73954e53a1c95a4fdf41eef97c2b779271bd0bd"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cb3da3fd1b6a5d0279a01877713dbda118a2a4fc6f0d821a57da2e464793f05"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:42c6dcb030aefb668a2b7009c85b27f90e51e6a3b4d5c9bc4c57631292015b0d"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:696dd8d674d6ce621ab9d45b205df149399e4bb9aa34102c970b721554828510"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2971bb5ffe72cc0f555c13e19b23c85b654dd2a8f7ab493c262071377bfce9f6"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8394d940e5d400d04cad4f75c0598665cbb81aecefaca82ca85bd28264af7f9b"}, - {file = "pydantic_core-2.23.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0dff76e0602ca7d4cdaacc1ac4c005e0ce0dcfe095d5b5259163a80d3a10d327"}, - {file = "pydantic_core-2.23.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:7d32706badfe136888bdea71c0def994644e09fff0bfe47441deaed8e96fdbc6"}, - {file = "pydantic_core-2.23.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ed541d70698978a20eb63d8c5d72f2cc6d7079d9d90f6b50bad07826f1320f5f"}, - {file = "pydantic_core-2.23.4-cp313-none-win32.whl", hash = "sha256:3d5639516376dce1940ea36edf408c554475369f5da2abd45d44621cb616f769"}, - {file = "pydantic_core-2.23.4-cp313-none-win_amd64.whl", hash = "sha256:5a1504ad17ba4210df3a045132a7baeeba5a200e930f57512ee02909fc5c4cb5"}, - {file = "pydantic_core-2.23.4-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:d4488a93b071c04dc20f5cecc3631fc78b9789dd72483ba15d423b5b3689b555"}, - {file = "pydantic_core-2.23.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:81965a16b675b35e1d09dd14df53f190f9129c0202356ed44ab2728b1c905658"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ffa2ebd4c8530079140dd2d7f794a9d9a73cbb8e9d59ffe24c63436efa8f271"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:61817945f2fe7d166e75fbfb28004034b48e44878177fc54d81688e7b85a3665"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:29d2c342c4bc01b88402d60189f3df065fb0dda3654744d5a165a5288a657368"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5e11661ce0fd30a6790e8bcdf263b9ec5988e95e63cf901972107efc49218b13"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9d18368b137c6295db49ce7218b1a9ba15c5bc254c96d7c9f9e924a9bc7825ad"}, - {file = "pydantic_core-2.23.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ec4e55f79b1c4ffb2eecd8a0cfba9955a2588497d96851f4c8f99aa4a1d39b12"}, - {file = "pydantic_core-2.23.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:374a5e5049eda9e0a44c696c7ade3ff355f06b1fe0bb945ea3cac2bc336478a2"}, - {file = "pydantic_core-2.23.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5c364564d17da23db1106787675fc7af45f2f7b58b4173bfdd105564e132e6fb"}, - {file = "pydantic_core-2.23.4-cp38-none-win32.whl", hash = "sha256:d7a80d21d613eec45e3d41eb22f8f94ddc758a6c4720842dc74c0581f54993d6"}, - {file = "pydantic_core-2.23.4-cp38-none-win_amd64.whl", hash = "sha256:5f5ff8d839f4566a474a969508fe1c5e59c31c80d9e140566f9a37bba7b8d556"}, - {file = "pydantic_core-2.23.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:a4fa4fc04dff799089689f4fd502ce7d59de529fc2f40a2c8836886c03e0175a"}, - {file = "pydantic_core-2.23.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0a7df63886be5e270da67e0966cf4afbae86069501d35c8c1b3b6c168f42cb36"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dcedcd19a557e182628afa1d553c3895a9f825b936415d0dbd3cd0bbcfd29b4b"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f54b118ce5de9ac21c363d9b3caa6c800341e8c47a508787e5868c6b79c9323"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:86d2f57d3e1379a9525c5ab067b27dbb8a0642fb5d454e17a9ac434f9ce523e3"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:de6d1d1b9e5101508cb37ab0d972357cac5235f5c6533d1071964c47139257df"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1278e0d324f6908e872730c9102b0112477a7f7cf88b308e4fc36ce1bdb6d58c"}, - {file = "pydantic_core-2.23.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9a6b5099eeec78827553827f4c6b8615978bb4b6a88e5d9b93eddf8bb6790f55"}, - {file = "pydantic_core-2.23.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:e55541f756f9b3ee346b840103f32779c695a19826a4c442b7954550a0972040"}, - {file = "pydantic_core-2.23.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a5c7ba8ffb6d6f8f2ab08743be203654bb1aaa8c9dcb09f82ddd34eadb695605"}, - {file = "pydantic_core-2.23.4-cp39-none-win32.whl", hash = "sha256:37b0fe330e4a58d3c58b24d91d1eb102aeec675a3db4c292ec3928ecd892a9a6"}, - {file = "pydantic_core-2.23.4-cp39-none-win_amd64.whl", hash = "sha256:1498bec4c05c9c787bde9125cfdcc63a41004ff167f495063191b863399b1a29"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:f455ee30a9d61d3e1a15abd5068827773d6e4dc513e795f380cdd59932c782d5"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:1e90d2e3bd2c3863d48525d297cd143fe541be8bbf6f579504b9712cb6b643ec"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e203fdf807ac7e12ab59ca2bfcabb38c7cf0b33c41efeb00f8e5da1d86af480"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e08277a400de01bc72436a0ccd02bdf596631411f592ad985dcee21445bd0068"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f220b0eea5965dec25480b6333c788fb72ce5f9129e8759ef876a1d805d00801"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:d06b0c8da4f16d1d1e352134427cb194a0a6e19ad5db9161bf32b2113409e728"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:ba1a0996f6c2773bd83e63f18914c1de3c9dd26d55f4ac302a7efe93fb8e7433"}, - {file = "pydantic_core-2.23.4-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:9a5bce9d23aac8f0cf0836ecfc033896aa8443b501c58d0602dbfd5bd5b37753"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:78ddaaa81421a29574a682b3179d4cf9e6d405a09b99d93ddcf7e5239c742e21"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:883a91b5dd7d26492ff2f04f40fbb652de40fcc0afe07e8129e8ae779c2110eb"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88ad334a15b32a791ea935af224b9de1bf99bcd62fabf745d5f3442199d86d59"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:233710f069d251feb12a56da21e14cca67994eab08362207785cf8c598e74577"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:19442362866a753485ba5e4be408964644dd6a09123d9416c54cd49171f50744"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:624e278a7d29b6445e4e813af92af37820fafb6dcc55c012c834f9e26f9aaaef"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f5ef8f42bec47f21d07668a043f077d507e5bf4e668d5c6dfe6aaba89de1a5b8"}, - {file = "pydantic_core-2.23.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:aea443fffa9fbe3af1a9ba721a87f926fe548d32cab71d188a6ede77d0ff244e"}, - {file = "pydantic_core-2.23.4.tar.gz", hash = "sha256:2584f7cf844ac4d970fba483a717dbe10c1c1c96a969bf65d61ffe94df1b2863"}, + {file = "pydantic_core-2.27.1-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:71a5e35c75c021aaf400ac048dacc855f000bdfed91614b4a726f7432f1f3d6a"}, + {file = "pydantic_core-2.27.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f82d068a2d6ecfc6e054726080af69a6764a10015467d7d7b9f66d6ed5afa23b"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:121ceb0e822f79163dd4699e4c54f5ad38b157084d97b34de8b232bcaad70278"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:4603137322c18eaf2e06a4495f426aa8d8388940f3c457e7548145011bb68e05"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a33cd6ad9017bbeaa9ed78a2e0752c5e250eafb9534f308e7a5f7849b0b1bfb4"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:15cc53a3179ba0fcefe1e3ae50beb2784dede4003ad2dfd24f81bba4b23a454f"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45d9c5eb9273aa50999ad6adc6be5e0ecea7e09dbd0d31bd0c65a55a2592ca08"}, + {file = "pydantic_core-2.27.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8bf7b66ce12a2ac52d16f776b31d16d91033150266eb796967a7e4621707e4f6"}, + {file = "pydantic_core-2.27.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:655d7dd86f26cb15ce8a431036f66ce0318648f8853d709b4167786ec2fa4807"}, + {file = "pydantic_core-2.27.1-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:5556470f1a2157031e676f776c2bc20acd34c1990ca5f7e56f1ebf938b9ab57c"}, + {file = "pydantic_core-2.27.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f69ed81ab24d5a3bd93861c8c4436f54afdf8e8cc421562b0c7504cf3be58206"}, + {file = "pydantic_core-2.27.1-cp310-none-win32.whl", hash = "sha256:f5a823165e6d04ccea61a9f0576f345f8ce40ed533013580e087bd4d7442b52c"}, + {file = "pydantic_core-2.27.1-cp310-none-win_amd64.whl", hash = "sha256:57866a76e0b3823e0b56692d1a0bf722bffb324839bb5b7226a7dbd6c9a40b17"}, + {file = "pydantic_core-2.27.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:ac3b20653bdbe160febbea8aa6c079d3df19310d50ac314911ed8cc4eb7f8cb8"}, + {file = "pydantic_core-2.27.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a5a8e19d7c707c4cadb8c18f5f60c843052ae83c20fa7d44f41594c644a1d330"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7f7059ca8d64fea7f238994c97d91f75965216bcbe5f695bb44f354893f11d52"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bed0f8a0eeea9fb72937ba118f9db0cb7e90773462af7962d382445f3005e5a4"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a3cb37038123447cf0f3ea4c74751f6a9d7afef0eb71aa07bf5f652b5e6a132c"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:84286494f6c5d05243456e04223d5a9417d7f443c3b76065e75001beb26f88de"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:acc07b2cfc5b835444b44a9956846b578d27beeacd4b52e45489e93276241025"}, + {file = "pydantic_core-2.27.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4fefee876e07a6e9aad7a8c8c9f85b0cdbe7df52b8a9552307b09050f7512c7e"}, + {file = "pydantic_core-2.27.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:258c57abf1188926c774a4c94dd29237e77eda19462e5bb901d88adcab6af919"}, + {file = "pydantic_core-2.27.1-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:35c14ac45fcfdf7167ca76cc80b2001205a8d5d16d80524e13508371fb8cdd9c"}, + {file = "pydantic_core-2.27.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:d1b26e1dff225c31897696cab7d4f0a315d4c0d9e8666dbffdb28216f3b17fdc"}, + {file = "pydantic_core-2.27.1-cp311-none-win32.whl", hash = "sha256:2cdf7d86886bc6982354862204ae3b2f7f96f21a3eb0ba5ca0ac42c7b38598b9"}, + {file = "pydantic_core-2.27.1-cp311-none-win_amd64.whl", hash = "sha256:3af385b0cee8df3746c3f406f38bcbfdc9041b5c2d5ce3e5fc6637256e60bbc5"}, + {file = "pydantic_core-2.27.1-cp311-none-win_arm64.whl", hash = "sha256:81f2ec23ddc1b476ff96563f2e8d723830b06dceae348ce02914a37cb4e74b89"}, + {file = "pydantic_core-2.27.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:9cbd94fc661d2bab2bc702cddd2d3370bbdcc4cd0f8f57488a81bcce90c7a54f"}, + {file = "pydantic_core-2.27.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5f8c4718cd44ec1580e180cb739713ecda2bdee1341084c1467802a417fe0f02"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:15aae984e46de8d376df515f00450d1522077254ef6b7ce189b38ecee7c9677c"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:1ba5e3963344ff25fc8c40da90f44b0afca8cfd89d12964feb79ac1411a260ac"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:992cea5f4f3b29d6b4f7f1726ed8ee46c8331c6b4eed6db5b40134c6fe1768bb"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0325336f348dbee6550d129b1627cb8f5351a9dc91aad141ffb96d4937bd9529"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7597c07fbd11515f654d6ece3d0e4e5093edc30a436c63142d9a4b8e22f19c35"}, + {file = "pydantic_core-2.27.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3bbd5d8cc692616d5ef6fbbbd50dbec142c7e6ad9beb66b78a96e9c16729b089"}, + {file = "pydantic_core-2.27.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:dc61505e73298a84a2f317255fcc72b710b72980f3a1f670447a21efc88f8381"}, + {file = "pydantic_core-2.27.1-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:e1f735dc43da318cad19b4173dd1ffce1d84aafd6c9b782b3abc04a0d5a6f5bb"}, + {file = "pydantic_core-2.27.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:f4e5658dbffe8843a0f12366a4c2d1c316dbe09bb4dfbdc9d2d9cd6031de8aae"}, + {file = "pydantic_core-2.27.1-cp312-none-win32.whl", hash = "sha256:672ebbe820bb37988c4d136eca2652ee114992d5d41c7e4858cdd90ea94ffe5c"}, + {file = "pydantic_core-2.27.1-cp312-none-win_amd64.whl", hash = "sha256:66ff044fd0bb1768688aecbe28b6190f6e799349221fb0de0e6f4048eca14c16"}, + {file = "pydantic_core-2.27.1-cp312-none-win_arm64.whl", hash = "sha256:9a3b0793b1bbfd4146304e23d90045f2a9b5fd5823aa682665fbdaf2a6c28f3e"}, + {file = "pydantic_core-2.27.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:f216dbce0e60e4d03e0c4353c7023b202d95cbaeff12e5fd2e82ea0a66905073"}, + {file = "pydantic_core-2.27.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a2e02889071850bbfd36b56fd6bc98945e23670773bc7a76657e90e6b6603c08"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42b0e23f119b2b456d07ca91b307ae167cc3f6c846a7b169fca5326e32fdc6cf"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:764be71193f87d460a03f1f7385a82e226639732214b402f9aa61f0d025f0737"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c00666a3bd2f84920a4e94434f5974d7bbc57e461318d6bb34ce9cdbbc1f6b2"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3ccaa88b24eebc0f849ce0a4d09e8a408ec5a94afff395eb69baf868f5183107"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c65af9088ac534313e1963443d0ec360bb2b9cba6c2909478d22c2e363d98a51"}, + {file = "pydantic_core-2.27.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:206b5cf6f0c513baffaeae7bd817717140770c74528f3e4c3e1cec7871ddd61a"}, + {file = "pydantic_core-2.27.1-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:062f60e512fc7fff8b8a9d680ff0ddaaef0193dba9fa83e679c0c5f5fbd018bc"}, + {file = "pydantic_core-2.27.1-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:a0697803ed7d4af5e4c1adf1670af078f8fcab7a86350e969f454daf598c4960"}, + {file = "pydantic_core-2.27.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:58ca98a950171f3151c603aeea9303ef6c235f692fe555e883591103da709b23"}, + {file = "pydantic_core-2.27.1-cp313-none-win32.whl", hash = "sha256:8065914ff79f7eab1599bd80406681f0ad08f8e47c880f17b416c9f8f7a26d05"}, + {file = "pydantic_core-2.27.1-cp313-none-win_amd64.whl", hash = "sha256:ba630d5e3db74c79300d9a5bdaaf6200172b107f263c98a0539eeecb857b2337"}, + {file = "pydantic_core-2.27.1-cp313-none-win_arm64.whl", hash = "sha256:45cf8588c066860b623cd11c4ba687f8d7175d5f7ef65f7129df8a394c502de5"}, + {file = "pydantic_core-2.27.1-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:5897bec80a09b4084aee23f9b73a9477a46c3304ad1d2d07acca19723fb1de62"}, + {file = "pydantic_core-2.27.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:d0165ab2914379bd56908c02294ed8405c252250668ebcb438a55494c69f44ab"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6b9af86e1d8e4cfc82c2022bfaa6f459381a50b94a29e95dcdda8442d6d83864"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f6c8a66741c5f5447e047ab0ba7a1c61d1e95580d64bce852e3df1f895c4067"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a42d6a8156ff78981f8aa56eb6394114e0dedb217cf8b729f438f643608cbcd"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:64c65f40b4cd8b0e049a8edde07e38b476da7e3aaebe63287c899d2cff253fa5"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9fdcf339322a3fae5cbd504edcefddd5a50d9ee00d968696846f089b4432cf78"}, + {file = "pydantic_core-2.27.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:bf99c8404f008750c846cb4ac4667b798a9f7de673ff719d705d9b2d6de49c5f"}, + {file = "pydantic_core-2.27.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:8f1edcea27918d748c7e5e4d917297b2a0ab80cad10f86631e488b7cddf76a36"}, + {file = "pydantic_core-2.27.1-cp38-cp38-musllinux_1_1_armv7l.whl", hash = "sha256:159cac0a3d096f79ab6a44d77a961917219707e2a130739c64d4dd46281f5c2a"}, + {file = "pydantic_core-2.27.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:029d9757eb621cc6e1848fa0b0310310de7301057f623985698ed7ebb014391b"}, + {file = "pydantic_core-2.27.1-cp38-none-win32.whl", hash = "sha256:a28af0695a45f7060e6f9b7092558a928a28553366519f64083c63a44f70e618"}, + {file = "pydantic_core-2.27.1-cp38-none-win_amd64.whl", hash = "sha256:2d4567c850905d5eaaed2f7a404e61012a51caf288292e016360aa2b96ff38d4"}, + {file = "pydantic_core-2.27.1-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:e9386266798d64eeb19dd3677051f5705bf873e98e15897ddb7d76f477131967"}, + {file = "pydantic_core-2.27.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4228b5b646caa73f119b1ae756216b59cc6e2267201c27d3912b592c5e323b60"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b3dfe500de26c52abe0477dde16192ac39c98f05bf2d80e76102d394bd13854"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:aee66be87825cdf72ac64cb03ad4c15ffef4143dbf5c113f64a5ff4f81477bf9"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3b748c44bb9f53031c8cbc99a8a061bc181c1000c60a30f55393b6e9c45cc5bd"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ca038c7f6a0afd0b2448941b6ef9d5e1949e999f9e5517692eb6da58e9d44be"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e0bd57539da59a3e4671b90a502da9a28c72322a4f17866ba3ac63a82c4498e"}, + {file = "pydantic_core-2.27.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ac6c2c45c847bbf8f91930d88716a0fb924b51e0c6dad329b793d670ec5db792"}, + {file = "pydantic_core-2.27.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b94d4ba43739bbe8b0ce4262bcc3b7b9f31459ad120fb595627eaeb7f9b9ca01"}, + {file = "pydantic_core-2.27.1-cp39-cp39-musllinux_1_1_armv7l.whl", hash = "sha256:00e6424f4b26fe82d44577b4c842d7df97c20be6439e8e685d0d715feceb9fb9"}, + {file = "pydantic_core-2.27.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:38de0a70160dd97540335b7ad3a74571b24f1dc3ed33f815f0880682e6880131"}, + {file = "pydantic_core-2.27.1-cp39-none-win32.whl", hash = "sha256:7ccebf51efc61634f6c2344da73e366c75e735960b5654b63d7e6f69a5885fa3"}, + {file = "pydantic_core-2.27.1-cp39-none-win_amd64.whl", hash = "sha256:a57847b090d7892f123726202b7daa20df6694cbd583b67a592e856bff603d6c"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:3fa80ac2bd5856580e242dbc202db873c60a01b20309c8319b5c5986fbe53ce6"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:d950caa237bb1954f1b8c9227b5065ba6875ac9771bb8ec790d956a699b78676"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0e4216e64d203e39c62df627aa882f02a2438d18a5f21d7f721621f7a5d3611d"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:02a3d637bd387c41d46b002f0e49c52642281edacd2740e5a42f7017feea3f2c"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:161c27ccce13b6b0c8689418da3885d3220ed2eae2ea5e9b2f7f3d48f1d52c27"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:19910754e4cc9c63bc1c7f6d73aa1cfee82f42007e407c0f413695c2f7ed777f"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:e173486019cc283dc9778315fa29a363579372fe67045e971e89b6365cc035ed"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:af52d26579b308921b73b956153066481f064875140ccd1dfd4e77db89dbb12f"}, + {file = "pydantic_core-2.27.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:981fb88516bd1ae8b0cbbd2034678a39dedc98752f264ac9bc5839d3923fa04c"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:5fde892e6c697ce3e30c61b239330fc5d569a71fefd4eb6512fc6caec9dd9e2f"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:816f5aa087094099fff7edabb5e01cc370eb21aa1a1d44fe2d2aefdfb5599b31"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c10c309e18e443ddb108f0ef64e8729363adbfd92d6d57beec680f6261556f3"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98476c98b02c8e9b2eec76ac4156fd006628b1b2d0ef27e548ffa978393fd154"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c3027001c28434e7ca5a6e1e527487051136aa81803ac812be51802150d880dd"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:7699b1df36a48169cdebda7ab5a2bac265204003f153b4bd17276153d997670a"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:1c39b07d90be6b48968ddc8c19e7585052088fd7ec8d568bb31ff64c70ae3c97"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:46ccfe3032b3915586e469d4972973f893c0a2bb65669194a5bdea9bacc088c2"}, + {file = "pydantic_core-2.27.1-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:62ba45e21cf6571d7f716d903b5b7b6d2617e2d5d67c0923dc47b9d41369f840"}, + {file = "pydantic_core-2.27.1.tar.gz", hash = "sha256:62a763352879b84aa31058fc931884055fd75089cccbd9d58bb6afd01141b235"}, ] [package.dependencies] @@ -769,4 +776,4 @@ typing-extensions = ">=3.7.4" [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "5544ab56167d3935588ec93c596d2ac500ef0f733757b02151a7a4e993f0c3d2" +content-hash = "6c29ed30643f3990f280d30aba36d4e4ba66b6ed8bd1b21d835bbdba24c7f112" diff --git a/pyproject.toml b/pyproject.toml index 1301fd2..74a667f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "clerk-backend-api" -version = "1.4.1" +version = "1.4.2" description = "Python Client SDK for clerk.dev" authors = ["Clerk",] readme = "README-PYPI.md" @@ -20,9 +20,9 @@ in-project = true python = "^3.8" cryptography = "^43.0.1" eval-type-backport = "^0.2.0" -httpx = "^0.27.0" +httpx = "^0.28.1" jsonpath-python = "^1.0.6" -pydantic = "~2.9.2" +pydantic = "~2.10.3" pyjwt = "^2.9.0" python-dateutil = "^2.8.2" typing-inspect = "^0.9.0" diff --git a/src/clerk_backend_api/_version.py b/src/clerk_backend_api/_version.py index bd835a1..346bdc7 100644 --- a/src/clerk_backend_api/_version.py +++ b/src/clerk_backend_api/_version.py @@ -3,7 +3,7 @@ import importlib.metadata __title__: str = "clerk-backend-api" -__version__: str = "1.4.1" +__version__: str = "1.4.2" try: if __package__ is not None: diff --git a/src/clerk_backend_api/basesdk.py b/src/clerk_backend_api/basesdk.py index 61d7bd9..aa521ae 100644 --- a/src/clerk_backend_api/basesdk.py +++ b/src/clerk_backend_api/basesdk.py @@ -10,6 +10,7 @@ from clerk_backend_api.utils import RetryConfig, SerializedRequestBody, get_body_content import httpx from typing import Callable, List, Optional, Tuple +from urllib.parse import parse_qs, urlparse class BaseSDK: @@ -145,6 +146,12 @@ def build_request_with_client( request if request_has_query_params else None, _globals if request_has_query_params else None, ) + else: + # Pick up the query parameter from the override so they can be + # preserved when building the request later on (necessary as of + # httpx 0.28). + parsed_override = urlparse(str(url_override)) + query_params = parse_qs(parsed_override.query, keep_blank_values=True) headers = utils.get_headers(request, _globals) headers["Accept"] = accept_header_value diff --git a/src/clerk_backend_api/sdkconfiguration.py b/src/clerk_backend_api/sdkconfiguration.py index d0ce2a4..eacf838 100644 --- a/src/clerk_backend_api/sdkconfiguration.py +++ b/src/clerk_backend_api/sdkconfiguration.py @@ -26,9 +26,9 @@ class SDKConfiguration: server_idx: Optional[int] = 0 language: str = "python" openapi_doc_version: str = "v1" - sdk_version: str = "1.4.1" - gen_version: str = "2.472.1" - user_agent: str = "speakeasy-sdk/python 1.4.1 2.472.1 v1 clerk-backend-api" + sdk_version: str = "1.4.2" + gen_version: str = "2.474.15" + user_agent: str = "speakeasy-sdk/python 1.4.2 2.474.15 v1 clerk-backend-api" retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET) timeout_ms: Optional[int] = None