auth_activate_session

Activate a placeholder session ID using the current session

Functions

async pydelfini.delfini_core.api.auth.auth_activate_session.asyncio(*, client, body)[source]

Activate a placeholder session ID using the current session

By providing an activation code, the related placeholder session will assume the identity of the current session.

This method cannot be used to reactivate expired sessions, nor can it be used by an assumed identity.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[Any]

Return type:

Any

async pydelfini.delfini_core.api.auth.auth_activate_session.asyncio_detailed(*, client, body)[source]

Activate a placeholder session ID using the current session

By providing an activation code, the related placeholder session will assume the identity of the current session.

This method cannot be used to reactivate expired sessions, nor can it be used by an assumed identity.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Union[Any, ServerError]]

Return type:

Response[Any | ServerError]

pydelfini.delfini_core.api.auth.auth_activate_session.sync(*, client, body)[source]

Activate a placeholder session ID using the current session

By providing an activation code, the related placeholder session will assume the identity of the current session.

This method cannot be used to reactivate expired sessions, nor can it be used by an assumed identity.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns a status code greater than or equal to 300.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Union[Any]

Return type:

Any

pydelfini.delfini_core.api.auth.auth_activate_session.sync_detailed(*, client, body)[source]

Activate a placeholder session ID using the current session

By providing an activation code, the related placeholder session will assume the identity of the current session.

This method cannot be used to reactivate expired sessions, nor can it be used by an assumed identity.

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Union[Any, ServerError]]

Return type:

Response[Any | ServerError]