##Description
This is a simple widget for displaying IOT data from Xively's Developer API.
##Dependencies
from uuid import uuid4 | |
from sqlalchemy.dialects.postgresql import JSONB, UUID | |
from flask_sqlalchemy import SQLAlchemy | |
db = SQLAlchemy() | |
# This is the magical part that saves you a bunch of time and whatnot | |
class BaseModel(db.Model): | |
__abstract__ = True |
sinks: | |
- name: blackhole | |
type: blackhole | |
deliveryRequired: true | |
- name: local | |
type: file | |
deliveryRequired: true | |
- name: web | |
type: http | |
deliveryRequired: true |
##Description
This is a simple widget for displaying IOT data from Xively's Developer API.
##Dependencies