move sehistory specific stuff from influx.py to seinflux.py
This commit is contained in:
5
t.py
5
t.py
@ -1,13 +1,14 @@
|
||||
import time
|
||||
import math
|
||||
import numpy as np
|
||||
from influx import InfluxDBWrapper, RegExp
|
||||
from sehistory.sehistory import SEHistory
|
||||
from influx import RegExp
|
||||
|
||||
DAY = 24 * 3600
|
||||
|
||||
# token = "zqDbTcMv9UizfdTj15Fx_6vBetkM5mXN56EE9CiDaFsh7O2FFWZ2X4VwAAmdyqZr3HbpIr5ixRju07-oQmxpXw=="
|
||||
|
||||
db = InfluxDBWrapper('linse-c')
|
||||
db = SEHistory(access='write')
|
||||
|
||||
print("""
|
||||
qry([start], [stop], [interval=...,] [last=True,] [columns=[...],] [<tag>=<value>, ] ...)
|
||||
|
Reference in New Issue
Block a user