We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ee2fa2 commit ddace89Copy full SHA for ddace89
tap_mongodb/tap.py
@@ -23,6 +23,8 @@
23
import singer_sdk.helpers._typing
24
from singer_sdk import Tap, typing as th
25
26
+from functools import lru_cache
27
+
28
_BLANK = ""
29
"""A sentinel value to represent a blank value in the config."""
30
@@ -33,6 +35,7 @@
33
35
).decode("utf-8")
34
36
37
38
+@lru_cache()
39
def noop(*args, **kwargs) -> None:
40
"""No-op function to silence the warning about unmapped properties."""
41
pass
@@ -56,6 +59,8 @@ def recursively_drop_required(schema: dict) -> None:
56
59
class TapMongoDB(Tap):
57
60
"""MongoDB tap class."""
58
61
62
+ _catalog_dict: dict[str, Any] = {}
63
64
name = "tap-mongodb"
65
config_jsonschema = th.PropertiesList(
66
th.Property(
tap_mongodb/tests/__init__.py tests/__init__.pytap_mongodb/tests/__init__.py renamed to tests/__init__.py
tap_mongodb/tests/test_core.py tests/test_core.pytap_mongodb/tests/test_core.py renamed to tests/test_core.py
0 commit comments