Skip to content

Commit 28f2c50

Browse files
committed
Remove unnecessary overload
Also: - Fix errors from black 25.1.0
1 parent eeb96c5 commit 28f2c50

File tree

4 files changed

+3
-20
lines changed

4 files changed

+3
-20
lines changed

bioblend/_tests/TestGalaxyHistories.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
import os
54
import shutil

bioblend/_tests/TestGalaxyTools.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
import os
54
from typing import (

bioblend/_tests/test_util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
""" General support infrastructure not tied to any particular test.
2-
"""
1+
"""General support infrastructure not tied to any particular test."""
32

43
import os
54
import random

bioblend/galaxy/histories/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -323,20 +323,6 @@ def show_history(
323323
keys: Optional[List[str]] = None,
324324
) -> List[Dict[str, Any]]: ...
325325

326-
# Fallback in case the caller provides a regular bool as contents
327-
@overload
328-
def show_history(
329-
self,
330-
history_id: str,
331-
contents: bool = False,
332-
deleted: Optional[bool] = None,
333-
visible: Optional[bool] = None,
334-
details: Optional[str] = None,
335-
types: Optional[List[str]] = None,
336-
keys: Optional[List[str]] = None,
337-
) -> Union[Dict[str, Any], List[Dict[str, Any]]]:
338-
pass
339-
340326
def show_history(
341327
self,
342328
history_id: str,

0 commit comments

Comments
 (0)