projects_update_project

Replace metadata on a project

Functions

async pydelfini.delfini_core.api.organizational.projects_update_project.asyncio(project_id, *, client, body)[source]

Replace metadata on a project

Update the project’s metadata, leaving unspecified fields as-is.

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.organizational.projects_update_project.asyncio_detailed(project_id, *, client, body)[source]

Replace metadata on a project

Update the project’s metadata, leaving unspecified fields as-is.

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.organizational.projects_update_project.sync(project_id, *, client, body)[source]

Replace metadata on a project

Update the project’s metadata, leaving unspecified fields as-is.

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.organizational.projects_update_project.sync_detailed(project_id, *, client, body)[source]

Replace metadata on a project

Update the project’s metadata, leaving unspecified fields as-is.

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]