Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing fixes + docs improvements #121

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Update account.py
typing fixes + improved wording
  • Loading branch information
Jodenee committed Oct 3, 2024
commit bc4f8eca06905e3bbd720638ae172acba3d68980
6 changes: 3 additions & 3 deletions roblox/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def set_birthday(
}
)

async def get_description(self) -> string:
async def get_description(self) -> str:
"""
Gets the authenticated user's description.

Expand All @@ -81,14 +81,14 @@ async def get_description(self) -> string:

async def set_description(
self,
description: string,
description: str,
):
"""
Updates the authenticated user's description.
This endpoint *may* require your token, and requires an unlocked PIN.

Arguments:
description: A string object that represents the description to update the Client's account to.
description: A string containing the authenticated user's new description.
"""
await self._client.requests.post(
url=self._client.url_generator.get_url("accountinformation", "v1/description"),
Expand Down