Working on building a new `tap-workato` with the S...
# singer-tap-development
j
Working on building a new
tap-workato
with the SDK. When I run the out-of-the box pytests I get
Copy code
tap_workato/tests/test_core.py:7: in <module>
    from tap_workato.tap import TapWorkato
tap_workato/tap.py:8: in <module>
    from tap_workato.streams import (
tap_workato/streams.py:82: in <module>
    class RecipesStream(WorkatoStream):
tap_workato/streams.py:116: in RecipesStream
    th.ArrayType
../../../Library/Caches/pypoetry/virtualenvs/tap-workato-T66zip44-py3.7/lib/python3.7/site-packages/singer_sdk/typing.py:94: in to_dict
    return cast(dict, self.type_dict)
../../../Library/Caches/pypoetry/virtualenvs/tap-workato-T66zip44-py3.7/lib/python3.7/site-packages/singer_sdk/typing.py:374: in type_dict
    merged_props.update(w.to_dict())
../../../Library/Caches/pypoetry/virtualenvs/tap-workato-T66zip44-py3.7/lib/python3.7/site-packages/singer_sdk/typing.py:338: in to_dict
    type_dict = append_type(type_dict, "null")
../../../Library/Caches/pypoetry/virtualenvs/tap-workato-T66zip44-py3.7/lib/python3.7/site-packages/singer_sdk/helpers/_typing.py:38: in append_type
    if "anyOf" in result:
E   TypeError: argument of type 'property' is not iterable
Seems to be choking on this particular property in the PropertiesList in the stream:
Copy code
th.Property(
            "config",
            th.ArrayType(
                th.ObjectType(
                    th.Property("keyword", th.StringType),
                    th.Property("name", th.StringType),
                    th.Property("provider", th.StringType),
                    th.Property("skip_validation", th.BooleanType),
                    th.Property("account_id", th.IntegerType),
                )
            ),
        ),