You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2023/05/15 14:58:45 UTC

[GitHub] [airflow] potiuk commented on a diff in pull request #31289: Add future-compatible mongo Hook typing

potiuk commented on code in PR #31289:
URL: https://github.com/apache/airflow/pull/31289#discussion_r1193968183


##########
airflow/providers/mongo/hooks/mongo.py:
##########
@@ -20,10 +20,12 @@
 
 from ssl import CERT_NONE
 from types import TracebackType
+from typing import Any, overload
 from urllib.parse import quote_plus, urlunsplit
 
 import pymongo
 from pymongo import MongoClient, ReplaceOne
+from typing_extensions import Literal

Review Comment:
   of course. Silly me.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org