azure-sdk-for-python
azure-sdk-for-python copied to clipboard
[Tables] Add copy data between table and blob samples
For issue: https://github.com/Azure/azure-sdk-for-python/issues/19974
- Added table copy samples
- Checked and fixed typos and bugs in the rest of files under samples
API change check
API changes are not detected in this pull request.
Updates since the last one:
- Added setup functions for tables and blobs, btw, the two tests are still independent.
- Added 10 entities/blobs to a table/container instead of one
- Checked other files under samples, addressed some typos/imports/missing tests etc.
Main updates: datetime, uuid and bytes types are not JSON serializable, to make entity object serializable to JSON string when uploading to blob, I stored iso format of datetime, uuid.hex, decoded bytes as strings in blob. They will transfer to their original types when downloading.