Skip to content

GSPath md5 hash property could potentially be supported #482

@fafnirZ

Description

@fafnirZ

In the supported methods and properties table in the README, it shows that the md5 property is only supported for AzureBlobPath, but isnt supported for GSPath.

however there exists a property returned by bucket.get_blob: Blob.md5_hash
https://cloud.google.com/python/docs/reference/storage/latest/google.cloud.storage.blob.Blob#google_cloud_storage_blob_Blob_md5_hash

so if I understand correctly it should be as simple as updating a line in this dictionary to reflect that,

(and adding a property inside GSPath too)

Happy to submit a PR for it which addresses this and updates docs / tests if this functionality is wanted!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions