2018 / main.py
tracinginsights's picture
Duplicate from tracinginsights/api
da0a52a
raw
history blame contribute delete
267 Bytes
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 *