Closed chpicone closed 3 years ago
We have 2 options:
I asked the customer to decide how to proceed.
Customer wants to make all attributes mandatories. So the DAG has to fail but reporting a more clear message, like:
AttributeError: 'format' metadata attribute is missing!
Customer reported this issue:
This is the stacktrace from the Airflow Log section:
Taking a look into the code we can see the cause of the issue: https://github.com/geosolutions-it/oaw-georectify-process-airflow/blob/269ba16a082a3746925d9b4f97c9f383999b78a4/plugins/custom_operator/georectify.py#L53
When we dont have a metadata information the get method assign by default the None object and then we cannot use the replace method.