Add Client.readings
backref
This commit is contained in:
parent
aee6f6d341
commit
844a05202e
|
@ -135,7 +135,10 @@ class Reading(Base):
|
|||
Client,
|
||||
doc="""
|
||||
Reference to the tempmon client which took this reading.
|
||||
""")
|
||||
""",
|
||||
backref=orm.backref(
|
||||
'readings',
|
||||
cascade='all, delete-orphan'))
|
||||
|
||||
probe_uuid = sa.Column(sa.String(length=32), nullable=False)
|
||||
probe = orm.relationship(
|
||||
|
|
Loading…
Reference in a new issue