Error is nullable in AddNode result

This commit is contained in:
Quentin 2022-09-14 17:19:13 +02:00
parent 98bae16be0
commit 7b1c1faf7a
Signed by: quentin
GPG key ID: E9602264D639FF68
3 changed files with 5 additions and 5 deletions

2
garage

@ -1 +1 @@
Subproject commit ba6792231072c32f4de3cd2cec0788c55e7de6c0 Subproject commit 0dc0f519e119ae1c560d51e37af21187e99c8b57

View file

@ -5,7 +5,7 @@
Name | Type | Description | Notes Name | Type | Description | Notes
------------ | ------------- | ------------- | ------------- ------------ | ------------- | ------------- | -------------
**success** | **bool** | | [optional] **success** | **bool** | | [optional]
**error** | **str** | | [optional] **error** | **str, 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] **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) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View file

@ -82,7 +82,7 @@ class AddNode200ResponseInner(ModelNormal):
""" """
return { return {
'success': (bool,), # noqa: E501 'success': (bool,), # noqa: E501
'error': (str,), # noqa: E501 'error': (str, none_type,), # noqa: E501
} }
@cached_property @cached_property
@ -137,7 +137,7 @@ class AddNode200ResponseInner(ModelNormal):
through its discriminator because we passed in through its discriminator because we passed in
_visited_composed_classes = (Animal,) _visited_composed_classes = (Animal,)
success (bool): [optional] # noqa: E501 success (bool): [optional] # noqa: E501
error (str): [optional] # noqa: E501 error (str, none_type): [optional] # noqa: E501
""" """
_check_type = kwargs.pop('_check_type', True) _check_type = kwargs.pop('_check_type', True)
@ -224,7 +224,7 @@ class AddNode200ResponseInner(ModelNormal):
through its discriminator because we passed in through its discriminator because we passed in
_visited_composed_classes = (Animal,) _visited_composed_classes = (Animal,)
success (bool): [optional] # noqa: E501 success (bool): [optional] # noqa: E501
error (str): [optional] # noqa: E501 error (str, none_type): [optional] # noqa: E501
""" """
_check_type = kwargs.pop('_check_type', True) _check_type = kwargs.pop('_check_type', True)