Microsoft Azure File DataLake Storage Client Library for Python
Overall
score
92%
{
"context": "This criteria evaluates how effectively an engineer uses the azure-storage-file-datalake package to manage POSIX permissions on files and directories. The focus is on proper use of client methods, permission parameters, and property retrieval APIs.",
"type": "weighted_checklist",
"checklist": [
{
"name": "FileSystemClient usage",
"description": "Uses FileSystemClient.get_directory_client() and FileSystemClient.get_file_client() methods to obtain directory and file clients for performing operations",
"max_score": 15
},
{
"name": "Directory creation with permissions",
"description": "Uses DataLakeDirectoryClient.create_directory() with the permissions parameter to create directories with POSIX permissions in symbolic notation (e.g., 'rwxr-xr--')",
"max_score": 20
},
{
"name": "File creation with permissions",
"description": "Uses DataLakeFileClient.create_file() with the permissions parameter to create files with POSIX permissions in octal notation (e.g., '0644')",
"max_score": 20
},
{
"name": "Permission updates",
"description": "Uses DataLakeDirectoryClient.set_access_control() or DataLakeFileClient.set_access_control() with the permissions parameter to update permissions on existing paths",
"max_score": 20
},
{
"name": "Permission retrieval",
"description": "Uses DataLakeDirectoryClient.get_access_control() or DataLakeFileClient.get_access_control() to retrieve access control properties and extracts the permissions field from the returned object",
"max_score": 20
},
{
"name": "Correct parameter format",
"description": "Properly formats permissions as strings in the correct notation (symbolic like 'rwxr-xr--' or octal like '0644') as required by the azure-storage-file-datalake API",
"max_score": 5
}
]
}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