From ac1dbc326dce2c9e4b6ce9b137c1875998ef8685 Mon Sep 17 00:00:00 2001 From: Shriniwas Kulkarni <153389794+Shriniwas18K@users.noreply.github.com> Date: Fri, 23 Aug 2024 22:05:05 -0700 Subject: [PATCH] fixed #84-Documentation: Account function being used without importing. added Account function import statements --- docs/examples/account/create-anonymous-session.md | 4 ++++ docs/examples/account/create-email-password-session.md | 4 ++++ docs/examples/account/create-email-token.md | 4 ++++ docs/examples/account/create-j-w-t.md | 4 ++++ docs/examples/account/create-magic-u-r-l-token.md | 4 ++++ docs/examples/account/create-mfa-authenticator.md | 5 +++++ docs/examples/account/create-mfa-challenge.md | 4 ++++ docs/examples/account/create-mfa-recovery-codes.md | 5 +++++ docs/examples/account/create-o-auth2token.md | 4 ++++ docs/examples/account/create-phone-token.md | 4 ++++ docs/examples/account/create-phone-verification.md | 4 ++++ docs/examples/account/create-recovery.md | 5 +++++ docs/examples/account/create-session.md | 4 ++++ docs/examples/account/create-verification.md | 5 +++++ docs/examples/account/delete-identity.md | 5 +++++ docs/examples/account/delete-mfa-authenticator.md | 5 +++++ docs/examples/account/delete-session.md | 5 +++++ docs/examples/account/delete-sessions.md | 5 +++++ docs/examples/account/get-mfa-recovery-codes.md | 4 ++++ docs/examples/account/get-prefs.md | 5 +++++ docs/examples/account/get-session.md | 5 +++++ docs/examples/account/get.md | 5 +++++ docs/examples/account/list-identities.md | 5 +++++ docs/examples/account/list-logs.md | 5 +++++ docs/examples/account/list-mfa-factors.md | 5 +++++ docs/examples/account/list-sessions.md | 5 +++++ docs/examples/account/update-email.md | 5 +++++ docs/examples/account/update-m-f-a.md | 5 +++++ docs/examples/account/update-magic-u-r-l-session.md | 4 ++++ docs/examples/account/update-mfa-authenticator.md | 5 +++++ docs/examples/account/update-mfa-challenge.md | 5 +++++ docs/examples/account/update-mfa-recovery-codes.md | 5 +++++ docs/examples/account/update-name.md | 5 +++++ docs/examples/account/update-password.md | 5 +++++ docs/examples/account/update-phone-session.md | 4 ++++ docs/examples/account/update-phone-verification.md | 5 +++++ docs/examples/account/update-phone.md | 5 +++++ docs/examples/account/update-prefs.md | 5 +++++ docs/examples/account/update-recovery.md | 5 +++++ docs/examples/account/update-session.md | 5 +++++ docs/examples/account/update-status.md | 5 +++++ docs/examples/account/update-verification.md | 5 +++++ 42 files changed, 197 insertions(+) diff --git a/docs/examples/account/create-anonymous-session.md b/docs/examples/account/create-anonymous-session.md index afaa76b..fc4e675 100644 --- a/docs/examples/account/create-anonymous-session.md +++ b/docs/examples/account/create-anonymous-session.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-email-password-session.md b/docs/examples/account/create-email-password-session.md index 667d85a..b59b116 100644 --- a/docs/examples/account/create-email-password-session.md +++ b/docs/examples/account/create-email-password-session.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-email-token.md b/docs/examples/account/create-email-token.md index a283f42..c17ccff 100644 --- a/docs/examples/account/create-email-token.md +++ b/docs/examples/account/create-email-token.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-j-w-t.md b/docs/examples/account/create-j-w-t.md index bc9b684..e2f4cc8 100644 --- a/docs/examples/account/create-j-w-t.md +++ b/docs/examples/account/create-j-w-t.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-magic-u-r-l-token.md b/docs/examples/account/create-magic-u-r-l-token.md index 1f6593b..6c83ba9 100644 --- a/docs/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/account/create-magic-u-r-l-token.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-mfa-authenticator.md b/docs/examples/account/create-mfa-authenticator.md index 1c59624..b54b9ba 100644 --- a/docs/examples/account/create-mfa-authenticator.md +++ b/docs/examples/account/create-mfa-authenticator.md @@ -1,9 +1,14 @@ from appwrite.client import Client from appwrite.enums import AuthenticatorType +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create-mfa-challenge.md b/docs/examples/account/create-mfa-challenge.md index 5448d96..7367985 100644 --- a/docs/examples/account/create-mfa-challenge.md +++ b/docs/examples/account/create-mfa-challenge.md @@ -1,8 +1,12 @@ from appwrite.client import Client from appwrite.enums import AuthenticationFactor +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-mfa-recovery-codes.md b/docs/examples/account/create-mfa-recovery-codes.md index c675936..c09e711 100644 --- a/docs/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/account/create-mfa-recovery-codes.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create-o-auth2token.md b/docs/examples/account/create-o-auth2token.md index 96c0f88..2c16b47 100644 --- a/docs/examples/account/create-o-auth2token.md +++ b/docs/examples/account/create-o-auth2token.md @@ -1,8 +1,12 @@ from appwrite.client import Client from appwrite.enums import OAuthProvider +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-phone-token.md b/docs/examples/account/create-phone-token.md index b7597df..0e43154 100644 --- a/docs/examples/account/create-phone-token.md +++ b/docs/examples/account/create-phone-token.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-phone-verification.md b/docs/examples/account/create-phone-verification.md index ca46b01..d9f992c 100644 --- a/docs/examples/account/create-phone-verification.md +++ b/docs/examples/account/create-phone-verification.md @@ -1,8 +1,12 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create-recovery.md b/docs/examples/account/create-recovery.md index c16be97..486a18a 100644 --- a/docs/examples/account/create-recovery.md +++ b/docs/examples/account/create-recovery.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create-session.md b/docs/examples/account/create-session.md index 118a1ab..ef6bc41 100644 --- a/docs/examples/account/create-session.md +++ b/docs/examples/account/create-session.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-verification.md b/docs/examples/account/create-verification.md index 6138686..91d9e17 100644 --- a/docs/examples/account/create-verification.md +++ b/docs/examples/account/create-verification.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/delete-identity.md b/docs/examples/account/delete-identity.md index 1462fbc..d3f5c9c 100644 --- a/docs/examples/account/delete-identity.md +++ b/docs/examples/account/delete-identity.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/delete-mfa-authenticator.md b/docs/examples/account/delete-mfa-authenticator.md index 5deb210..5a6993a 100644 --- a/docs/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/account/delete-mfa-authenticator.md @@ -1,9 +1,14 @@ from appwrite.client import Client from appwrite.enums import AuthenticatorType +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/delete-session.md b/docs/examples/account/delete-session.md index 030d698..58f974f 100644 --- a/docs/examples/account/delete-session.md +++ b/docs/examples/account/delete-session.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/delete-sessions.md b/docs/examples/account/delete-sessions.md index 182c375..fd4bf71 100644 --- a/docs/examples/account/delete-sessions.md +++ b/docs/examples/account/delete-sessions.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/get-mfa-recovery-codes.md b/docs/examples/account/get-mfa-recovery-codes.md index 123fe4b..c99758f 100644 --- a/docs/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/account/get-mfa-recovery-codes.md @@ -1,8 +1,12 @@ from appwrite.client import Client +from appwrite.services.account import Account client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/get-prefs.md b/docs/examples/account/get-prefs.md index 102f4dc..35bc908 100644 --- a/docs/examples/account/get-prefs.md +++ b/docs/examples/account/get-prefs.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/get-session.md b/docs/examples/account/get-session.md index b9483ac..08d8d81 100644 --- a/docs/examples/account/get-session.md +++ b/docs/examples/account/get-session.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/get.md b/docs/examples/account/get.md index cc66fe6..61df7e1 100644 --- a/docs/examples/account/get.md +++ b/docs/examples/account/get.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/list-identities.md b/docs/examples/account/list-identities.md index 3e0d4e0..467b1e9 100644 --- a/docs/examples/account/list-identities.md +++ b/docs/examples/account/list-identities.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/list-logs.md b/docs/examples/account/list-logs.md index 0c0b28a..4f179d2 100644 --- a/docs/examples/account/list-logs.md +++ b/docs/examples/account/list-logs.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/list-mfa-factors.md b/docs/examples/account/list-mfa-factors.md index 007c237..a8a4d94 100644 --- a/docs/examples/account/list-mfa-factors.md +++ b/docs/examples/account/list-mfa-factors.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/list-sessions.md b/docs/examples/account/list-sessions.md index 23398dc..0933340 100644 --- a/docs/examples/account/list-sessions.md +++ b/docs/examples/account/list-sessions.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-email.md b/docs/examples/account/update-email.md index 353edb0..b53ee0c 100644 --- a/docs/examples/account/update-email.md +++ b/docs/examples/account/update-email.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-m-f-a.md b/docs/examples/account/update-m-f-a.md index b59ede8..0530fa6 100644 --- a/docs/examples/account/update-m-f-a.md +++ b/docs/examples/account/update-m-f-a.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-magic-u-r-l-session.md b/docs/examples/account/update-magic-u-r-l-session.md index 631fac0..110df00 100644 --- a/docs/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/account/update-magic-u-r-l-session.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/update-mfa-authenticator.md b/docs/examples/account/update-mfa-authenticator.md index dc9a21f..f273d9f 100644 --- a/docs/examples/account/update-mfa-authenticator.md +++ b/docs/examples/account/update-mfa-authenticator.md @@ -1,9 +1,14 @@ from appwrite.client import Client from appwrite.enums import AuthenticatorType +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-mfa-challenge.md b/docs/examples/account/update-mfa-challenge.md index 7074e6d..e785aca 100644 --- a/docs/examples/account/update-mfa-challenge.md +++ b/docs/examples/account/update-mfa-challenge.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-mfa-recovery-codes.md b/docs/examples/account/update-mfa-recovery-codes.md index 281d892..7576a9d 100644 --- a/docs/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/account/update-mfa-recovery-codes.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-name.md b/docs/examples/account/update-name.md index 8e16f49..d43a0da 100644 --- a/docs/examples/account/update-name.md +++ b/docs/examples/account/update-name.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-password.md b/docs/examples/account/update-password.md index 7d651c2..82f57fe 100644 --- a/docs/examples/account/update-password.md +++ b/docs/examples/account/update-password.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-phone-session.md b/docs/examples/account/update-phone-session.md index ff0c10d..47119b5 100644 --- a/docs/examples/account/update-phone-session.md +++ b/docs/examples/account/update-phone-session.md @@ -1,7 +1,11 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID account = Account(client) diff --git a/docs/examples/account/update-phone-verification.md b/docs/examples/account/update-phone-verification.md index adb5b35..264659f 100644 --- a/docs/examples/account/update-phone-verification.md +++ b/docs/examples/account/update-phone-verification.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-phone.md b/docs/examples/account/update-phone.md index c05bb16..a8b88fa 100644 --- a/docs/examples/account/update-phone.md +++ b/docs/examples/account/update-phone.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-prefs.md b/docs/examples/account/update-prefs.md index 2c58cca..5528b65 100644 --- a/docs/examples/account/update-prefs.md +++ b/docs/examples/account/update-prefs.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-recovery.md b/docs/examples/account/update-recovery.md index 4dca711..f602576 100644 --- a/docs/examples/account/update-recovery.md +++ b/docs/examples/account/update-recovery.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-session.md b/docs/examples/account/update-session.md index 006c508..900f7a8 100644 --- a/docs/examples/account/update-session.md +++ b/docs/examples/account/update-session.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-status.md b/docs/examples/account/update-status.md index 5c17fa1..0ae6a12 100644 --- a/docs/examples/account/update-status.md +++ b/docs/examples/account/update-status.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-verification.md b/docs/examples/account/update-verification.md index 84c8c4b..29917ab 100644 --- a/docs/examples/account/update-verification.md +++ b/docs/examples/account/update-verification.md @@ -1,8 +1,13 @@ from appwrite.client import Client +from appwrite.services.account import Account + client = Client() + client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint + client.set_project('5df5acd0d48c2') # Your project ID + client.set_session('') # The user session to authenticate with account = Account(client)