Currently if you try to follow the steps in the README, you get an error:
File "/home/sebastian/devel/sebastian-luna-valero/tpv-metascheduler-api/main.py", line 170, in <module>
results = client.query(query)
^^^^^^^^^^^^^^^^^^^
File "/tmp/tmp.9ZHe39Y1IY/conda-install/envs/tpv-01/lib/python3.12/site-packages/influxdb/client.py", line 532, in query
response = self.request(
^^^^^^^^^^^^^
File "/tmp/tmp.9ZHe39Y1IY/conda-install/envs/tpv-01/lib/python3.12/site-packages/influxdb/client.py", line 343, in request
response = self._session.request(
^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmp.9ZHe39Y1IY/conda-install/envs/tpv-01/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmp.9ZHe39Y1IY/conda-install/envs/tpv-01/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmp.9ZHe39Y1IY/conda-install/envs/tpv-01/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='localhost', port=8086): Max retries exceeded with url: /query?q=SELECT+%2A+FROM+queue_by_destination+LIMIT+10&db=database_name (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7002d36210>: Failed to establish a new connection: [Errno 111] Connection refused'))
Currently if you try to follow the steps in the README, you get an error:
caused by: https://github.com/usegalaxy-eu/tpv-metascheduler-api/blob/534de040946e9f9e3d9814e0abbd561504310e06/main.py#L169-L172
Should it be possible to run a test of this repo without having an InfluxDB instance available?