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

Update __init__.py #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

frasermarlow
Copy link

@frasermarlow frasermarlow commented Oct 12, 2020

This is actually a duplication of #12

Description of change

Without the addition of to_dict() on l66 ( schema=stream.schema.to_dict(), ) the tap will return the error
"TypeError: Object of type 'Schema' is not JSON serializable"
Also documented by three people on Slack here: https://singer-io.slack.com/archives/C2TGFCZEV/p1584891258008800

Manual QA steps

Rerun the schema in cookiecutter tap template.

Rollback steps

  • revert this branch

Without the addition of `to_dict()`  on l66 ( `            schema=stream.schema.to_dict(),` ) the tap will return the error 
"TypeError: Object of type 'Schema' is not JSON serializable"
Also documented by three people on Slack here: https://singer-io.slack.com/archives/C2TGFCZEV/p1584891258008800
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.

1 participant