File size: 267 Bytes
da0a52a
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from git import Repo
import os

GITHUB_PAT = os.environ['GITHUB']

if not os.path.exists('repo_directory'):  
    Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/fastf1api.git', 'repo_directory'  )

from repo_directory.main import *