From aec5dc6556432eb2ae0167da2726f89d47282040 Mon Sep 17 00:00:00 2001 From: Harsh Shrikant Bhat <90265455+harshsbhat@users.noreply.github.com> Date: Wed, 6 Nov 2024 02:08:13 +0530 Subject: [PATCH] docs: fixes the python-sdk docs import statement (#2646) --- apps/docs/libraries/py/services/apis.mdx | 10 +++---- .../docs/libraries/py/services/identities.mdx | 10 +++---- apps/docs/libraries/py/services/keys.mdx | 28 +++++++++---------- .../docs/libraries/py/services/migrations.mdx | 4 +-- .../libraries/py/services/permissions.mdx | 16 +++++------ .../docs/libraries/py/services/ratelimits.mdx | 2 +- 6 files changed, 35 insertions(+), 35 deletions(-) diff --git a/apps/docs/libraries/py/services/apis.mdx b/apps/docs/libraries/py/services/apis.mdx index d3ca5ec1d..54d0b09ec 100644 --- a/apps/docs/libraries/py/services/apis.mdx +++ b/apps/docs/libraries/py/services/apis.mdx @@ -8,7 +8,7 @@ title: Apis ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -52,7 +52,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -98,7 +98,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -147,7 +147,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -193,7 +193,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), diff --git a/apps/docs/libraries/py/services/identities.mdx b/apps/docs/libraries/py/services/identities.mdx index 461a421a1..63c9dbe9d 100644 --- a/apps/docs/libraries/py/services/identities.mdx +++ b/apps/docs/libraries/py/services/identities.mdx @@ -8,7 +8,7 @@ title: Identities ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -66,7 +66,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -111,7 +111,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -161,7 +161,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -225,7 +225,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), diff --git a/apps/docs/libraries/py/services/keys.mdx b/apps/docs/libraries/py/services/keys.mdx index f0881917e..aac3d1c36 100644 --- a/apps/docs/libraries/py/services/keys.mdx +++ b/apps/docs/libraries/py/services/keys.mdx @@ -7,7 +7,7 @@ title: Keys ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -52,7 +52,7 @@ if res.key is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -98,7 +98,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -145,7 +145,7 @@ if res.object is not None: ```python import os import unkey -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -217,7 +217,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -277,7 +277,7 @@ if res.v1_keys_verify_key_response is not None: ```python import os import unkey -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -370,7 +370,7 @@ if res.object is not None: ```python import os import unkey -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -419,7 +419,7 @@ if res.object is not None: ```python import os import unkey -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -469,7 +469,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -518,7 +518,7 @@ if res.response_bodies is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -572,7 +572,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -630,7 +630,7 @@ if res.response_bodies is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -688,7 +688,7 @@ if res.response_bodies is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -742,7 +742,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), diff --git a/apps/docs/libraries/py/services/migrations.mdx b/apps/docs/libraries/py/services/migrations.mdx index cb6fb56cb..b70767f59 100644 --- a/apps/docs/libraries/py/services/migrations.mdx +++ b/apps/docs/libraries/py/services/migrations.mdx @@ -9,7 +9,7 @@ title: Migrations ```python import os import unkey -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -86,7 +86,7 @@ if res.object is not None: ```python import os import unkey -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), diff --git a/apps/docs/libraries/py/services/permissions.mdx b/apps/docs/libraries/py/services/permissions.mdx index 704467ee1..0e8e3c785 100644 --- a/apps/docs/libraries/py/services/permissions.mdx +++ b/apps/docs/libraries/py/services/permissions.mdx @@ -8,7 +8,7 @@ title: Permissions ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -55,7 +55,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -101,7 +101,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -145,7 +145,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -188,7 +188,7 @@ if res.response_bodies is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -235,7 +235,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -281,7 +281,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), @@ -325,7 +325,7 @@ if res.object is not None: ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""), diff --git a/apps/docs/libraries/py/services/ratelimits.mdx b/apps/docs/libraries/py/services/ratelimits.mdx index df8166320..690a338e7 100644 --- a/apps/docs/libraries/py/services/ratelimits.mdx +++ b/apps/docs/libraries/py/services/ratelimits.mdx @@ -8,7 +8,7 @@ title: Ratelimits ```python import os -from unkey import Unkey +from unkey_py import Unkey s = Unkey( bearer_auth=os.getenv("UNKEY_BEARER_AUTH", ""),