Skip to content

Commit 03e6de6

Browse files
committed
fix codemeta file property to have list option;
1 parent e7e0790 commit 03e6de6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/somesy/core/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ def at_least_one_target(cls, values):
233233
no_sync_codemeta: Annotated[
234234
bool, Field(description="Do not sync with codemeta.json.")
235235
] = False
236-
codemeta_file: Annotated[Path, Field(description="codemeta.json file path.")] = (
237-
Path("codemeta.json")
238-
)
236+
codemeta_file: Annotated[
237+
Union[Path, List[Path]], Field(description="codemeta.json file path.")
238+
] = Path("codemeta.json")
239239
merge_codemeta: Annotated[
240240
bool,
241241
Field(

0 commit comments

Comments
 (0)