Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement IBucket.get_size() method #7

Open
asuiu opened this issue Mar 16, 2025 · 1 comment
Open

Implement IBucket.get_size() method #7

asuiu opened this issue Mar 16, 2025 · 1 comment
Labels
enhancement New feature or request Trello

Comments

@asuiu
Copy link
Member

asuiu commented Mar 16, 2025

For Java and Python libs: Develop a get_size() method within the IBucket module to retrieve the size of a specified object within a bucket-based storage system.

Functional Requirements:

  • Object Identification: The method must accept a parameter that uniquely identifies the object within the bucket (e.g., object key or path).
  • Size Retrieval: The method must retrieve and return the size of the specified object, typically in bytes.
  • Error Handling: Implement appropriate error handling for scenarios such as:
    • Object not found.
    • Insufficient permissions.
    • Connection errors.

Acceptance Criteria:

  • The get_size() method must accurately return the size of an existing object.
  • The method must handle cases where the object does not exist, raising an appropriate exception or returning a designated error value.
  • The method should be robust and handle potential errors gracefully.
  • The method should be efficient.
@asuiu asuiu added the enhancement New feature or request label Mar 16, 2025
@asuiu asuiu closed this as completed Mar 27, 2025
@asuiu asuiu reopened this Mar 27, 2025
@asuiu asuiu added the Trello label Mar 27, 2025
@asuiu
Copy link
Member Author

asuiu commented Mar 28, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Trello
Projects
None yet
Development

No branches or pull requests

2 participants