Skip to content

Commit 855adcc

Browse files
authored
[create-pull-request] automated change (#130)
Co-authored-by: yejiyang <[email protected]>
1 parent b42a98f commit 855adcc

File tree

162 files changed

+667
-115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+667
-115
lines changed

field-manager-python-client/field_manager_python_client/api/comments/delete_comment_projects_project_id_locations_location_id_comments_comment_id_delete.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ def _parse_response(
4747
response_200 = Comment.from_dict(response.json())
4848

4949
return response_200
50+
5051
if response.status_code == 422:
5152
response_422 = HTTPValidationError.from_dict(response.json())
5253

5354
return response_422
55+
5456
if client.raise_on_unexpected_status:
5557
raise errors.UnexpectedStatus(response.status_code, response.content)
5658
else:

field-manager-python-client/field_manager_python_client/api/comments/get_likes_projects_project_id_locations_location_id_comments_comment_id_likes_get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ def _parse_response(
5252
response_200.append(response_200_item)
5353

5454
return response_200
55+
5556
if response.status_code == 422:
5657
response_422 = HTTPValidationError.from_dict(response.json())
5758

5859
return response_422
60+
5961
if client.raise_on_unexpected_status:
6062
raise errors.UnexpectedStatus(response.status_code, response.content)
6163
else:

field-manager-python-client/field_manager_python_client/api/comments/get_location_comments_projects_project_id_locations_location_id_comments_get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ def _parse_response(
3535
response_200.append(response_200_item)
3636

3737
return response_200
38+
3839
if response.status_code == 422:
3940
response_422 = HTTPValidationError.from_dict(response.json())
4041

4142
return response_422
43+
4244
if client.raise_on_unexpected_status:
4345
raise errors.UnexpectedStatus(response.status_code, response.content)
4446
else:

field-manager-python-client/field_manager_python_client/api/comments/get_method_comments_projects_project_id_locations_location_id_methods_method_id_comments_get.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ def _parse_response(
3636
response_200.append(response_200_item)
3737

3838
return response_200
39+
3940
if response.status_code == 422:
4041
response_422 = HTTPValidationError.from_dict(response.json())
4142

4243
return response_422
44+
4345
if client.raise_on_unexpected_status:
4446
raise errors.UnexpectedStatus(response.status_code, response.content)
4547
else:

field-manager-python-client/field_manager_python_client/api/comments/like_comment_projects_project_id_locations_location_id_comments_comment_id_likes_post.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ def _parse_response(
4747
response_201 = Like.from_dict(response.json())
4848

4949
return response_201
50+
5051
if response.status_code == 422:
5152
response_422 = HTTPValidationError.from_dict(response.json())
5253

5354
return response_422
55+
5456
if client.raise_on_unexpected_status:
5557
raise errors.UnexpectedStatus(response.status_code, response.content)
5658
else:

field-manager-python-client/field_manager_python_client/api/comments/modify_comment_projects_project_id_locations_location_id_comments_comment_id_text_put.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ def _parse_response(
5656
response_200 = Comment.from_dict(response.json())
5757

5858
return response_200
59+
5960
if response.status_code == 422:
6061
response_422 = HTTPValidationError.from_dict(response.json())
6162

6263
return response_422
64+
6365
if client.raise_on_unexpected_status:
6466
raise errors.UnexpectedStatus(response.status_code, response.content)
6567
else:

field-manager-python-client/field_manager_python_client/api/comments/submit_comment_projects_project_id_locations_location_id_comments_post.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ def _parse_response(
5555
response_201 = Comment.from_dict(response.json())
5656

5757
return response_201
58+
5859
if response.status_code == 422:
5960
response_422 = HTTPValidationError.from_dict(response.json())
6061

6162
return response_422
63+
6264
if client.raise_on_unexpected_status:
6365
raise errors.UnexpectedStatus(response.status_code, response.content)
6466
else:

field-manager-python-client/field_manager_python_client/api/comments/unlike_comment_projects_project_id_locations_location_id_comments_comment_id_likes_like_id_delete.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ def _parse_response(
4848
response_200 = Like.from_dict(response.json())
4949

5050
return response_200
51+
5152
if response.status_code == 422:
5253
response_422 = HTTPValidationError.from_dict(response.json())
5354

5455
return response_422
56+
5557
if client.raise_on_unexpected_status:
5658
raise errors.UnexpectedStatus(response.status_code, response.content)
5759
else:

field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_lines_projects_project_id_cross_sections_lines_format_post.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ def _parse_response(
4747
if response.status_code == 201:
4848
response_201 = response.json()
4949
return response_201
50+
5051
if response.status_code == 422:
5152
response_422 = HTTPValidationError.from_dict(response.json())
5253

5354
return response_422
55+
5456
if client.raise_on_unexpected_status:
5557
raise errors.UnexpectedStatus(response.status_code, response.content)
5658
else:

field-manager-python-client/field_manager_python_client/api/cross_sections/create_cross_section_projects_project_id_cross_sections_post.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ def _parse_response(
3838
response_201 = CrossSection.from_dict(response.json())
3939

4040
return response_201
41+
4142
if response.status_code == 422:
4243
response_422 = HTTPValidationError.from_dict(response.json())
4344

4445
return response_422
46+
4547
if client.raise_on_unexpected_status:
4648
raise errors.UnexpectedStatus(response.status_code, response.content)
4749
else:

0 commit comments

Comments
 (0)