def ToClassName(self, s, element, element_type=None):
    """Convert a discovery name to a suitable Python class name.

    Overrides the default.

    Args:
      s: (str) A rosy name of data element.
      element: (object) The object we need a class name for.
      element_type: (str) The kind of element (resource|method) to name.
    Returns:
      A name suitable for use as a class in the generator's target language.
    """

    if PythonLanguageModel.RESERVED_CLASS_NAMES in s.lower():
      # Prepend the service name
      return '%s%s' % (utilities.CamelCase(self.values['name']),
                       utilities.CamelCase(s))
    return utilities.CamelCase(s)
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/python_generator.py/PythonApi.ToClassName/swapped operands of `in`