projects_create_project

Create a new project

Functions

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

Create a new project

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

Return type:

Project

async pydelfini.delfini_core.api.organizational.projects_create_project.asyncio_detailed(*, client, body)[source]

Create a new project

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

Return type:

Response[Project | ServerError]

pydelfini.delfini_core.api.organizational.projects_create_project.sync(*, client, body)[source]

Create a new project

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

Return type:

Project

pydelfini.delfini_core.api.organizational.projects_create_project.sync_detailed(*, client, body)[source]

Create a new project

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

Return type:

Response[Project | ServerError]