Skip to content

Commit

Permalink
fix: adjust type annotation for abstract service
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnighter committed Jun 8, 2024
1 parent d5e820d commit 99e1b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/taxpasta/domain/service/taxonomy_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


from abc import ABC, abstractmethod
from typing import Dict, List, Optional, TypeVar
from typing import Dict, List, Optional, Tuple, TypeVar

from pandera.typing import DataFrame

Expand Down Expand Up @@ -84,7 +84,7 @@ def add_rank_lineage(self, table: DataFrame[ResultTable]) -> DataFrame[ResultTab
@abstractmethod
def format_biom_taxonomy(
self, table: DataFrame[ResultTable]
) -> List[Dict[str, List[str]]]:
) -> Tuple[List[Dict[str, List[str]]], List[str]]:
"""Format the taxonomy as BIOM observation metadata."""

@abstractmethod
Expand Down

0 comments on commit 99e1b15

Please sign in to comment.