Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of Reporter class #641

Merged
merged 45 commits into from May 8, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
32e300c
Creating Reporter and PandasReporter classes with their corresponding…
victorgarcia98 Apr 14, 2023
ce17568
Added Tibber Reporter.
victorgarcia98 Apr 17, 2023
848e39a
- Fixing wong DA Price value.
victorgarcia98 Apr 20, 2023
d9867fc
Updating VAT units.
victorgarcia98 Apr 20, 2023
1c9de43
- Attatching report to sensor
victorgarcia98 Apr 21, 2023
f61825b
Fixing wrong arguments to search_beliefs method.
victorgarcia98 Apr 21, 2023
b01f5c3
FIxing wrong type conversion logic.
victorgarcia98 Apr 21, 2023
487233c
Small reporter fixes (#647)
Flix6x Apr 24, 2023
f34f5e1
Add superclass to Reporter that will be common to all three data gene…
victorgarcia98 Apr 24, 2023
1f8457e
Merge remote-tracking branch 'origin/626-add-reporter-class' into 626…
victorgarcia98 Apr 24, 2023
dd21c99
Add start, end, resolution, beliefs_after and beliefs_before to the `…
victorgarcia98 Apr 24, 2023
58d405f
Add FLEXMEASURES_DEFAULT_DATASOURCE config to be the feault datasourc…
victorgarcia98 Apr 24, 2023
bebc320
Fixing wrong input type.
victorgarcia98 Apr 27, 2023
0dfe5f4
Rename DataGenerator class to DataGeneratorMixin
victorgarcia98 Apr 27, 2023
7830e33
Reduce logging level from warning to debug.
victorgarcia98 Apr 27, 2023
e378ac6
Merge branch 'main' into 626-add-reporter-class
victorgarcia98 Apr 27, 2023
5166264
Merge branch 'main' into 626-add-reporter-class
victorgarcia98 Apr 27, 2023
6ab84df
Register Reporter to the app context.
victorgarcia98 Apr 27, 2023
79fe12f
Allowing to use BeliefsDataFrame specific method in the schema.
victorgarcia98 Apr 27, 2023
a64550b
Merge remote-tracking branch 'origin/626-add-reporter-class' into 626…
victorgarcia98 Apr 27, 2023
4c86878
Fixed wrong method. TODO: test with a plugin.
victorgarcia98 Apr 28, 2023
5ca52eb
Using module name instead of the module object.
victorgarcia98 Apr 28, 2023
12267d3
use belief_time instead of beliefs_before and beliefs_after (#652)
Flix6x May 1, 2023
723ed02
Merge remote-tracking branch 'origin/626-add-reporter-class' into 626…
victorgarcia98 May 1, 2023
5a6590e
Merge branch 'main' into 626-add-reporter-class
victorgarcia98 May 1, 2023
cc47742
Fixing example.
victorgarcia98 May 1, 2023
cc11809
Fixing grammar.
victorgarcia98 May 1, 2023
c50df17
Require at least 1 input sensor for the tb_query_config.
victorgarcia98 May 1, 2023
cc8aa22
Merge branch 'main' into 626-add-reporter-class
victorgarcia98 May 2, 2023
c36b904
Bug fix: compute function was overriding the variables to the default…
victorgarcia98 May 2, 2023
3ad4113
Changing end to get 24h and fix assert condition to detect NaN.
victorgarcia98 May 2, 2023
aba68ea
Adding belief time variable to schema.
victorgarcia98 May 2, 2023
cc545e1
Avoid deserializing multiple times.
victorgarcia98 May 2, 2023
9d5dc57
Add scope="module" to avoid recreating objects in DB.
victorgarcia98 May 2, 2023
801e358
fix: remove time paramters (start, end, ...) from the Reporter class …
victorgarcia98 May 5, 2023
99c47b4
style: type hints improvements
victorgarcia98 May 8, 2023
83a776f
style: rename tb_query_config for beliefs_search_config_schema
victorgarcia98 May 8, 2023
97f3b15
style: remove comment
victorgarcia98 May 8, 2023
aa8a266
Merge branch 'main' into 626-add-reporter-class
victorgarcia98 May 8, 2023
912aa4e
docs: add entry to changelog
victorgarcia98 May 8, 2023
9d8c737
style: clarifying attribute
victorgarcia98 May 8, 2023
1383b4a
style: fix docstring
victorgarcia98 May 8, 2023
08020f6
refactor: rename beliefs_search_config_schema beliefs_search_configs
victorgarcia98 May 8, 2023
9fbb699
Merge branch 'main' into 626-add-reporter-class
victorgarcia98 May 8, 2023
96c03b3
style: typo
victorgarcia98 May 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,22 @@
{
"spellright.language": [
"en_US"
],
"spellright.documentTypes": [
"markdown",
"latex",
"plaintext",
"restructuredtext",
"python"
],
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"workbench.editor.wrapTabs": true,
"python.formatting.provider": "black",
"python.testing.pytestArgs": [
"flexmeasures"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
249 changes: 249 additions & 0 deletions .vscode/spellright.dict
@@ -0,0 +1,249 @@
_cli
cli
db
Postgres
SQLALCHEMY
postgresql
env
ENV
urlsafe
cfg
Quickstart
MWh
todo
DSO
CO₂
USEF
sha256_crypt
WAPE
int
ci
webargs
Cors
importlib
timetomodel
CDF
forecastiopy
utils
Dockerization
dotenv
sys
os
WSGI
hosters
Pyomo
Cbc
cbc
coinor
redis
Redis
flexdemo
MAPBOX
mapbox
timedelta
datetimes
RQ
cplex
glpk
FLEXMEASURES_PLUGIN_PATH
plugin
fmplugin
init
py
Jinja2
bp
msg
appcontext
dirname
abspath
endblock
mw
epex
param
nnname
testtest
num_assets
pkey
fm
res
str
LatLngGrid
lat
lng
tl
br
dt
appid
OPENWEATHERMAP
tldextract
isodate
numpy
tzlocal
pytz
psycopg
xlrd
pscript
altair
'nt'
SSLify
lon
OWM
valuecol
datecol
cp
skiprows
nrows
TOU
CPO
tou
Jinja
csrf
teardown
setuptools
scm
ss
sshould
PTUS
PTU
bdf
GETting
PARAMS
uis
stringify
onreadystatechange
thead
tr
th
tbody
td
urlData
div
pv
src
txt
divs
OLS
configurator
requeue
PGPASSWORD
uri
pg
pgbackup
naturaldelta
func
multindex
color
colors
incl
javascript
datepicker
paa
wi
alt
SYSTEMROOT
LC
tzinfo
naturaltime
naturaldate
tz
sd
oclock
conftest
autouse
isoformat
deserialization
redislite
tmp
conn
SENTRY_DSN
linenr
xxxxxxxxxxxxxxx
DSN
dsn
pii
bobbydams
functools
etc
yhat
freqstr
loc
timerange
vnd.microsoft.icon
SENTRY_SDN
isnull
abcdefghijklmnopqrstuv
hex_md
pkg_name
_deserialize
__acl__
stylesheet
rel
Wh
earthdistance
ACL
hr
MJ
ga_id
ga_name
ga_generic_asset_type_id
jde
s.obj
s_id_seq
seq
setval
xb
np
ts
mae
evse
Seita
datetime
descr
soc
SOC
roundtrip
noqa
flexmeasures
sthg
dict
te
timezone
iso
gunicorn
Plugins
CLEANUP
hardcoded
Prosumer
udi
config
quickref
sourcecode
json
reqheader
resheader
io
api
dtype
df
dir
uuid
Shiftable
rst
num
364bfd06-c1fa-430b-8d25-8f5a547651fb
inf
favor
Mixin
utc
deserializable
UNRECOGNIZED
len
cls
GH
deserialized
deserializing
kwargs
fsdomain
filepath
dataframes