class_docstr: PaddleHub server
class_docstr_tok: ["PaddleHub","server"]
docstr: Get the version compatibility information of the model.
docstr_tok: ["Get","the","version","compatibility","information","of","the","model","."]
code: def get_module_compat_info(
      self, name: str, source: str = None
  ) -> dict:
      """Get the version compatibility information of the model."""
      sources = (
          self.sources.values()
          if not source
          else [self._generate_source(source)]
      )
      for source in sources:
          result = source.get_module_compat_info(name=name)
          if result:
              return result
      return {}
  
imports: import json
  import os
  import requests
  import threading
  import time
  import yaml
  from collections import OrderedDict
  from typing import List
  import paddle
  import paddlehub
  import paddlehub.config
  from paddlehub.config import cache_config
  from paddlehub.server import ServerSource, GitSource
  from paddlehub.utils import utils
label_desc: Use image node_id 10 for calling the HubServer obj's underlying member method code with example usage: obj.get_module_compat_info(name, source) and returns: dict, result