Skip to content

Commit ddace89

Browse files
committed
update typings, fix tests
1 parent 7ee2fa2 commit ddace89

File tree

4 files changed

+896
-2
lines changed

4 files changed

+896
-2
lines changed

tap_mongodb/tap.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
import singer_sdk.helpers._typing
2424
from singer_sdk import Tap, typing as th
2525

26+
from functools import lru_cache
27+
2628
_BLANK = ""
2729
"""A sentinel value to represent a blank value in the config."""
2830

@@ -33,6 +35,7 @@
3335
).decode("utf-8")
3436

3537

38+
@lru_cache()
3639
def noop(*args, **kwargs) -> None:
3740
"""No-op function to silence the warning about unmapped properties."""
3841
pass
@@ -56,6 +59,8 @@ def recursively_drop_required(schema: dict) -> None:
5659
class TapMongoDB(Tap):
5760
"""MongoDB tap class."""
5861

62+
_catalog_dict: dict[str, Any] = {}
63+
5964
name = "tap-mongodb"
6065
config_jsonschema = th.PropertiesList(
6166
th.Property(

0 commit comments

Comments
 (0)