tessl install tessl/pypi-azure-storage-file-datalake@12.21.0Microsoft Azure File DataLake Storage Client Library for Python
Agent Success
Agent success rate when using this tile
92%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.99x
Baseline
Agent success rate without this tile
93%
Build a tool that retrieves and reports properties of files and directories in Azure Data Lake Storage Gen2.
Your solution must:
Your program should accept:
Display the properties in a structured format showing:
Provides Azure Data Lake Storage Gen2 client library for file system operations and property management.
File: test_file_properties.py { .test-file }
Test: Given a valid file path in a file system, retrieve and verify that file properties include size, last modified time, content type, and metadata. { .test-case }
File: test_file_properties.py { .test-file }
Test: Given a valid directory path in a file system, retrieve and verify that directory properties include creation time, owner information, and metadata. { .test-case }
File: test_file_properties.py { .test-file }
Test: When requesting properties for a non-existent path, the program should handle the error gracefully and provide a clear error message. { .test-case }