code: def get_pymata_version(self):
          
          task = asyncio.ensure_future(self.core.get_pymata_version())
          self.loop.run_until_complete(task)
docs: This method retrieves the PyMata version number
  
          :returns: PyMata version number.