singer-tap-template icon indicating copy to clipboard operation
singer-tap-template copied to clipboard

Update __init__.py

Open frasermarlow opened this issue 4 years ago • 0 comments

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

frasermarlow avatar Oct 12 '20 04:10 frasermarlow