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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pixel-client
3
- Version: 1.2.6
3
+ Version: 1.2.7
4
4
  Summary: Client library for Geodata Pixel
5
5
  Project-URL: Documentation, https://doc.geodatapixel.no/
6
6
  Project-URL: Organization, https://geodata.no
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pixel-client"
3
- version = "1.2.6"
3
+ version = "1.2.7"
4
4
  description = "Client library for Geodata Pixel"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -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