Skip to content

Conversation

@praj-0
Copy link
Contributor

@praj-0 praj-0 commented Dec 28, 2022

#
# if operation is not None, we can proceed to instantiate the scala classes
if operation:
if (inputA and defaultA is not None) or \
Copy link
Contributor

@austinzh austinzh Dec 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better if we check the final product of params.
Because user can set params in __init__, setParams, and set it one by one.
Most user actually prefer set it one by one like.

binaryMathBinary().setOpertion(BinaryOperation.Multiply).setInputA("aa").setInputB("bb").setDefaultA(1).setDefaultB(2)

@praj-0 praj-0 force-pushed the u/praj/math_binary_input_validation branch from f51be17 to e993d3e Compare December 29, 2022 18:20
@praj-0 praj-0 requested a review from austinzh December 29, 2022 18:31
@austinzh austinzh merged commit 7fc9694 into combust:master Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants