Source code for server.web.models.arg

"""Arg table in the database."""

from sqlalchemy import Column, Integer, String
from sqlalchemy.orm import relationship

from jobmon.server.web.models import Base


[docs] class Arg(Base): """Arg table in the database."""
[docs] __tablename__ = "arg"
[docs] id = Column(Integer, primary_key=True)
[docs] name = Column(String(255), unique=True, nullable=False)
[docs] template_arg_map = relationship("TemplateArgMap", back_populates="argument")