clay
02/17/2023, 2:47 PMstart_date
and end_date
, how would I configure that as the config
param for the job without specifying it for each asset? Also, how would I specify it in a job so that the end user was required to enter the values in Launchpad before running the job?
my_job = define_asset_job(
name="Adhoc_Stuff_Updating_Job",
selection=AssetSelection.groups(MY_ASSETS),
config= # ? What goes here?,
)
owen
02/17/2023, 5:49 PMdefs = Definitions(..., resources={"my_values": make_values_resource(start_date=str, end_date=str))
then, any job that includes assets with that required resource key will require the user to supply config values for start_date and end_date before launching the job@asset(partitions_def=DailyPartitionsDefinition(start_date="2023-01-01"))
clay
02/17/2023, 5:52 PMowen
02/17/2023, 11:29 PM