singer-tap-template
singer-tap-template copied to clipboard
Update __init__.py
This is actually a duplication of https://github.com/singer-io/singer-tap-template/pull/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