def _RelativeTemplateDir(self, variation):
    if self._targets.use_versioned_paths:
      path = self[variation].get('releaseVersion') or variation
    else:
      path = None
    if not path:
      path = self.get(variation, {}).get('path') or variation
    return os.path.join(self._language, path)
Returns the path to template dir for the selected variation.
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/targets.py/Variations._RelativeTemplateDir