예제 #1
0
 def keymap(cls) -> List[DatabaseObjectField]:
     return [
         DatabaseObjectField("submission_id", is_primary=True),
         DatabaseObjectField("run_id", is_primary=True),
         DatabaseObjectField("status", is_primary=True),
         DatabaseObjectField("date"),
     ]
 def keymap(cls) -> List[DatabaseObjectField]:
     return [
         DatabaseObjectField("id_", dbalias="id", is_primary=True),
         DatabaseObjectField("submission_id", is_primary=True),
         DatabaseObjectField("run_id", is_primary=True),
         DatabaseObjectField("value", encode=True),
         DatabaseObjectField("size"),  # bytes
     ]
예제 #3
0
 def keymap(cls) -> List[DatabaseObjectField]:
     return [
         DatabaseObjectField("id_", "id", is_primary=True),
         DatabaseObjectField("submission_id", is_primary=True),
         DatabaseObjectField("engine_id"),
         DatabaseObjectField("execution_dir"),
         DatabaseObjectField("status"),
         DatabaseObjectField("error"),
         DatabaseObjectField("labels", encode=True),
         DatabaseObjectField("tags", encode=True),
         DatabaseObjectField("last_updated"),
         DatabaseObjectField("name"),
     ]
예제 #4
0
 def keymap(cls) -> List[DatabaseObjectField]:
     return [
         DatabaseObjectField("id_", "id", is_primary=True),
         DatabaseObjectField("output_dir"),
         DatabaseObjectField("execution_dir", dbalias="exec_dir"),
         DatabaseObjectField("author"),
         DatabaseObjectField("labels", encode=True),
         DatabaseObjectField("tags", encode=True),
         DatabaseObjectField("timestamp"),
         DatabaseObjectField("engine_type", "engine"),
     ]
예제 #5
0
 def keymap(cls) -> List[DatabaseObjectField]:
     return [
         DatabaseObjectField("id_", "id", is_id_key=True),
         DatabaseObjectField("submission_id", is_id_key=True),
         DatabaseObjectField("run_id", is_id_key=True),
         DatabaseObjectField("parent"),
         DatabaseObjectField("name"),
         DatabaseObjectField("batchid"),
         DatabaseObjectField("shard"),
         DatabaseObjectField("attempt"),
         DatabaseObjectField("container"),
         DatabaseObjectField("status"),
         DatabaseObjectField("start"),
         DatabaseObjectField("finish"),
         DatabaseObjectField("backend"),
         DatabaseObjectField("cached"),
         DatabaseObjectField("stdout"),
         DatabaseObjectField("stderr"),
         DatabaseObjectField("script"),
         DatabaseObjectField("memory"),
         DatabaseObjectField("cpu"),
         DatabaseObjectField("analysis"),
         DatabaseObjectField("error"),
         DatabaseObjectField("returncode"),
         DatabaseObjectField("lastupdated"),
         DatabaseObjectField("workdir"),
     ]