Skip to content

Commit 9a9b8e7

Browse files
committed
🐛 Fix type field
1 parent 8247a97 commit 9a9b8e7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

app/api/models/resolver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Optional, Literal, List
1+
from typing import Optional, Literal, List, Dict
22
from pydantic import BaseModel, Field
33

44

@@ -31,7 +31,7 @@ class MetadataResult(BaseModel):
3131
assembly: Assembly
3232
scientific_name: str
3333
common_name: str
34-
type: Optional[str] = None
34+
type: Optional[Dict[str, str]] = None
3535

3636

3737
class ResolvedPayload(MetadataResult):

requirements-dev.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
-r requirements.txt
2-
pre-commit=3.8.0
3-
black=24.8.0
4-
flake8==7.1.1
2+
pre-commit==3.8.0
3+
black==24.8.0

0 commit comments

Comments
 (0)