pixel-client 1.2.6__tar.gz → 1.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pixel_client-1.2.6 → pixel_client-1.2.7}/PKG-INFO +1 -1
- {pixel_client-1.2.6 → pixel_client-1.2.7}/pyproject.toml +1 -1
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/_base.py +4 -4
- {pixel_client-1.2.6 → pixel_client-1.2.7}/.gitignore +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/LICENSE.txt +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/README.md +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/__init__.py +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/_sync.py +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/auth.py +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/exceptions.py +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/models.py +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/py.typed +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/settings.py +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/types.py +0 -0
- {pixel_client-1.2.6 → pixel_client-1.2.7}/src/pixel_client/utils.py +0 -0
|
@@ -543,7 +543,7 @@ class PixelClientAsync:
|
|
|
543
543
|
# If None is provided, set to -1 to move to root
|
|
544
544
|
new_parent_project_id = new_parent_project_id or -1
|
|
545
545
|
response = await self._put(
|
|
546
|
-
f"/projects/{project_id}",
|
|
546
|
+
f"/projects/{project_id}/move",
|
|
547
547
|
params={"new_parent_id": new_parent_project_id},
|
|
548
548
|
)
|
|
549
549
|
return response.json()
|
|
@@ -714,7 +714,7 @@ class PixelClientAsync:
|
|
|
714
714
|
dict: The updated data collection object.
|
|
715
715
|
"""
|
|
716
716
|
response = await self._put(
|
|
717
|
-
f"/projects/{project_id}/data_collections/{data_collection_id}",
|
|
717
|
+
f"/projects/{project_id}/data_collections/{data_collection_id}/move",
|
|
718
718
|
params={"new_project_id": new_project_id},
|
|
719
719
|
)
|
|
720
720
|
return response.json()
|
|
@@ -907,7 +907,7 @@ class PixelClientAsync:
|
|
|
907
907
|
dict: The updated image object.
|
|
908
908
|
"""
|
|
909
909
|
response = await self._put(
|
|
910
|
-
f"/projects/{project_id}/data_collections/{data_collection_id}/images/{image_id}",
|
|
910
|
+
f"/projects/{project_id}/data_collections/{data_collection_id}/images/{image_id}/move",
|
|
911
911
|
params={
|
|
912
912
|
"new_project_id": new_project_id,
|
|
913
913
|
"new_data_collection_id": new_data_collection_id,
|
|
@@ -1068,7 +1068,7 @@ class PixelClientAsync:
|
|
|
1068
1068
|
dict: The updated raster object.
|
|
1069
1069
|
"""
|
|
1070
1070
|
response = await self._put(
|
|
1071
|
-
f"/projects/{project_id}/data_collections/{data_collection_id}/rasters/{raster_id}",
|
|
1071
|
+
f"/projects/{project_id}/data_collections/{data_collection_id}/rasters/{raster_id}/move",
|
|
1072
1072
|
params={
|
|
1073
1073
|
"new_project_id": new_project_id,
|
|
1074
1074
|
"new_data_collection_id": new_data_collection_id,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|