Skip to content

Commit 3a8e91c

Browse files
committed
remove unused weights attachments
1 parent d401a2c commit 3a8e91c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

bioimageio/spec/model/v0_5.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -812,11 +812,6 @@ class WeightsEntryBase(Node, frozen=True):
812812
] = None
813813
"""SHA256 checksum of the source file"""
814814

815-
attachments: Annotated[
816-
Union[Attachments, None], warn(None, "Weights entry depends on additional attachments.", ALERT)
817-
] = None
818-
"""Attachments that are specific to this weights entry."""
819-
820815
authors: Union[Tuple[Author, ...], None] = None
821816
"""Authors:
822817
If this is the initial weights entry (in other words: it does not have a `parent` field):
@@ -949,6 +944,7 @@ def check_entries(self, info: ValidationInfo) -> Self:
949944

950945
return self
951946

947+
952948
# def get_default_partial_inputs():
953949
# return (
954950
# InputTensor(axes=(BatchAxis(),), test_tensor=HttpUrl("https://example.com/test.npy")).model_dump(

0 commit comments

Comments
 (0)