Not sure where to post this, trying to implement ...
# contributing
v
Not sure where to post this, trying to implement https://gitlab.com/meltano/sdk/-/issues/299 on my tap-clickup to fix a issue I was thinking instead of making a pre parser that we have to manually run, just adding it to the schema file path Property, I ran into issues with that so I tried this
Copy code
class ClickUpStream(RESTStream):
    """ClickUp stream class."""

    url_base = "<https://api.clickup.com/api/v2>"
    records_jsonpath = "$[*]"  # Or override `parse_response`.
    next_page_token_jsonpath = "$.next_page"  # Or override `get_next_page_token`.

    def __init__(
        self,
        *args,
        **kwargs
    ) -> None:
        """
        Created only to get json schema references working

        """
        super().__init__(*args, **kwargs)
        if self.schema_filepath:
            self._schema = singer.resolve_schema_references(json.loads(Path(self.schema_filepath).read_text()))
But I get this error ```Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/click/core.py", line 1128, in call return self.main(*args, **kwargs) File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/click/core.py", line 1053, in main rv = self.invoke(ctx) File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 458, in cli tap = cls( # type: ignore # Ignore 'type not callable' File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 82, in init self.input_catalog or self._singer_catalog File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 214, in _singer_catalog return Catalog( File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/singer_sdk/tap_base.py", line 215, in <genexpr> (stream.tap_stream_id, stream._singer_catalog_entry) File "/home/visch/git/tap-clickup/.venv/lib/python3.8/site-packages/singer_sdk/streams/core.py", line 490, in _singer_catalog_entry schema=Schema.from_dict(self.schema), …