Commit 03329a72 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

turn CsstDAGs to dict

parent 77c20b40
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -26,12 +26,3 @@ class CsstDAGs(dict):
    @staticmethod
    def ls():
        print(DAG_LIST.keys())

    @staticmethod
    def get_dag(self, dag: str = ""):
        assert dag in DAG_LIST, f"{dag} not in DAG_LIST"
        return self.get(dag, None)

    @staticmethod
    def get_all(self):
        return set(self.keys())