-
Notifications
You must be signed in to change notification settings - Fork 79
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
ENH: move the recursive collect_asset_docs up to Device #1032
base: master
Are you sure you want to change the base?
ENH: move the recursive collect_asset_docs up to Device #1032
Conversation
This looks very sensible 👍 Functionally, there's a small change here of only checking kind='normal'- could that be related to some of the area detector test failures? |
1 similar comment
This looks very sensible 👍 Functionally, there's a small change here of only checking kind='normal'- could that be related to some of the area detector test failures? |
7415212
to
724c805
Compare
rebased and tweaked the test a bit. It makes sense that collect asset docs and read should hit the same children. |
@@ -1237,6 +1237,11 @@ def read(self): | |||
res.update(component.read()) | |||
return res | |||
|
|||
def collect_asset_docs(self): |
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.
docstring would be nice!
Yup, this is super broken and I have no idea why :( I assume multiple inheritance is involved.... |
724c805
to
06f5cfa
Compare
While talking to @jklynch about how asset document collection works I noted that the recursive fallback was implemented in the
AreaDetector
related classes. As part of a push to refactor and (hopefully) simplify how we manage external resources it would be good to pull the recursive discovery and accumulation up to theDevice
level.