()
Marks all data scraping operations as in-progress, invalidates the cache, and marks it as
    invalid until all data scrapes are completed.
Marks all data scraping operations as in-progress, invalidates the cache, and marks it as
    invalid until all data scrapes are completed.
Marks all data scraping operations as in - progress invalidates the cache and marks it as invalid until all data scrapes are completed .
def set_update_started():
    """ Marks all data scraping operations as in-progress, invalidates the cache, and marks it as
    invalid until all data scrapes are completed. """

    redis_client.delete("INSTRUMENTS_FINISHED")
    redis_client.delete("POPULARITIES_FINISHED")
    redis_client.delete("QUOTES_FINISHED")

    lock_cache()
def set_update_started ( ) : redis_client . delete ( "INSTRUMENTS_FINISHED" ) redis_client . delete ( "POPULARITIES_FINISHED" ) redis_client . delete ( "QUOTES_FINISHED" ) lock_cache ( )