Adriana Jiménez Ambel
08/01/2023, 10:46 AM@asset(
description="Create collections with the requests and return collections IDs",
auto_materialize_policy=AutoMaterializePolicy.eager(),
)
def generate_collections(
context,
generate_parameters_extraction,
dbt_parameters_extraction,
check_collections_deleted,
):
if check_collections_deleted is True:
my_logger = logging.getLogger("root")
<http://my_logger.info|my_logger.info>("Collections are being generated")
if dbt_parameters_extraction is not None:
return extraction.creation_of_collections(dbt_parameters_extraction)
else:
return extraction.creation_of_collections(generate_parameters_extraction)
owen
08/01/2023, 6:21 PM4
, and whenever it materializes, 2 is kicked off with those new parameters. 4
can be set up to only emit an output in the case that there is new data to processAdriana Jiménez Ambel
08/07/2023, 12:37 PM1
, and then to be getting the info from 4
until the result coming from 4
is null. Also I need to wait until 3 is completed in order to push the materialization of 4.Adriana Jiménez Ambel
08/07/2023, 12:37 PMowen
08/07/2023, 10:01 PMAdriana Jiménez Ambel
08/09/2023, 9:50 AMowen
08/09/2023, 6:39 PMload_asset_value
. This discussion covers using that function for a slightly different case, but is mostly still relevant: https://github.com/dagster-io/dagster/discussions/14805