sourced.ml.core.utils.bblfsh

Module Contents

sourced.ml.core.utils.bblfsh.BBLFSH_VERSION_LOW = 2.2[source]
sourced.ml.core.utils.bblfsh.BBLFSH_VERSION_HIGH = 3.0[source]
sourced.ml.core.utils.bblfsh.check_version(host: str = '0.0.0.0', port: str = '9432')[source]

Check if the bblfsh server version matches module requirements.

Parameters:
  • host – bblfsh server host.
  • port – bblfsh server port.
Returns:

True if bblfsh version specified matches requirements.