You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/11/30 22:24:53 UTC

[GitHub] [beam] creste opened a new issue, #24440: [Bug]: 'BlobProperties' object has no attribute 'properties'

creste opened a new issue, #24440:
URL: https://github.com/apache/beam/issues/24440

   ### What happened?
   
   `BlobStorageIO.checksum()` has this line of code:
   https://github.com/apache/beam/blob/9915ec466b217dc79ae47d0d318f73ad174da626/sdks/python/apache_beam/io/azure/blobstorageio.py#L378
   
   Which fails with this error:
   >AttributeError: 'BlobProperties' object has no attribute 'properties'
   
   Because the [BlobProperties](https://learn.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.blobproperties?view=azure-python) class does not have a `properties` attribute.
   
   This fixes the problem:
   ```python
   return self._blob_properties(path).etag
   ```
   
   ### Issue Priority
   
   Priority: 1
   
   ### Issue Component
   
   Component: io-py-ideas


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] Abacn closed issue #24440: [Bug]: 'BlobProperties' object has no attribute 'properties'

Posted by GitBox <gi...@apache.org>.
Abacn closed issue #24440: [Bug]: 'BlobProperties' object has no attribute 'properties'
URL: https://github.com/apache/beam/issues/24440


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] Abacn commented on issue #24440: [Bug]: 'BlobProperties' object has no attribute 'properties'

Posted by GitBox <gi...@apache.org>.
Abacn commented on issue #24440:
URL: https://github.com/apache/beam/issues/24440#issuecomment-1332819140

   Thanks for reporting this. Looks like an obvious mistake introduced in #17380. Will open a PR for fix.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] Abacn commented on issue #24440: [Bug]: 'BlobProperties' object has no attribute 'properties'

Posted by GitBox <gi...@apache.org>.
Abacn commented on issue #24440:
URL: https://github.com/apache/beam/issues/24440#issuecomment-1332819228

   .take-issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org