Skip to content

pass inflow actions as method references instead of strings - #26

Open
adamkorynta wants to merge 1 commit into
mainfrom
feature/method_reference_inflow_actions
Open

pass inflow actions as method references instead of strings#26
adamkorynta wants to merge 1 commit into
mainfrom
feature/method_reference_inflow_actions

Conversation

@adamkorynta

Copy link
Copy Markdown
Member

this allows for less code redundancy and less fragility with string names

@adamkorynta

Copy link
Copy Markdown
Member Author

@eabkrebs - note the more idiomatic python change using method reference. These were applied to as part of SWL's example scripts

@adamkorynta
adamkorynta force-pushed the feature/method_reference_inflow_actions branch from 2e3da14 to a04d27d Compare August 19, 2026 21:05
"autoAdjust @ Bull_Shoals_Dam",
"computeInflow @ Norfork_Dam",
"cloneInflows @ Norfork_Dam",
"autoAdjust @ Nofork_Dam",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@eabkrebs - note that this typo has been fixed with the refactor here

Base automatically changed from feature/jpype-script-migration to main August 21, 2026 18:27
this allows for less code redundancy and less fragility with string names
@adamkorynta
adamkorynta force-pushed the feature/method_reference_inflow_actions branch from a04d27d to 06db905 Compare August 21, 2026 18:27

@krowvin krowvin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No thoughts on this PR,

But it did get me thinking about this

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.

3 participants