You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into a problem with singer-python 3.5.2.
The catalog object works the first time the streams attribute is accessed but not in subsequent times.
I believe the issue is related to how the "streams" attribute is initialized.
It is a generator expression instead of a list.
This shows the problem:
import singer c = singer.catalog.Catalog.load("catalog_categories.json") c.to_dict() # this works c.to_dict() # this returns an empty object : {'streams': []}
The text was updated successfully, but these errors were encountered:
I am running into a problem with singer-python 3.5.2.
The catalog object works the first time the streams attribute is accessed but not in subsequent times.
I believe the issue is related to how the "streams" attribute is initialized.
It is a generator expression instead of a list.
This shows the problem:
import singer
c = singer.catalog.Catalog.load("catalog_categories.json")
c.to_dict() # this works
c.to_dict() # this returns an empty object : {'streams': []}
The text was updated successfully, but these errors were encountered: