geobox 2.0.1__py3-none-any.whl → 2.2.0__py3-none-any.whl
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.
- geobox/__init__.py +61 -63
- geobox/aio/__init__.py +61 -63
- geobox/aio/api.py +489 -473
- geobox/aio/apikey.py +263 -263
- geobox/aio/attachment.py +341 -339
- geobox/aio/base.py +261 -262
- geobox/aio/basemap.py +196 -196
- geobox/aio/dashboard.py +340 -342
- geobox/aio/feature.py +23 -33
- geobox/aio/field.py +315 -321
- geobox/aio/file.py +72 -72
- geobox/aio/layout.py +340 -341
- geobox/aio/log.py +23 -23
- geobox/aio/map.py +1033 -1034
- geobox/aio/model3d.py +415 -415
- geobox/aio/mosaic.py +696 -696
- geobox/aio/plan.py +314 -314
- geobox/aio/query.py +693 -693
- geobox/aio/raster.py +907 -869
- geobox/aio/raster_analysis.py +740 -0
- geobox/aio/route.py +4 -4
- geobox/aio/scene.py +340 -342
- geobox/aio/settings.py +18 -18
- geobox/aio/task.py +404 -402
- geobox/aio/tile3d.py +337 -339
- geobox/aio/tileset.py +102 -103
- geobox/aio/usage.py +52 -51
- geobox/aio/user.py +506 -507
- geobox/aio/vector_tool.py +1968 -0
- geobox/aio/vectorlayer.py +315 -306
- geobox/aio/version.py +272 -273
- geobox/aio/view.py +1019 -983
- geobox/aio/workflow.py +340 -341
- geobox/api.py +18 -2
- geobox/apikey.py +262 -262
- geobox/attachment.py +336 -337
- geobox/base.py +384 -384
- geobox/basemap.py +194 -194
- geobox/dashboard.py +339 -341
- geobox/enums.py +432 -348
- geobox/feature.py +5 -5
- geobox/field.py +320 -320
- geobox/file.py +4 -4
- geobox/layout.py +339 -340
- geobox/log.py +4 -4
- geobox/map.py +1031 -1032
- geobox/model3d.py +410 -410
- geobox/mosaic.py +696 -696
- geobox/plan.py +313 -313
- geobox/query.py +691 -691
- geobox/raster.py +907 -863
- geobox/raster_analysis.py +737 -0
- geobox/scene.py +341 -342
- geobox/settings.py +194 -194
- geobox/task.py +399 -400
- geobox/tile3d.py +337 -338
- geobox/tileset.py +4 -4
- geobox/usage.py +3 -3
- geobox/user.py +503 -503
- geobox/vector_tool.py +1968 -0
- geobox/vectorlayer.py +5 -5
- geobox/version.py +272 -272
- geobox/view.py +981 -981
- geobox/workflow.py +338 -339
- {geobox-2.0.1.dist-info → geobox-2.2.0.dist-info}/METADATA +15 -1
- geobox-2.2.0.dist-info/RECORD +72 -0
- geobox-2.0.1.dist-info/RECORD +0 -68
- {geobox-2.0.1.dist-info → geobox-2.2.0.dist-info}/WHEEL +0 -0
- {geobox-2.0.1.dist-info → geobox-2.2.0.dist-info}/licenses/LICENSE +0 -0
- {geobox-2.0.1.dist-info → geobox-2.2.0.dist-info}/top_level.txt +0 -0
geobox/file.py
CHANGED
|
@@ -16,7 +16,7 @@ if TYPE_CHECKING:
|
|
|
16
16
|
from . import GeoboxClient
|
|
17
17
|
from .user import User
|
|
18
18
|
from .aio import AsyncGeoboxClient
|
|
19
|
-
from .aio.file import
|
|
19
|
+
from .aio.file import AsyncFile
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class File(Base):
|
|
@@ -331,7 +331,7 @@ class File(Base):
|
|
|
331
331
|
>>> file = File.get_file(client, uuid="12345678-1234-5678-1234-567812345678")
|
|
332
332
|
>>> file.delete()
|
|
333
333
|
"""
|
|
334
|
-
return super().
|
|
334
|
+
return super()._delete(self.endpoint)
|
|
335
335
|
|
|
336
336
|
|
|
337
337
|
def publish(self,
|
|
@@ -501,7 +501,7 @@ class File(Base):
|
|
|
501
501
|
async_client (AsyncGeoboxClient): The async version of the GeoboxClient instance for making requests.
|
|
502
502
|
|
|
503
503
|
Returns:
|
|
504
|
-
|
|
504
|
+
AsyncFile: the async instance of the file.
|
|
505
505
|
|
|
506
506
|
Example:
|
|
507
507
|
>>> from geobox import Geoboxclient
|
|
@@ -512,6 +512,6 @@ class File(Base):
|
|
|
512
512
|
>>> async with AsyncGeoboxClient() as async_client:
|
|
513
513
|
>>> async_file = file.to_async(async_client)
|
|
514
514
|
"""
|
|
515
|
-
from .aio.file import
|
|
515
|
+
from .aio.file import AsyncFile
|
|
516
516
|
|
|
517
517
|
return AsyncFile(api=async_client, uuid=self.uuid, data=self.data)
|