ci: PY38 compatible roulette
This commit is contained in:
parent
091debb14f
commit
6862c10403
1 changed files with 2 additions and 2 deletions
4
.github/helper/roulette.py
vendored
4
.github/helper/roulette.py
vendored
|
|
@ -5,10 +5,10 @@ import shlex
|
|||
import subprocess
|
||||
import sys
|
||||
import urllib.request
|
||||
from functools import cache
|
||||
from functools import lru_cache
|
||||
|
||||
|
||||
@cache
|
||||
@lru_cache(maxsize=None)
|
||||
def fetch_pr_data(pr_number, repo, endpoint):
|
||||
api_url = f"https://api.github.com/repos/{repo}/pulls/{pr_number}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue