code: def get_model(cls, version, model_name):
          
          models = cls.versions[version].model_options
          for keystore in models.values():
              if model_name in keystore:
                  return keystore[model_name]
          raise ValueError("Unknown model name")
docs: Return BMDS model class given BMDS version and model-name.