F1-analysis / clone.py
tracinginsights's picture
Update clone.py
ac7c87e
raw
history blame
209 Bytes
from git import Repo
import os
GITHUB_PAT = os.environ['GITHUB']
def clone_repo():
return Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )