(case, send_post_save_signal=True)
Publish the change to kafka and run case post-save signals.
Publish the change to kafka and run case post-save signals.
Publish the change to kafka and run case post - save signals .
def publish_case_saved(case, send_post_save_signal=True):
    """
    Publish the change to kafka and run case post-save signals.
    """
    producer.send_change(topics.CASE_SQL, change_meta_from_sql_case(case))
    if send_post_save_signal:
        sql_case_post_save.send(case.__class__, case=case)
def publish_case_saved ( case , send_post_save_signal = True ) : producer . send_change ( topics . CASE_SQL , change_meta_from_sql_case ( case ) ) if send_post_save_signal : sql_case_post_save . send ( case . __class__ , case = case )