diff --git a/lichess_client/endpoints/account.py b/lichess_client/endpoints/account.py index 1655d2b..688b06f 100644 --- a/lichess_client/endpoints/account.py +++ b/lichess_client/endpoints/account.py @@ -28,7 +28,7 @@ async def get_my_profile(self) -> 'Response': ------- >>> from lichess_client import APIClient >>> client = APIClient(token='...') - >>> response = client.account.get_my_profile() + >>> response = await client.account.get_my_profile() """ headers = { 'Content-Type': 'application/json' @@ -48,7 +48,7 @@ async def get_my_email_address(self) -> 'Response': ------- >>> from lichess_client import APIClient >>> client = APIClient(token='...') - >>> response = client.account.get_my_email_address() + >>> response = await client.account.get_my_email_address() """ headers = { 'Content-Type': 'application/json' @@ -68,7 +68,7 @@ async def get_my_preferences(self) -> 'Response': ------- >>> from lichess_client import APIClient >>> client = APIClient(token='...') - >>> response = client.account.get_my_preferences() + >>> response = await client.account.get_my_preferences() """ headers = { 'Content-Type': 'application/json' @@ -88,7 +88,7 @@ async def get_my_kid_mode_status(self) -> 'Response': ------- >>> from lichess_client import APIClient >>> client = APIClient(token='...') - >>> response = client.account.get_my_kid_mode_status() + >>> response = await client.account.get_my_kid_mode_status() """ headers = { 'Content-Type': 'application/json' @@ -113,7 +113,7 @@ async def set_my_kid_mode_status(self, *, turned_on: bool) -> 'Response': ------- >>> from lichess_client import APIClient >>> client = APIClient(token='...') - >>> response = client.account.set_my_kid_mode_status()() + >>> response = await client.account.set_my_kid_mode_status() """ headers = { 'Content-Type': 'application/json'