Light Logo
Python SDK (v0.35.0)Reference

authenticated_user

Authenticated user module.

authenticated_user module

Authenticated user module.

class UpdateUserParams

Bases: TypedDict

Parameters for updating a user.

name : NotRequired[str]

The new name of the user.

display_name : NotRequired[str | None]

The new display name of the user.

bio : NotRequired[str | None]

The new biography of the user.

urls : NotRequired[list[str] | None]

The new URLs associated with the user.

company : NotRequired[str | None]

The new company of the user.

location : NotRequired[str | None]

The new location of the user.

class AuthenticatedUser(api)

Bases: Resource

Initializes the Resource with an API instance.

  • Parameters: api (API) – An instance of the API class.

get()

Get the authenticated user.

async async_get()

Get authenticated user.

models(**options)

List models of the authenticated user.

async async_models(**options)

List models of the authenticated user.

update(**params)

Update the authenticated user.

async async_update(**params)

Update the authenticated user.