airflow.providers.microsoft.azure.operators.azure_cosmos
¶
Module Contents¶
-
class
airflow.providers.microsoft.azure.operators.azure_cosmos.
AzureCosmosInsertDocumentOperator
(*, database_name: str, collection_name: str, document: dict, azure_cosmos_conn_id: str = 'azure_cosmos_default', **kwargs)[source]¶ Bases:
airflow.models.BaseOperator
Inserts a new document into the specified Cosmos database and collection It will create both the database and collection if they do not already exist
- Parameters