Skip to content

[Bug] When updating news_flash data, data that has location approval shouldn't change #2758

Open
@atalyaalon

Description

@atalyaalon

Describe the bug
When updating news_flash data (in these three Airflow ETLs - update-all-news-flash, update-all-news-flash-location-only [update-news-flash](https://airflow.anyway.co.il/dags/update-news-flash/code and this function in main.py) the following changes are required:

  1. newsflash's location that already has a location qualification of either VERIFIED - value 2 or MANUAL - value 4 )shouldn't change, unless specified in parameter (default should be no change on these news flashes
  2. newsflash that has a location verification of REJECTED - value 3 should change back to 1 - NOT_VERIFIED

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions