Does anyone know the status of tap-dbt (cloud)? Fr...
# singer-tap-development
h
Does anyone know the status of tap-dbt (cloud)? From what I can tell it only extracts account information correctly, the rest returns meaningless empty elements. Account information is the only stream where the data element not in an array, but it looks like the code would handle that… I tried bumping the sdk version with no luck. BTW, I’m doing a PR to fix an issue with the base_url config, hopefully unrelated.
t
@edgar_ramirez_mondragon has worked on that one quite a bit
e
Yup, I don't have a paying account anymore so I haven't been able to keep it up to date. I need to find new maintainers... Or pay the monthly $50 😅
t
Oh right - the API is paid 😬
h
I might be able to mock something, write the tests first.
@edgar_ramirez_mondragon: I put some test responses, along with an ill-constructed test, in here: https://github.com/hholgersen/tap-dbt/tree/singletenant. Don’t want to make a PR with failing tests though, are you able to work with this?
And by ill-constructed I mean failing.
Actually, that is a general type of test I would love some help with: I have a sample response that I can use to mock, and I know what the stream output should be, so I can test it. But I’m not able to connect all the pieces.
e
If you have example responses for each of the endpoints, I can set up monkeypatch requests to return those and test pagination, schema, etc. Wdyt?
h
The variable names should be self-explanatory, as to what endpoint they represent.
@edgar_ramirez_mondragon any update on this? I think a general test pattern that tests that a given http response generates a given output would be of great value. I haven’t figured out how to do that.
e
Got pulled in 10 directions last week. I’ll try to work on the mocks this week. Thanks for your patience @Henning Holgersen!