Commit 94fba0a4 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 71707f5b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -69,5 +69,6 @@ class BaseDAG:
        return dag_run_id

    @abstractmethod
    def push(self, msg: str) -> None:
        return self.dfs.redis.push(msg)
    def push(self, msg_dict: dict) -> None:
        msg_str = json.dumps(msg_dict, ensure_ascii=False, indent=None)
        return self.dfs.redis.push(msg_str)
+0 −3
Original line number Diff line number Diff line
@@ -101,7 +101,4 @@ class CsstMscL1Mbi(BaseDAG):
                    )
                    assert this_update.success, this_update.message
                msgs.append(this_msg)
                # self.push(msg)
        return msgs
        # push msg
        # update prc_status