Microsoft Azure File DataLake Storage Client Library for Python
Overall
score
92%
{
"context": "This criteria evaluates how well the engineer uses the azure-storage-file-datalake package to manage HTTP headers and content settings for files. The focus is on proper usage of ContentSettings class and file property management methods.",
"type": "weighted_checklist",
"checklist": [
{
"name": "ContentSettings import",
"description": "Imports ContentSettings class from azure.storage.filedatalake",
"max_score": 10
},
{
"name": "ContentSettings instantiation",
"description": "Creates ContentSettings objects with appropriate parameters (content_type, content_encoding, content_language, content_disposition, cache_control)",
"max_score": 20
},
{
"name": "set_http_headers usage",
"description": "Uses DataLakeFileClient.set_http_headers() method to configure content settings on files",
"max_score": 25
},
{
"name": "get_file_properties usage",
"description": "Uses DataLakeFileClient.get_file_properties() to retrieve file properties and accesses content_settings attribute",
"max_score": 20
},
{
"name": "FileSystemClient.get_paths usage",
"description": "Uses FileSystemClient.get_paths() method to list and iterate through files in the file system",
"max_score": 15
},
{
"name": "Path filtering logic",
"description": "Implements logic to filter paths by extension and correctly identifies files (not directories) using path properties",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-azure-storage-file-datalakedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10