<https://meltano.slack.com/archives/CFG3C3D1Q/p168...
# troubleshooting
v
What would help to get your some help would be 1. your meltano.yml 2. the command you ran to get that error 3. the tap code Something is breaking when meltano runs discovery with your tap. Could be a large number of things, when doing local tap development I tend to run
poetry run my-tap
first to be sure things are doing what I expect before running in Meltano as meltano stores a seperate venv so dependencies and things need to get pulled down with a fresh
meltano install --clean
and I don't want to dink with that until I'm ready for the tap to push data to a target for testing
ping @rajkumar_m
r
@visch I have modified the sample code like below and it was worked """jsonplaceholder tap class.""" from future import annotations from singer_sdk import Tap from singer_sdk import typing as th # JSON schema typing helpers # TODO: Import your custom stream types here: from tap_jsonplaceholder import streams class Tapjsonplaceholder(Tap): """jsonplaceholder tap class.""" name = "tap-jsonplaceholder" def discover_streams(self) -> list[streams.jsonplaceholderStream]: """Return a list of discovered streams. Returns: A list of discovered streams. """ return [ streams.CommentsStream(self), streams.UsersStream(self), ] if name == "__main__": Tapjsonplaceholder.cli()