https://dagster.io/ logo
#ask-community
Title
# ask-community
s

Saul Burgos

08/03/2022, 10:13 PM
if I follow the code of the screenshot everything works. but if I moved the "red part" mark to an ops in another file, give me this error: _"dagster.core.errors.DagsterInvalidInvocationError: Compute function of solid 'airbyte_sync' has context argument, but no context was provided when invoking."_ Is not possible to move only "airbyte_sync_op"? or am I doing something wrong?
o

owen

08/03/2022, 10:41 PM
hi @Saul Burgos! sync_airbyte is an op, and creating an op that invokes an op it is not supported. Basically, the airbyte_sftp_to_snowflake is unnecessary here, as
sync_airbyte
already does what you want. If you want to set the name of your op to something different, you can do
airbyte_sftp_to_snowflake = airbyte_sync_op.configured(..., name="airbyte_sftp_to_snowflake")
👍 1
s

Saul Burgos

08/03/2022, 10:46 PM
oooh thanks for the answer. My goal was to leave the "job" as clean as possible... without any setup.. just call the ops