class_docstr: Interact with Mongo. This hook uses the Mongo conn_id.
  
  PyMongo Wrapper to Interact With Mongo Database
  Mongo Connection Documentation
  https://docs.mongodb.com/manual/reference/connection-string/index.html
  You can specify connection string options in extra field of your connection
  https://docs.mongodb.com/manual/reference/connection-string/index.html#connection-string-options
  
  If you want use DNS seedlist, set `srv` to True.
  
  ex.
      {"srv": true, "replicaSet": "test", "ssl": true, "connectTimeoutMS": 30000}
  
  :param mongo_conn_id: The :ref:`Mongo connection id <howto/connection:mongo>` to use
      when connecting to MongoDB.
class_docstr_tok: ["Interact","with","Mongo",".","This","hook","uses","the","Mongo","conn_id",".","PyMongo","Wrapper","to","Interact","With","Mongo","Database","Mongo","Connection","Documentation","https",":","\/\/docs.mongodb.com\/manual\/reference\/connection-string\/index.html","You","can","specify","connection","string","options","in","extra","field","of","your","connection","https",":","\/\/docs.mongodb.com\/manual\/reference\/connection-string\/index.html","#","connection-string-options","If","you","want","use","DNS","seedlist",",","set","`","srv","`","to","True",".","ex",".","{","``","srv","''",":","true",",","``","replicaSet","''",":","``","test","''",",","``","ssl","''",":","true",",","``","connectTimeoutMS","''",":","30000","}",":","param","mongo_conn_id",":","The",":","ref",":","`","Mongo","connection","id","<","howto\/connection",":","mongo",">","`","to","use","when","connecting","to","MongoDB","."]
docstr: Deletes a single document in a mongo collection.
  
  https://pymongo.readthedocs.io/en/stable/api/pymongo/collection.html#pymongo.collection.Collection.delete_one
  
  :param mongo_collection: The name of the collection to delete from.
  :param filter_doc: A query that matches the document to delete.
  :param mongo_db: The name of the database to use.
      Can be omitted; then the database from the connection string is used.
docstr_tok: ["Deletes","a","single","document","in","a","mongo","collection",".","https",":","\/\/pymongo.readthedocs.io\/en\/stable\/api\/pymongo\/collection.html","#","pymongo.collection.Collection.delete_one",":","param","mongo_collection",":","The","name","of","the","collection","to","delete","from",".",":","param","filter_doc",":","A","query","that","matches","the","document","to","delete",".",":","param","mongo_db",":","The","name","of","the","database","to","use",".","Can","be","omitted",";","then","the","database","from","the","connection","string","is","used","."]
code: def delete_one(
      self,
      mongo_collection: str,
      filter_doc: dict,
      mongo_db: str | None = None,
      **kwargs,
  ) -> pymongo.results.DeleteResult:
      """
      Deletes a single document in a mongo collection.
  
      https://pymongo.readthedocs.io/en/stable/api/pymongo/collection.html#pymongo.collection.Collection.delete_one
  
      :param mongo_collection: The name of the collection to delete from.
      :param filter_doc: A query that matches the document to delete.
      :param mongo_db: The name of the database to use.
          Can be omitted; then the database from the connection string is used.
      """
      collection = self.get_collection(
          mongo_collection, mongo_db=mongo_db
      )
  
      return collection.delete_one(filter_doc, **kwargs)
  
imports: from __future__ import annotations
  from ssl import CERT_NONE
  from typing import TYPE_CHECKING, Any, overload
  from urllib.parse import quote_plus, urlunsplit
  import pymongo
  from pymongo import MongoClient, ReplaceOne
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 17 for calling the MongoHook obj's underlying member method code with example usage: obj.delete_one(mongo_collection, filter_doc, mongo_db) and returns: collection