Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lichess_client/endpoints/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand Down