Skip to content
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

UserWarning: 'bulk_events' has been deprecated in favor of 'event_page', #231

Open
prjemian opened this issue Nov 30, 2022 · 1 comment
Open

Comments

@prjemian
Copy link
Contributor

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
Copy link
Contributor Author

Since the calling plans do not include the text bulk_events, not sure what my code can do about this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant