chore(sdk): remove the unreachable validation code (#8082)

This commit is contained in:
Deepyaman Datta 2022-08-01 17:03:47 -04:00 committed by GitHub
parent 23d549f3ac
commit f221d855b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -66,10 +66,6 @@ class BaseComponent(abc.ABC):
if k not in self._component_inputs:
raise TypeError(
f'{self.name}() got an unexpected keyword argument "{k}".')
if k in task_inputs:
raise TypeError(
f'{self.name}() got multiple values for argument "{k}".')
task_inputs[k] = v
# Skip optional inputs and arguments typed as PipelineTaskFinalStatus.