polarion_rest_api_client.open_api_client.api.test_run_comments package

Contains endpoint functions for accessing the API

Submodules

polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comment module

async polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comment.asyncio(project_id: str, test_run_id: str, comment_id: str, *, client: AuthenticatedClient | Client, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TestrunCommentsSingleGetResponse | None

Returns the specified Test Run Comment.

Args:

project_id (str): test_run_id (str): comment_id (str): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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:

Errors | TestrunCommentsSingleGetResponse

async polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comment.asyncio_detailed(project_id: str, test_run_id: str, comment_id: str, *, client: AuthenticatedClient | Client, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TestrunCommentsSingleGetResponse]

Returns the specified Test Run Comment.

Args:

project_id (str): test_run_id (str): comment_id (str): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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[Errors | TestrunCommentsSingleGetResponse]

polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comment.sync(project_id: str, test_run_id: str, comment_id: str, *, client: AuthenticatedClient | Client, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TestrunCommentsSingleGetResponse | None

Returns the specified Test Run Comment.

Args:

project_id (str): test_run_id (str): comment_id (str): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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:

Errors | TestrunCommentsSingleGetResponse

polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comment.sync_detailed(project_id: str, test_run_id: str, comment_id: str, *, client: AuthenticatedClient | Client, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TestrunCommentsSingleGetResponse]

Returns the specified Test Run Comment.

Args:

project_id (str): test_run_id (str): comment_id (str): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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[Errors | TestrunCommentsSingleGetResponse]

polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comments module

async polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comments.asyncio(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, pagesize: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TestrunCommentsListGetResponse | None

Returns a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): pagesize (int | Unset): pagenumber (int | Unset): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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:

Errors | TestrunCommentsListGetResponse

async polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comments.asyncio_detailed(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, pagesize: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TestrunCommentsListGetResponse]

Returns a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): pagesize (int | Unset): pagenumber (int | Unset): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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[Errors | TestrunCommentsListGetResponse]

polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comments.sync(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, pagesize: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Errors | TestrunCommentsListGetResponse | None

Returns a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): pagesize (int | Unset): pagenumber (int | Unset): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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:

Errors | TestrunCommentsListGetResponse

polarion_rest_api_client.open_api_client.api.test_run_comments.get_test_run_comments.sync_detailed(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, pagesize: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: int | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: SparseFields | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, include: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: str | Unset = <polarion_rest_api_client.open_api_client.types.Unset object>) Response[Errors | TestrunCommentsListGetResponse]

Returns a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): pagesize (int | Unset): pagenumber (int | Unset): fields (SparseFields | Unset): include (str | Unset): revision (str | Unset):

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[Errors | TestrunCommentsListGetResponse]

polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comment module

async polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comment.asyncio(project_id: str, test_run_id: str, comment_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsSinglePatchRequest) Any | Errors | None

Updates the specified Test Run Comment.

Args:

project_id (str): test_run_id (str): comment_id (str): body (TestrunCommentsSinglePatchRequest):

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:

Any | Errors

async polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comment.asyncio_detailed(project_id: str, test_run_id: str, comment_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsSinglePatchRequest) Response[Any | Errors]

Updates the specified Test Run Comment.

Args:

project_id (str): test_run_id (str): comment_id (str): body (TestrunCommentsSinglePatchRequest):

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[Any | Errors]

polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comment.sync(project_id: str, test_run_id: str, comment_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsSinglePatchRequest) Any | Errors | None

Updates the specified Test Run Comment.

Args:

project_id (str): test_run_id (str): comment_id (str): body (TestrunCommentsSinglePatchRequest):

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:

Any | Errors

polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comment.sync_detailed(project_id: str, test_run_id: str, comment_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsSinglePatchRequest) Response[Any | Errors]

Updates the specified Test Run Comment.

Args:

project_id (str): test_run_id (str): comment_id (str): body (TestrunCommentsSinglePatchRequest):

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[Any | Errors]

polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comments module

async polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comments.asyncio(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsListPatchRequest) Any | Errors | None

Updates a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): body (TestrunCommentsListPatchRequest):

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:

Any | Errors

async polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comments.asyncio_detailed(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsListPatchRequest) Response[Any | Errors]

Updates a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): body (TestrunCommentsListPatchRequest):

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[Any | Errors]

polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comments.sync(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsListPatchRequest) Any | Errors | None

Updates a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): body (TestrunCommentsListPatchRequest):

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:

Any | Errors

polarion_rest_api_client.open_api_client.api.test_run_comments.patch_test_run_comments.sync_detailed(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsListPatchRequest) Response[Any | Errors]

Updates a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): body (TestrunCommentsListPatchRequest):

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[Any | Errors]

polarion_rest_api_client.open_api_client.api.test_run_comments.post_test_run_comments module

async polarion_rest_api_client.open_api_client.api.test_run_comments.post_test_run_comments.asyncio(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsListPostRequest) Errors | TestrunCommentsListPostResponse | None

Creates a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): body (TestrunCommentsListPostRequest):

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:

Errors | TestrunCommentsListPostResponse

async polarion_rest_api_client.open_api_client.api.test_run_comments.post_test_run_comments.asyncio_detailed(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsListPostRequest) Response[Errors | TestrunCommentsListPostResponse]

Creates a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): body (TestrunCommentsListPostRequest):

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[Errors | TestrunCommentsListPostResponse]

polarion_rest_api_client.open_api_client.api.test_run_comments.post_test_run_comments.sync(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsListPostRequest) Errors | TestrunCommentsListPostResponse | None

Creates a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): body (TestrunCommentsListPostRequest):

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:

Errors | TestrunCommentsListPostResponse

polarion_rest_api_client.open_api_client.api.test_run_comments.post_test_run_comments.sync_detailed(project_id: str, test_run_id: str, *, client: AuthenticatedClient | Client, body: TestrunCommentsListPostRequest) Response[Errors | TestrunCommentsListPostResponse]

Creates a list of Test Run Comments.

Args:

project_id (str): test_run_id (str): body (TestrunCommentsListPostRequest):

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[Errors | TestrunCommentsListPostResponse]