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: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <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 (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):
- 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:
Union[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: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <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 (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):
- 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[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: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <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 (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):
- 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:
Union[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: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <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 (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):
- 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[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: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, pagesize: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <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 (Union[Unset, int]): pagenumber (Union[Unset, int]): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):
- 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:
Union[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: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, pagesize: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <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 (Union[Unset, int]): pagenumber (Union[Unset, int]): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):
- 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[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: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, pagesize: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <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 (Union[Unset, int]): pagenumber (Union[Unset, int]): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):
- 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:
Union[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: ~polarion_rest_api_client.open_api_client.client.AuthenticatedClient | ~polarion_rest_api_client.open_api_client.client.Client, pagesize: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, pagenumber: ~polarion_rest_api_client.open_api_client.types.Unset | int = <polarion_rest_api_client.open_api_client.types.Unset object>, fields: ~polarion_rest_api_client.open_api_client.types.Unset | ~polarion_rest_api_client.open_api_client.models.sparse_fields.SparseFields = <polarion_rest_api_client.open_api_client.types.Unset object>, include: ~polarion_rest_api_client.open_api_client.types.Unset | str = <polarion_rest_api_client.open_api_client.types.Unset object>, revision: ~polarion_rest_api_client.open_api_client.types.Unset | str = <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 (Union[Unset, int]): pagenumber (Union[Unset, int]): fields (Union[Unset, SparseFields]): include (Union[Unset, str]): revision (Union[Unset, str]):
- 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[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:
Union[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[Union[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:
Union[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[Union[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:
Union[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[Union[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:
Union[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[Union[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:
Union[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[Union[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:
Union[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[Union[Errors, TestrunCommentsListPostResponse]]