root_message_of_the_day

Get messages of the day

Functions

async pydelfini.delfini_core.api.general.root_message_of_the_day.asyncio(*, client)[source]

Get messages of the day

Retrieves any posted messages from system administrators.

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[RootMessageOfTheDayResponse200]

Parameters:

client (AuthenticatedClient | Client)

Return type:

RootMessageOfTheDayResponse200

async pydelfini.delfini_core.api.general.root_message_of_the_day.asyncio_detailed(*, client)[source]

Get messages of the day

Retrieves any posted messages from system administrators.

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[RootMessageOfTheDayResponse200, ServerError]]

Parameters:

client (AuthenticatedClient | Client)

Return type:

Response[RootMessageOfTheDayResponse200 | ServerError]

pydelfini.delfini_core.api.general.root_message_of_the_day.sync(*, client)[source]

Get messages of the day

Retrieves any posted messages from system administrators.

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[RootMessageOfTheDayResponse200]

Parameters:

client (AuthenticatedClient | Client)

Return type:

RootMessageOfTheDayResponse200

pydelfini.delfini_core.api.general.root_message_of_the_day.sync_detailed(*, client)[source]

Get messages of the day

Retrieves any posted messages from system administrators.

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[RootMessageOfTheDayResponse200, ServerError]]

Parameters:

client (AuthenticatedClient | Client)

Return type:

Response[RootMessageOfTheDayResponse200 | ServerError]