-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rename create_act_on_args to create_simulation_state #5299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of issues. I'm also kind of blindly assuming there aren't "args" appearances outside of the changes here - how did you go about checking for these?
There are definitely "args" appearances beyond these fixes. I don't have a good way of checking for all of them -- our other protocols like However this PR does take care of all the regex |
I think if we've hit these, that's enough to call this PR complete - we can catch the rest in code cleanup down the road. |
* Change _create_act_on_args to _create_simulation_state * Deprecate productsstate.args * Test deprecate productsstate.args * Test deprecate create_act_on_args * Rename things within test * Rename act_on arg, some tests * lint * Make deprecation warning text more explicit
* Change _create_act_on_args to _create_simulation_state * Deprecate productsstate.args * Test deprecate productsstate.args * Test deprecate create_act_on_args * Rename things within test * Rename act_on arg, some tests * lint * Make deprecation warning text more explicit
@95-martin-orion Here's this allows safely deprecating those functions. Plus ProductSimulationState.args is now ProductSimulationState.sim_states, and also renamed the
args
param for publicact_on
protocol.