From 0c074a821913f70fe0f491cf588775f837974cc4 Mon Sep 17 00:00:00 2001 From: Nikita Fedorov Date: Thu, 10 Aug 2023 15:45:40 +0500 Subject: [PATCH] Author ID for results --- qaseio/docs/ResultCreate.md | 1 + qaseio/docs/ResultsApi.md | 2 ++ qaseio/qaseio/model/result_create.py | 4 ++++ qaseio/setup.py | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/qaseio/docs/ResultCreate.md b/qaseio/docs/ResultCreate.md index 9126a6b9..fa0208c5 100644 --- a/qaseio/docs/ResultCreate.md +++ b/qaseio/docs/ResultCreate.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **comment** | **str, none_type** | | [optional] **param** | **{str: (str,)}, none_type** | A map of parameters (name => value) | [optional] **steps** | [**[TestStepResultCreate], none_type**](TestStepResultCreate.md) | | [optional] +**author_id** | **int, none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/qaseio/docs/ResultsApi.md b/qaseio/docs/ResultsApi.md index 850fa4f1..7f421d5b 100644 --- a/qaseio/docs/ResultsApi.md +++ b/qaseio/docs/ResultsApi.md @@ -93,6 +93,7 @@ with qaseio.ApiClient(configuration) as api_client: ], ), ], + author_id=1, ) # ResultCreate | # example passing only required values which don't have defaults set @@ -224,6 +225,7 @@ with qaseio.ApiClient(configuration) as api_client: ], ), ], + author_id=1, ), ], ) # ResultCreateBulk | diff --git a/qaseio/qaseio/model/result_create.py b/qaseio/qaseio/model/result_create.py index 82a6f134..b86fcd06 100644 --- a/qaseio/qaseio/model/result_create.py +++ b/qaseio/qaseio/model/result_create.py @@ -121,6 +121,7 @@ def openapi_types(): 'comment': (str, none_type,), # noqa: E501 'param': ({str: (str,)}, none_type,), # noqa: E501 'steps': ([TestStepResultCreate], none_type,), # noqa: E501 + 'author_id': (int, none_type,), # noqa: E501 } @cached_property @@ -141,6 +142,7 @@ def discriminator(): 'comment': 'comment', # noqa: E501 'param': 'param', # noqa: E501 'steps': 'steps', # noqa: E501 + 'author_id': 'author_id', # noqa: E501 } read_only_vars = { @@ -198,6 +200,7 @@ def _from_openapi_data(cls, status, *args, **kwargs): # noqa: E501 comment (str, none_type): [optional] # noqa: E501 param ({str: (str,)}, none_type): A map of parameters (name => value). [optional] # noqa: E501 steps ([TestStepResultCreate], none_type): [optional] # noqa: E501 + author_id (int, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -298,6 +301,7 @@ def __init__(self, status, *args, **kwargs): # noqa: E501 comment (str, none_type): [optional] # noqa: E501 param ({str: (str,)}, none_type): A map of parameters (name => value). [optional] # noqa: E501 steps ([TestStepResultCreate], none_type): [optional] # noqa: E501 + author_id (int, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/qaseio/setup.py b/qaseio/setup.py index 2b7bd063..c1fd5cbb 100644 --- a/qaseio/setup.py +++ b/qaseio/setup.py @@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "qaseio" -VERSION = "3.4.0" +VERSION = "3.4.1" # To install the library, run the following # # python setup.py install