in connectors/sources/azure_blob_storage.py [0:0]
def get_default_configuration(cls):
"""Get the default configuration for Azure Blob Storage
Returns:
dictionary: Default configuration
"""
return {
"account_name": {
"label": "Azure Blob Storage account name",
"order": 1,
"type": "str",
},
"account_key": {
"label": "Azure Blob Storage account key",
"order": 2,
"type": "str",
},
"blob_endpoint": {
"label": "Azure Blob Storage blob endpoint",
"order": 3,
"type": "str",
},
"containers": {
"display": "textarea",
"label": "Azure Blob Storage containers",
"order": 4,
"type": "list",
},
"retry_count": {
"default_value": DEFAULT_RETRY_COUNT,
"display": "numeric",
"label": "Retries per request",
"order": 5,
"required": False,
"type": "int",
"ui_restrictions": ["advanced"],
},
"concurrent_downloads": {
"default_value": MAX_CONCURRENT_DOWNLOADS,
"display": "numeric",
"label": "Maximum concurrent downloads",
"order": 6,
"required": False,
"type": "int",
"ui_restrictions": ["advanced"],
"validations": [
{"type": "less_than", "constraint": MAX_CONCURRENT_DOWNLOADS + 1}
],
},
"use_text_extraction_service": {
"display": "toggle",
"label": "Use text extraction service",
"order": 7,
"tooltip": "Requires a separate deployment of the Elastic Text Extraction Service. Requires that pipeline settings disable text extraction.",
"type": "bool",
"ui_restrictions": ["advanced"],
"value": False,
},
}