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

add first-class support for discrete hardware #98

Merged
merged 7 commits into from
Aug 14, 2023

Conversation

untzag
Copy link
Member

@untzag untzag commented Aug 14, 2023

No description provided.

@untzag untzag self-assigned this Aug 14, 2023
out = super()._describe(out)
meta = OrderedDict()
meta["shape"] = []
meta["dtype"] = "string"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The identifier can be null, not sure if that can be declared here or needs to be handled, e.g. by mapping None to empty string

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great point. I guess I'll have to try and feed nulls into Bluesky to see what happens. If Bluesky gets angry we can do empty string easily.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None works just fine, with the exception of formatting for best effort callback. The messages get emitted and data gets recorded.

I guess now we have to decide, but I think keeping it as-is makes sense.

@untzag untzag merged commit 0ca5517 into bluesky:master Aug 14, 2023
8 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants