Skip to content

Commit 9f27eb3

Browse files
committed
Bazel: make git_lfs_probe.py compatible with python 3.8
1 parent b8f62ae commit 9f27eb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

misc/bazel/internal/git_lfs_probe.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
import re
1919
import base64
2020
from dataclasses import dataclass
21+
from typing import Dict
2122

2223

2324
@dataclass
2425
class Endpoint:
2526
href: str
26-
headers: dict[str, str]
27+
headers: Dict[str, str]
2728

28-
def update_headers(self, d: dict[str, str]):
29+
def update_headers(self, d: Dict[str, str]):
2930
self.headers.update((k.capitalize(), v) for k, v in d.items())
3031

3132

0 commit comments

Comments
 (0)