You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In KFP v1, any value can be given for the type field of an input. This can be problematic during pipeline compile if parameters are passed to a pipeline. An InconsistentTypeException will be thrown if the type hint of a parameter does not match the type of the input defined in the component YAML.
For example, in the inputs for the Download Data example component, the values of string and URI are given as types for the inputs. While it is clear that these types should be strings, an InconsistentTypeException is thrown during compile for a pipeline with a parameter type-hinted as str in the Python DSL because KFP defines its string type as String with a capital S.
We should update all our example component resources to only use KFP base types so that these components continue to work 'out of the box' when support for pipeline parameters is available in Elyra (elyra-ai/elyra#3001).
The text was updated successfully, but these errors were encountered:
In KFP v1, any value can be given for the
type
field of an input. This can be problematic during pipelinecompile
if parameters are passed to a pipeline. AnInconsistentTypeException
will be thrown if the type hint of a parameter does not match the type of the input defined in the component YAML.For example, in the inputs for the Download Data example component, the values of
string
andURI
are given as types for the inputs. While it is clear that these types should be strings, anInconsistentTypeException
is thrown duringcompile
for a pipeline with a parameter type-hinted asstr
in the Python DSL because KFP defines its string type asString
with a capital S.We should update all our example component resources to only use KFP base types so that these components continue to work 'out of the box' when support for pipeline parameters is available in Elyra (elyra-ai/elyra#3001).
The text was updated successfully, but these errors were encountered: