Skip to content

Commit d8910af

Browse files
committed
fix broken imports
1 parent 683a798 commit d8910af

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

bioimageio/spec/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import typer
77

88
from bioimageio.spec import __version__, collection, commands, model, rdf
9-
from spec.shared.raw_nodes import URI
9+
from bioimageio.spec.shared.raw_nodes import URI
1010

1111
enrich_partial_rdf_with_imjoy_plugin: Optional[Callable[[Dict[str, Any], Union[URI, Path]], Dict[str, Any]]]
1212
try:

bioimageio/spec/shared/common.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ class ValidationSummary(TypedDict):
133133
bioimageio_spec_version: str
134134
error: Union[None, str, Dict[str, Any]]
135135
name: str
136-
nested_errors: Dict[str, dict] # todo: mark as not required: typing_extensions.NotRequired (typing py 3.11)
136+
nested_errors: Optional[
137+
Dict[str, dict]
138+
] # todo: mark as not required: typing_extensions.NotRequired (typing py 3.11)
137139
source_name: str
138140
status: Union[Literal["passed", "failed"], str]
139141
traceback: Optional[List[str]]

tests/test_dump_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import pytest
55

6+
from bioimageio.spec.dataset.raw_nodes import Dataset
67
from bioimageio.spec.shared import yaml
7-
from spec.dataset.raw_nodes import Dataset
88

99

1010
def test_spec_round_trip(unet2d_nuclei_broad_any_minor):

0 commit comments

Comments
 (0)