Commit graph

25 commits

Author SHA1 Message Date
a484711971 Replace explicit query string with function in TimescaleDB 2024-02-07 15:24:01 +01:00
8543446b91 Warn if interval is short 2024-02-07 14:15:04 +01:00
c7c4460196 Log command line in output files 2024-02-07 11:31:30 +01:00
e73f69f25e Swap order of query output tuple 2024-02-07 10:20:13 +01:00
ae00b04bbe Outline query string as class constant 2024-02-06 09:04:52 +01:00
c2bf0cb74b Update query string re new naming of tables 2024-01-26 11:35:44 +01:00
03a35834a1 Add source reference for SQL query string 2024-01-12 13:37:02 +00:00
cb0bc18785 Add python3 shebang 2023-11-22 16:04:30 +01:00
f6991fb57b Fix unknown symbol 2023-11-22 14:46:51 +01:00
e6b291daa7 Call method through self 2023-11-22 14:46:25 +01:00
4a2107d6df Add argument for interval and report in output 2023-11-22 14:45:14 +01:00
6ff52227ef Decouple argument parser from sys.argv 2023-11-22 14:35:19 +01:00
c0f6adcf67 Remove debug output and fix whitespace 2023-11-22 11:03:56 +01:00
035803fbe2 Error handling for jobid without data 2023-11-22 10:52:49 +01:00
ee106619ea Outline main into class 2023-11-22 10:30:36 +01:00
36bfb06228 Add factory function for power from data base 2023-11-22 09:01:05 +01:00
f9ebd68654 Refactor database class for multiple querries 2023-11-20 16:50:22 +01:00
9294b04291 Introduce class for database handling 2023-11-20 16:23:36 +01:00
bacc9e63c9 Use config object 2023-11-20 16:19:34 +01:00
8596fb4184 Remove/comment debug output 2023-11-20 16:04:19 +01:00
f90b3fc1da Rearrange class methods 2023-11-20 15:53:52 +01:00
3a8170e7c9 Add missing import statement 2023-11-20 11:39:11 +01:00
294a4e1273 Add argument parser 2023-11-17 16:25:51 +01:00
b54e31f4fd Lazy import of sqlalchemy 2023-11-17 16:24:00 +01:00
831a85639b Add prototype to query job power from database 2023-10-26 16:19:16 +02:00