Skip to content
This repository has been archived by the owner on Feb 15, 2018. It is now read-only.

Commit

Permalink
Merge pull request #22 from helium/feature/label-live
Browse files Browse the repository at this point in the history
Add timeseries support to label
  • Loading branch information
madninja authored Dec 15, 2016
2 parents 2714fb4 + e65bac8 commit e59987c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions helium/label.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
"""The label resource."""

from __future__ import unicode_literals
from . import Resource, Sensor
from . import to_many, metadata, build_request_relationship
from . import (
Resource,
Sensor,
to_many,
timeseries,
metadata,
build_request_relationship
)


@to_many(Sensor, writable=True, reverse=to_many)
@timeseries()
@metadata()
class Label(Resource):
@classmethod
Expand Down

0 comments on commit e59987c

Please sign in to comment.