pyfarm.models.tag module

Tag Model

Table with tags for both jobs and agents

class pyfarm.models.tag.Tag(**kwargs)[source]

Bases: flask_sqlalchemy.Model, pyfarm.models.core.mixins.UtilityMixins

Model which provides tagging for Job and class:.Agent objects

agents
id

Provides an id for the current row. This value should never be directly relied upon and it’s intended for use by relationships.

jobs
tag

The actual value of the tag