Skip to content

Commit

Permalink
Remove unnecessary overload
Browse files Browse the repository at this point in the history
Also:
- Fix errors from black 25.1.0
  • Loading branch information
nsoranzo committed Jan 31, 2025
1 parent eeb96c5 commit 28f2c50
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
3 changes: 1 addition & 2 deletions bioblend/_tests/TestGalaxyHistories.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import os
import shutil
Expand Down
3 changes: 1 addition & 2 deletions bioblend/_tests/TestGalaxyTools.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import os
from typing import (
Expand Down
3 changes: 1 addition & 2 deletions bioblend/_tests/test_util.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" General support infrastructure not tied to any particular test.
"""
"""General support infrastructure not tied to any particular test."""

import os
import random
Expand Down
14 changes: 0 additions & 14 deletions bioblend/galaxy/histories/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,20 +323,6 @@ def show_history(
keys: Optional[List[str]] = None,
) -> List[Dict[str, Any]]: ...

# Fallback in case the caller provides a regular bool as contents
@overload
def show_history(
self,
history_id: str,
contents: bool = False,
deleted: Optional[bool] = None,
visible: Optional[bool] = None,
details: Optional[str] = None,
types: Optional[List[str]] = None,
keys: Optional[List[str]] = None,
) -> Union[Dict[str, Any], List[Dict[str, Any]]]:
pass

def show_history(
self,
history_id: str,
Expand Down

0 comments on commit 28f2c50

Please sign in to comment.