-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
BUG: Initialize _Controller
Init Parameters
#703
Conversation
ed80d4e
to
ddbccb3
Compare
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.
@MateusStano I know you don't like the CHANGELOG.md file.
But keep in mind that, when you don't update it, someone else you have to do it for you.
In the case of last 3 PRs, that one was me.
@@ -84,8 +84,10 @@ def __init__( | |||
None | |||
""" | |||
self.interactive_objects = interactive_objects | |||
self.base_controller_function = controller_function |
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.
@MateusStano I have no idea why you want to save this attribute as base_controller_function
instead of simply controller_function
. I'm approving this since the class is still private.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #703 +/- ##
===========================================
- Coverage 76.02% 75.90% -0.12%
===========================================
Files 99 99
Lines 11278 11222 -56
===========================================
- Hits 8574 8518 -56
Misses 2704 2704 ☔ View full report in Codecov by Sentry. |
Some arguments passed to
__init__
of the_Controller
class were not being saved. This PR fixes this issueThis is important for controller/airbrakes serialization.
Should be merged after #701