Skip to content

Commit

Permalink
Author ID for results
Browse files Browse the repository at this point in the history
  • Loading branch information
n3r committed Aug 10, 2023
1 parent cc90d67 commit 0c074a8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions qaseio/docs/ResultCreate.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions qaseio/docs/ResultsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -224,6 +225,7 @@ with qaseio.ApiClient(configuration) as api_client:
],
),
],
author_id=1,
),
],
) # ResultCreateBulk |
Expand Down
4 changes: 4 additions & 0 deletions qaseio/qaseio/model/result_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 = {
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion qaseio/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c074a8

Please sign in to comment.