import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.object_storage.post_storage_objects(data={
"type": latitudesh_python_sdk.PostStorageObjectsType.OBJECTS,
"attributes": {
"project": "proj_6059EqYkOQj8p",
"name": "my-bucket",
"region": "DAL",
},
})
# Handle response
print(res)Creates a new object storage bucket for a project.
import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.object_storage.post_storage_objects(data={
"type": latitudesh_python_sdk.PostStorageObjectsType.OBJECTS,
"attributes": {
"project": "proj_6059EqYkOQj8p",
"name": "my-bucket",
"region": "DAL",
},
})
# Handle response
print(res)Documentation Index
Fetch the complete documentation index at: https://www.latitude.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?