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

turn CsstDAGs to dict

parent 77c20b40
......@@ -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())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment