Malo PARIS
03/13/2023, 7:58 AM@asset(key_prefix=["ETL"],compute_kind="Connection")
def CREATE_CONNECTION():
my_connection = RFC(user="xxxx",
passwd="xxxxx", system="xxxx")
return my_connection
@asset(key_prefix=["ETL"])
def EXTRACT_TABLE(CREATE_CONNECTION):
DATA = CREATE_CONNECTION.get_table(arg…)
return DATA
Vinnie
03/13/2023, 9:28 AMResourceDefinition
https://docs.dagster.io/concepts/resources
When using resources, the computation for the asset/job/op will only kick off once the resource is done initializingMalo PARIS
03/13/2023, 10:29 AM