UserWarning: 'bulk_events' has been deprecated in favor of 'event_page',
Opened this issue · 1 comments
prjemian commented
Getting this UserWarning with fly scans (such as in this Howto guide):
${CONDA_PREFIX}/lib/python3.9/site-packages/event_model/__init__.py:208: UserWarning: The document type 'bulk_events' has been deprecated in favor of 'event_page', whose structure is a transpose of 'bulk_events'.
Expected Behavior
Expecting no warning.
Current Behavior
raises UserWarning
Possible Solution
unknown
Steps to Reproduce (for bugs)
see example: https://bcda-aps.github.io/apstools/examples/de_scaler_motor_flyer.html#Scan
Context
Would like to demonstrate bluesky in a way that it does not generate stray warnings. For now, added an ignore filter to pytest.ini
configuration file:
[pytest]
filterwarnings =
ignore:.*bulk_events.*event_page.*:UserWarning
Your Environment
see example: https://bcda-aps.github.io/apstools/examples/de_scaler_motor_flyer.html#Scan
prjemian commented
Since the calling plans do not include the text bulk_events
, not sure what my code can do about this warning.