Skip to content

Commit

Permalink
make component spec optional
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeMoussalli committed Jun 14, 2023
1 parent 88b4729 commit 64614f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fondant/component_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class Argument:
description: argument description
type: the python argument type (str, int, ...)
default: default value of the argument (defaults to None)
optional: whether an argument is optional or not (defaults to False)
"""

name: str
Expand Down Expand Up @@ -234,6 +233,7 @@ def from_fondant_component_spec(
"name": "component_spec",
"description": "The component specification as a dictionary",
"type": "JsonObject",
"default": "None",
},
*(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ inputs:
- name: component_spec
description: The component specification as a dictionary
type: JsonObject
default: None
- name: storage_args
description: Storage arguments
type: String
Expand Down

0 comments on commit 64614f7

Please sign in to comment.