Skip to content

Commit

Permalink
blackend code
Browse files Browse the repository at this point in the history
  • Loading branch information
mhkc committed Nov 30, 2023
1 parent 87dfcac commit bee9e4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prp/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Data models"""

from .sample import PipelineResult
from .sample import PipelineResult
3 changes: 2 additions & 1 deletion prp/models/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class TypingMethod(Enum):
CGMLST = "cgmlst"
LINEAGE = "lineage"


class ChewbbacaErrors(str, Enum):
"""Chewbbaca error codes."""

Expand Down Expand Up @@ -89,4 +90,4 @@ class TypingResultLineage(ResultLineageBase):
sublin: str


CgmlstAlleles = Dict[str, int | None | ChewbbacaErrors | MlstErrors | List[int]]
CgmlstAlleles = Dict[str, int | None | ChewbbacaErrors | MlstErrors | List[int]]

0 comments on commit bee9e4f

Please sign in to comment.