-
Notifications
You must be signed in to change notification settings - Fork 9
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
update APS operating cycle info #994
Conversation
prjemian
commented
Jul 1, 2024
- close aps_cycle_info.yml #971
- aps_cycle.py #970 (necessary revisions were not caught in this PR)
apstools/devices/aps_cycle.py
Outdated
from dm import ApsDbApiFactory | ||
from dm.common.exceptions.dmException import DmException | ||
from ..utils.aps_data_management import dm_source_environ |
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.
does dm not get used elsewhere?
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.
Yes. But what is the concern here?
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.
This is another example where the import of dm
is encapsulated in this specific method. As in other modules of apstools, it is entirely possible that a user should be able to import this module on systems where dm
is not available.