Skip to content

Commit

Permalink
fix disable_type_check
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-mccarthy committed Apr 27, 2022
1 parent 63c80ba commit 6d12cd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/kfp/cli/dsl_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def dsl_compile(
output: str,
function_name: Optional[str] = None,
pipeline_parameters: str = None,
disable_type_check: bool = True,
disable_type_check: bool = False,
) -> None:
"""Compiles a pipeline written in a .py file."""
sys.path.insert(0, os.path.dirname(py))
Expand All @@ -138,7 +138,7 @@ def dsl_compile(
function_name=function_name,
pipeline_parameters=parsed_parameters,
package_path=output,
type_check=not disable_type_check,
disable_type_check=disable_type_check,
)
finally:
del sys.path[0]
Expand Down

0 comments on commit 6d12cd0

Please sign in to comment.