You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first implementation of the Symphony Tasks returned a SimpleHttpOperator after setting Symphony specific HTTP headers and body depending on the action. This was refactored in #77 to use a PythonOperator because upstream tasks XCOM variables were not available when passing in values to the functions parameters. We're using the requests package to handle HTTP requests within these functions which includes handling HTTP errors.
An alternative would be to extend the existing SimpleHttpOperator with a custom operator and specify the incoming parameters marc_json and token to the NewMARCtoSymphonytemplates.
The text was updated successfully, but these errors were encountered:
The first implementation of the Symphony Tasks returned a
SimpleHttpOperator
after setting Symphony specific HTTP headers and body depending on the action. This was refactored in #77 to use aPythonOperator
because upstream tasks XCOM variables were not available when passing in values to the functions parameters. We're using the requests package to handle HTTP requests within these functions which includes handling HTTP errors.An alternative would be to extend the existing
SimpleHttpOperator
with a custom operator and specify the incoming parameters marc_json and token to theNewMARCtoSymphony
templates.The text was updated successfully, but these errors were encountered: