Page MenuHomec4science

runconfig.py
No OneTemporary

File Metadata

Created
Fri, Nov 1, 02:53

runconfig.py

#!/usr/bin/env python3
from __future__ import print_function
from . import sqlobject
class RunConfig(sqlobject.SQLObject):
"""
"""
table_name = 'runconfig'
def attachToRun(self, run):
self["run_id"] = run.id
def addConfigFile(self, configfile):
self["configfile_id"] = configfile.id
def __init__(self, base):
sqlobject.SQLObject.__init__(self, base)
self.table_name = "runconfig"
self.foreign_keys["run_id"] = "runs"
self.foreign_keys["configfile_id"] = "configfiles"
self.types["run_id"] = int
self.types["configfile_id"] = int

Event Timeline