You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Management.version(), it should return a server_version and python_version.
But since synapse 1.94.0 it does not return a python_version in the JSON.
So your code produces an error.
I would also remove the python_version from the code. This may be backwards incompatible. You could also remove the python str from SynapseVersion (even more incompatible then 😆 ).
Best way would be to check if the server_version is < 1.94.0, and if yes, include python_version. if higher, skip it.
The text was updated successfully, but these errors were encountered:
using
Management.version()
, it should return a server_version and python_version.But since synapse 1.94.0 it does not return a
python_version
in the JSON.So your code produces an error.
I would also remove the python_version from the code. This may be backwards incompatible. You could also remove the
python
str fromSynapseVersion
(even more incompatible then 😆 ).Best way would be to check if the server_version is < 1.94.0, and if yes, include python_version. if higher, skip it.
The text was updated successfully, but these errors were encountered: