code: def login(token: str) -> Repository:
      import github3
  
      github = github3.login(token=token)
      owner, repo = SLUG.split("/")
      return github.repository(owner, repo)
  
file_path: pytest/scripts/prepare-release-pr.py
imports: import argparse
  import re
  from pathlib import Path
  from subprocess import check_call
  from subprocess import check_output
  from subprocess import run
  from colorama import Fore
  from colorama import init
  from github3.repos import Repository
label_desc: Use image node_id 1 for calling a global function with example usage: login(token) and returns: github