Skip to content

Commit 11f7f42

Browse files
committed
fix type error
1 parent 10e691b commit 11f7f42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nf_core/pipelines/sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import re
77
import shutil
88
from pathlib import Path
9-
from typing import Any, Dict, Optional, Union
9+
from typing import Any, Dict, Optional, Tuple, Union
1010

1111
import git
1212
import questionary
@@ -474,7 +474,7 @@ def close_open_pr(self, pr) -> bool:
474474
return False
475475

476476
@staticmethod
477-
def _parse_json_response(response) -> tuple[Any, str]:
477+
def _parse_json_response(response) -> Tuple[Any, str]:
478478
"""Helper method to parse JSON response and create pretty-printed string.
479479
480480
Args:

0 commit comments

Comments
 (0)