class_docstr: To normalize the repo.
  
  Args:
      uri (`str`):
          The uri of the repo.
class_docstr_tok: ["To","normalize","the","repo",".","Args",":","uri","(","`","str","`",")",":","The","uri","of","the","repo","."]
docstr: Get the required name for pipeline: normalized repo name and yaml file name.
  
  Args:
      repo (`str`):
          Repo name.
  
  Returns:
      (`NamedTuple[str, str]`)
          Return the required name for operator: `repo`, `yaml_file`.
docstr_tok: ["Get","the","required","name","for","pipeline",":","normalized","repo","name","and","yaml","file","name",".","Args",":","repo","(","`","str","`",")",":","Repo","name",".","Returns",":","(","`","NamedTuple","[","str",",","str","]","`",")","Return","the","required","name","for","operator",":","`","repo","`",",","`","yaml_file","`","."]
code: def get_pipeline(
      repo: str,
  ) -> NamedTuple(
      "PipelineResult", [("repo", str), ("yaml_file", str)]
  ):
      """
      Get the required name for pipeline: normalized repo name and yaml file name.
  
      Args:
          repo (`str`):
              Repo name.
  
      Returns:
          (`NamedTuple[str, str]`)
              Return the required name for operator: `repo`, `yaml_file`.
      """
      repo_name = repo.replace("_", "-")
      file_name = repo_name.replace("-", "_")
      PipelineResult = NamedTuple(
          "PipelineResult", [("repo", str), ("yaml_file", str)]
      )
      return PipelineResult(repo_name, f"{file_name}.yaml")
  
file_path: towhee/towhee/utils/repo_normalize.py
imports: import re
  from urllib.parse import urlparse, parse_qsl, urlsplit
  from typing import NamedTuple
label_desc: Use image node_id 11 for calling the RepoNormalize obj's underlying member method code with example usage: obj.get_pipeline(repo) and returns: PipelineResult