Skip to content

Commit e3b33ad

Browse files
authored
[create-pull-request] automated change (#156)
Co-authored-by: yejiyang <6262071+yejiyang@users.noreply.github.com>
1 parent 4d9f7c2 commit e3b33ad

271 files changed

Lines changed: 12957 additions & 1447 deletions

File tree

Some content is hidden

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

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: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -18,6 +19,7 @@ def _get_kwargs(
1819
*,
1920
method_id: None | Unset | UUID = UNSET,
2021
) -> dict[str, Any]:
22+
2123
params: dict[str, Any] = {}
2224

2325
json_method_id: None | str | Unset
@@ -33,7 +35,11 @@ def _get_kwargs(
3335

3436
_kwargs: dict[str, Any] = {
3537
"method": "delete",
36-
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}",
38+
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}".format(
39+
project_id=quote(str(project_id), safe=""),
40+
location_id=quote(str(location_id), safe=""),
41+
comment_id=quote(str(comment_id), safe=""),
42+
),
3743
"params": params,
3844
}
3945

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: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -18,6 +19,7 @@ def _get_kwargs(
1819
*,
1920
method_id: None | Unset | UUID = UNSET,
2021
) -> dict[str, Any]:
22+
2123
params: dict[str, Any] = {}
2224

2325
json_method_id: None | str | Unset
@@ -33,7 +35,11 @@ def _get_kwargs(
3335

3436
_kwargs: dict[str, Any] = {
3537
"method": "get",
36-
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes",
38+
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes".format(
39+
project_id=quote(str(project_id), safe=""),
40+
location_id=quote(str(location_id), safe=""),
41+
comment_id=quote(str(comment_id), safe=""),
42+
),
3743
"params": params,
3844
}
3945

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -15,9 +16,13 @@ def _get_kwargs(
1516
project_id: str,
1617
location_id: UUID,
1718
) -> dict[str, Any]:
19+
1820
_kwargs: dict[str, Any] = {
1921
"method": "get",
20-
"url": f"/projects/{project_id}/locations/{location_id}/comments",
22+
"url": "/projects/{project_id}/locations/{location_id}/comments".format(
23+
project_id=quote(str(project_id), safe=""),
24+
location_id=quote(str(location_id), safe=""),
25+
),
2126
}
2227

2328
return _kwargs

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: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -16,9 +17,14 @@ def _get_kwargs(
1617
location_id: UUID,
1718
method_id: UUID,
1819
) -> dict[str, Any]:
20+
1921
_kwargs: dict[str, Any] = {
2022
"method": "get",
21-
"url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/comments",
23+
"url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/comments".format(
24+
project_id=quote(str(project_id), safe=""),
25+
location_id=quote(str(location_id), safe=""),
26+
method_id=quote(str(method_id), safe=""),
27+
),
2228
}
2329

2430
return _kwargs

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: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -18,6 +19,7 @@ def _get_kwargs(
1819
*,
1920
method_id: None | Unset | UUID = UNSET,
2021
) -> dict[str, Any]:
22+
2123
params: dict[str, Any] = {}
2224

2325
json_method_id: None | str | Unset
@@ -33,7 +35,11 @@ def _get_kwargs(
3335

3436
_kwargs: dict[str, Any] = {
3537
"method": "post",
36-
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes",
38+
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes".format(
39+
project_id=quote(str(project_id), safe=""),
40+
location_id=quote(str(location_id), safe=""),
41+
comment_id=quote(str(comment_id), safe=""),
42+
),
3743
"params": params,
3844
}
3945

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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -37,7 +38,11 @@ def _get_kwargs(
3738

3839
_kwargs: dict[str, Any] = {
3940
"method": "put",
40-
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/text",
41+
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/text".format(
42+
project_id=quote(str(project_id), safe=""),
43+
location_id=quote(str(location_id), safe=""),
44+
comment_id=quote(str(comment_id), safe=""),
45+
),
4146
"params": params,
4247
}
4348

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -36,7 +37,10 @@ def _get_kwargs(
3637

3738
_kwargs: dict[str, Any] = {
3839
"method": "post",
39-
"url": f"/projects/{project_id}/locations/{location_id}/comments",
40+
"url": "/projects/{project_id}/locations/{location_id}/comments".format(
41+
project_id=quote(str(project_id), safe=""),
42+
location_id=quote(str(location_id), safe=""),
43+
),
4044
"params": params,
4145
}
4246

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: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -19,6 +20,7 @@ def _get_kwargs(
1920
*,
2021
method_id: None | Unset | UUID = UNSET,
2122
) -> dict[str, Any]:
23+
2224
params: dict[str, Any] = {}
2325

2426
json_method_id: None | str | Unset
@@ -34,7 +36,12 @@ def _get_kwargs(
3436

3537
_kwargs: dict[str, Any] = {
3638
"method": "delete",
37-
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes/{like_id}",
39+
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes/{like_id}".format(
40+
project_id=quote(str(project_id), safe=""),
41+
location_id=quote(str(location_id), safe=""),
42+
comment_id=quote(str(comment_id), safe=""),
43+
like_id=quote(str(like_id), safe=""),
44+
),
3845
"params": params,
3946
}
4047

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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34
from uuid import UUID
45

56
import httpx
@@ -19,6 +20,7 @@ def _get_kwargs(
1920
*,
2021
cross_section_ids: list[UUID] | Unset = UNSET,
2122
) -> dict[str, Any]:
23+
2224
params: dict[str, Any] = {}
2325

2426
json_cross_section_ids: list[str] | Unset = UNSET
@@ -34,7 +36,10 @@ def _get_kwargs(
3436

3537
_kwargs: dict[str, Any] = {
3638
"method": "post",
37-
"url": f"/projects/{project_id}/cross_sections/lines/{format_}",
39+
"url": "/projects/{project_id}/cross_sections/lines/{format_}".format(
40+
project_id=quote(str(project_id), safe=""),
41+
format_=quote(str(format_), safe=""),
42+
),
3843
"params": params,
3944
}
4045

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from http import HTTPStatus
22
from typing import Any
3+
from urllib.parse import quote
34

45
import httpx
56

@@ -20,7 +21,9 @@ def _get_kwargs(
2021

2122
_kwargs: dict[str, Any] = {
2223
"method": "post",
23-
"url": f"/projects/{project_id}/cross_sections",
24+
"url": "/projects/{project_id}/cross_sections".format(
25+
project_id=quote(str(project_id), safe=""),
26+
),
2427
}
2528

2629
_kwargs["json"] = body.to_dict()

0 commit comments

Comments
 (0)