File size: 300 Bytes
bc0973c
 
3fefafb
bc0973c
3fefafb
bc0973c
82528df
 
2d12f2a
82528df
1
2
3
4
5
6
7
8
9
10
11
from git import Repo
import os

GITHUB_PAT = os.environ['GITHUB']

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

from repo_directory.main import *