class_docstr: Checks for the existence of a document which matches the given query in CosmosDB.
  
  .. code-block:: python
  
      azure_cosmos_sensor = AzureCosmosDocumentSensor(
          database_name="somedatabase_name",
          collection_name="somecollection_name",
          document_id="unique-doc-id",
          azure_cosmos_conn_id="azure_cosmos_default",
          task_id="azure_cosmos_sensor",
      )
  
  :param database_name: Target CosmosDB database_name.
  :param collection_name: Target CosmosDB collection_name.
  :param document_id: The ID of the target document.
  :param azure_cosmos_conn_id: Reference to the
      :ref:`Azure CosmosDB connection<howto/connection:azure_cosmos>`.
code: def __init__(
      self,
      *,
      database_name: str,
      collection_name: str,
      document_id: str,
      azure_cosmos_conn_id: str = "azure_cosmos_default",
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      self.azure_cosmos_conn_id = azure_cosmos_conn_id
      self.database_name = database_name
      self.collection_name = collection_name
      self.document_id = document_id
  
file_path: airflow/airflow/providers/microsoft/azure/sensors/cosmos.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from airflow.providers.microsoft.azure.hooks.cosmos import AzureCosmosDBHook
  from airflow.sensors.base import BaseSensorOperator
label_desc: Use image node_id 1 to create a new AzureCosmosDocumentSensor object from inherited base classes: BaseSensorOperator with example: obj = AzureCosmosDocumentSensor()