Selim Raboudi
02/22/2024, 9:52 PMdagster._check.CheckError: Member of iterable mismatches type. Expected (<class 'dagster._core.definitions.assets.AssetsDefinition'>, <class 'dagster._core.definitions.source_asset.SourceAsset'>, <class 'dagster._core.definitions.cacheable_assets.CacheableAssetsDefinition'>). Got [<dagster._core.definitions.assets.AssetsDefinition object at 0x111f27e50>] of type <class 'list'>.
Has anyone faced the same issue ?
(code in thread)Selim Raboudi
02/22/2024, 9:52 PMfrom dagster_airbyte import build_airbyte_assets
from dagster_airbyte import AirbyteCloudResource
from dagster import EnvVar
from dagster import Definitions
airbyte_assets = build_airbyte_assets(
connection_id="4842929b-7169-4024-be39-fd6ff12fZHE4",
destination_tables=["deals", "contacts"],
)
airbyte_instance = AirbyteCloudResource(api_key=EnvVar("AIRBYTE_API_KEY"))
airbyte_definitions = Definitions(
assets=[airbyte_assets], resources={"airbyte": airbyte_instance}
)
Selim Raboudi
02/23/2024, 12:15 AMairbyte_definitions = Definitions(
assets=airbyte_assets, resources={“airbyte”: airbyte_instance}
)