-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace calls to deprecated inject() with direct factory calls #587
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #587 +/- ##
==========================================
- Coverage 78.22% 78.22% -0.01%
==========================================
Files 92 92
Lines 6801 6800 -1
==========================================
- Hits 5320 5319 -1
Misses 1481 1481
|
b205d53
to
15fbb15
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.
I'm not sure if this is all we need to do. If we don't wait for connection then is there not a danger that if we immediately try and use the device now we will fail? On the other hand waiting for connection inside the default args I think means that we will be doing work on import?
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.
LGTM
We should revisit this later when we see what the issues are
@DominicOram I think the idea is that BlueApi has connected to all the devices before |
…s" (#602) * Revert "Replace calls to deprecated inject() with direct factory calls (#587)" This reverts commit e7827d7. * Pin dodal --------- Co-authored-by: Dominic Oram <[email protected]>
This fixes the unit tests after the deprecation of
inject()
see DiamondLightSource/dodal#845
merged in PR
DiamondLightSource/dodal#854