Get mindsdb server version
Closed this issue · 3 comments
paxcema commented
Is your feature request related to a problem? Please describe.
It should be possible to get the MindsDB server version through our SDKs.
Describe the solution you'd like
For example:
import mindsdb_sdk
server = mindsdb_sdk.connect('http://127.0.0.1:47334')
server.version() # should return a version string, e.g. '23.10.1.0'
This will be useful for our benchmarking suite.
ea-rus commented
Would be this option ok?
print(server.status()['mindsdb_version'])
It uses this '/api/status' method and works for local version
Cloud doesn't return version at the moment
https://cloud.mindsdb.com/api/status
paxcema commented
Oh, nice! Thanks, this is useful. Perhaps it should be documented?
ea-rus commented