Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -33,7 +34,11 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}",
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}".format(
project_id=quote(str(project_id), safe=""),
location_id=quote(str(location_id), safe=""),
comment_id=quote(str(comment_id), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -33,7 +34,11 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes",
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes".format(
project_id=quote(str(project_id), safe=""),
location_id=quote(str(location_id), safe=""),
comment_id=quote(str(comment_id), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand All @@ -17,7 +18,10 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/projects/{project_id}/locations/{location_id}/comments",
"url": "/projects/{project_id}/locations/{location_id}/comments".format(
project_id=quote(str(project_id), safe=""),
location_id=quote(str(location_id), safe=""),
),
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand All @@ -18,7 +19,11 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/projects/{project_id}/locations/{location_id}/methods/{method_id}/comments",
"url": "/projects/{project_id}/locations/{location_id}/methods/{method_id}/comments".format(
project_id=quote(str(project_id), safe=""),
location_id=quote(str(location_id), safe=""),
method_id=quote(str(method_id), safe=""),
),
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -33,7 +34,11 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes",
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes".format(
project_id=quote(str(project_id), safe=""),
location_id=quote(str(location_id), safe=""),
comment_id=quote(str(comment_id), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -37,7 +38,11 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "put",
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/text",
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/text".format(
project_id=quote(str(project_id), safe=""),
location_id=quote(str(location_id), safe=""),
comment_id=quote(str(comment_id), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -36,7 +37,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/projects/{project_id}/locations/{location_id}/comments",
"url": "/projects/{project_id}/locations/{location_id}/comments".format(
project_id=quote(str(project_id), safe=""),
location_id=quote(str(location_id), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -34,7 +35,12 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes/{like_id}",
"url": "/projects/{project_id}/locations/{location_id}/comments/{comment_id}/likes/{like_id}".format(
project_id=quote(str(project_id), safe=""),
location_id=quote(str(location_id), safe=""),
comment_id=quote(str(comment_id), safe=""),
like_id=quote(str(like_id), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -34,7 +35,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/projects/{project_id}/cross_sections/lines/{format_}",
"url": "/projects/{project_id}/cross_sections/lines/{format_}".format(
project_id=quote(str(project_id), safe=""),
format_=quote(str(format_), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -20,7 +21,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/projects/{project_id}/cross_sections",
"url": "/projects/{project_id}/cross_sections".format(
project_id=quote(str(project_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any, cast
from urllib.parse import quote
from uuid import UUID

import httpx
Expand All @@ -16,7 +17,10 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/projects/{project_id}/cross_sections/{cross_section_id}",
"url": "/projects/{project_id}/cross_sections/{cross_section_id}".format(
project_id=quote(str(project_id), safe=""),
cross_section_id=quote(str(cross_section_id), safe=""),
),
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any, cast
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -28,7 +29,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "delete",
"url": f"/projects/{project_id}/cross_sections",
"url": "/projects/{project_id}/cross_sections".format(
project_id=quote(str(project_id), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand All @@ -20,7 +21,11 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/projects/{project_id}/cross_sections/{cross_section_id}/{format_}",
"url": "/projects/{project_id}/cross_sections/{cross_section_id}/{format_}".format(
project_id=quote(str(project_id), safe=""),
cross_section_id=quote(str(cross_section_id), safe=""),
format_=quote(str(format_), safe=""),
),
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand All @@ -17,7 +18,10 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/projects/{project_id}/cross_sections/{cross_section_id}",
"url": "/projects/{project_id}/cross_sections/{cross_section_id}".format(
project_id=quote(str(project_id), safe=""),
cross_section_id=quote(str(cross_section_id), safe=""),
),
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -15,7 +16,9 @@ def _get_kwargs(
) -> dict[str, Any]:
_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/projects/{project_id}/cross_sections",
"url": "/projects/{project_id}/cross_sections".format(
project_id=quote(str(project_id), safe=""),
),
}

return _kwargs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand All @@ -22,7 +23,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "put",
"url": f"/projects/{project_id}/cross_sections/{cross_section_id}",
"url": "/projects/{project_id}/cross_sections/{cross_section_id}".format(
project_id=quote(str(project_id), safe=""),
cross_section_id=quote(str(cross_section_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -30,7 +31,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/projects/{project_id}/export/files",
"url": "/projects/{project_id}/export/files".format(
project_id=quote(str(project_id), safe=""),
),
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote

import httpx

Expand All @@ -19,7 +20,9 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "post",
"url": f"/projects/{project_id}/export",
"url": "/projects/{project_id}/export".format(
project_id=quote(str(project_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand All @@ -22,7 +23,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "put",
"url": f"/projects/{project_id}/files/{file_id}",
"url": "/projects/{project_id}/files/{file_id}".format(
project_id=quote(str(project_id), safe=""),
file_id=quote(str(file_id), safe=""),
),
}

_kwargs["json"] = body.to_dict()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from http import HTTPStatus
from typing import Any
from urllib.parse import quote
from uuid import UUID

import httpx
Expand Down Expand Up @@ -48,7 +49,10 @@ def _get_kwargs(

_kwargs: dict[str, Any] = {
"method": "get",
"url": f"/projects/{project_id}/files/{file_id}/download",
"url": "/projects/{project_id}/files/{file_id}/download".format(
project_id=quote(str(project_id), safe=""),
file_id=quote(str(file_id), safe=""),
),
"params": params,
}

Expand Down
Loading