Skip to content

Commit 627d94d

Browse files
committed
update golden-master to match expected output
1 parent 1aa4d5d commit 627d94d

File tree

1 file changed

+4
-14
lines changed
  • end_to_end_tests/golden-master/my_test_api_client/api

1 file changed

+4
-14
lines changed

end_to_end_tests/golden-master/my_test_api_client/api/tests.py

+4-14
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
def get_user_list(
1616
*, client: Client, an_enum_value: List[AnEnum], some_date: Union[datetime.date, datetime.datetime],
17-
) -> Union[
18-
List[AModel], HTTPValidationError,
19-
]:
17+
) -> Union[List[AModel], HTTPValidationError]:
2018

2119
""" Get a list of things """
2220
url = "{}/tests/".format(client.base_url)
@@ -112,9 +110,7 @@ def get_basic_list_of_booleans(*, client: Client,) -> List[bool]:
112110

113111
def upload_file_tests_upload_post(
114112
*, client: Client, multipart_data: BodyUploadFileTestsUploadPost, keep_alive: Optional[bool] = None,
115-
) -> Union[
116-
None, HTTPValidationError,
117-
]:
113+
) -> Union[None, HTTPValidationError]:
118114

119115
""" Upload a file """
120116
url = "{}/tests/upload".format(client.base_url)
@@ -133,11 +129,7 @@ def upload_file_tests_upload_post(
133129
raise ApiResponseError(response=response)
134130

135131

136-
def json_body_tests_json_body_post(
137-
*, client: Client, json_body: AModel,
138-
) -> Union[
139-
None, HTTPValidationError,
140-
]:
132+
def json_body_tests_json_body_post(*, client: Client, json_body: AModel,) -> Union[None, HTTPValidationError]:
141133

142134
""" Try sending a JSON body """
143135
url = "{}/tests/json_body".format(client.base_url)
@@ -171,9 +163,7 @@ def test_defaults_tests_test_defaults_post(
171163
),
172164
union_prop: Optional[Union[Optional[float], Optional[str]]] = "not a float",
173165
enum_prop: Optional[AnEnum] = None,
174-
) -> Union[
175-
None, HTTPValidationError,
176-
]:
166+
) -> Union[None, HTTPValidationError]:
177167

178168
""" """
179169
url = "{}/tests/test_defaults".format(client.base_url)

0 commit comments

Comments
 (0)