File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -318,14 +318,10 @@ def load_turbine_data_from_oedb():
318318 # location of data
319319 schema = 'model_draft'
320320 table = 'openfred_windpower_powercurve'
321- # column = 'column=id&column=version'
322- # orderby = 'order_by=version'
323-
324321 # load data
325- # result = rq.get(oep_url + '/api/v0/schema/' + schema +
326- # '/tables/' + table + '/rows/?', )
327- result = rq .get (oep_url + '/api/v0/schema/' + schema +
328- '/tables/' + table + '/rows/?' , verify = False , ) # todo: after SSL certificate renewed: verify = True
322+ result = rq .get (
323+ oep_url + '/api/v0/schema/{}/tables/{}/rows/?' .format (
324+ schema , table ), )
329325 if result .status_code == 200 :
330326 logging .info ("Data base connection successful." )
331327 else :
You can’t perform that action at this time.
0 commit comments