exasol / bucketfs-python

BucketFS utilities for the Python programming language
https://exasol.github.io/bucketfs-python
MIT License
1 stars 1 forks source link

📚 API DesignDoc: "DirectoryBucket" #103

Closed Nicoretti closed 5 months ago

Nicoretti commented 5 months ago

Summary

Write an API specification for a "DirectoryBucket" (type name to be defined) for the bucketfs library. The DirectoryBucket acts as a wrapper around a Bucket, targeted at a specific subdirectory, to facilitate object storage operations within that subdirectory context.

Goals

Functionality

Note: Consider having the path operations in a path object which will/can be used by the DirectoryBucket.

Related Issues

tkilias commented 5 months ago

in the bucket we used upload and download instead of write and read

https://github.com/exasol/bucketfs-python/blob/a53a7966e335274f91b7994e1d3e4c034fcefd55/exasol/bucketfs/__init__.py#L242 https://github.com/exasol/bucketfs-python/blob/a53a7966e335274f91b7994e1d3e4c034fcefd55/exasol/bucketfs/__init__.py#L278

tkilias commented 5 months ago

But, we also need a way to get the path of the bucket in the UDF File system for the transformer-extension..