Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert catalog to dict. Resolves is not subscriptable error #76

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

haleemur
Copy link

Description of change

I tried using singer-io/tap-marketo with meltano v1.78.0.

The extract failed at validate_state because the catalog is not subscriptable.

The Catalog class has a to_dict method defined here:

https://github.com/singer-io/singer-python/blob/master/singer/catalog.py#L52

converting the catalog to a dictionary allows lookup by key

Manual QA steps

installed this branch locally on my meltano project & the etl works without issues with my marketo instance

Risks

Rollback steps

  • revert this branch

@cmerrick
Copy link
Contributor

Hi @haleemur, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@cmerrick
Copy link
Contributor

You did it @haleemur!

Thank you for signing the Singer Contribution License Agreement.

@haleemur haleemur force-pushed the fix/catalog-attribute-access branch from f553404 to 0f865cc Compare November 16, 2023 03:34
@haleemur
Copy link
Author

@cmerrick a couple of years late, but noticed that the CI has not run any checks on this branch in that time. I rebased it on current master branch just now.

I'm unsure how best to proceed to get this merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants