Skip to content

Conversation

@untzag
Copy link
Member

@untzag untzag commented Sep 22, 2022

Description

Adding happi support for REManagerAPI objects.

Motivation and Context

End users can find it cumbersome to manually create REManagerAPI objects due to esoteric (to them) arguments. Happi allows them to grab such objects quickly. Happi is familiar to users who are already using it for device management.

Summary of Changes for Release Notes

Added

  • REManagerAPI objects can now be managed by happi.

How Has This Been Tested?

No tests.

@untzag untzag self-assigned this Sep 22, 2022
@untzag
Copy link
Member Author

untzag commented Oct 17, 2022

@dmgav any thoughts on this PR?

@dmgav
Copy link
Contributor

dmgav commented Oct 18, 2022

I was thinking about this idea. I am not against merging the PR, but is there a use case for this? I always thought happi was intended primarily for Ophyd objects.

@tacaswell
Copy link
Contributor

I'm weakly in favor of this, but I think that the happi dependency should be put in an extra dependency flag rather than being a hard dependency.

Should probably also be in a public module?

@klauer
Copy link

klauer commented Oct 18, 2022

This looks convenient to me.

First-class support of happi - from RE manager objects to using happi items to instantiate devices for usage - in the queue server would be great.

cc @ZLLentz @tangkong

@untzag
Copy link
Member Author

untzag commented Oct 18, 2022

Just FYI when I actually glanced at this last night I noticed that I totally forgot to add the actual entry points. So please don't merge until I do that. I should probably also add tests so that we know the idea actually works.

I always thought happi was intended primarily for Ophyd objects.

I think about Happi as a "configuration file" for any objects that can be instantiated with serializable parameters. We have other mechanisms for recognizing which of those are devices.

Should probably also be in a public module?

I'll think about this. The way I'm personally used to using Happi I don't ever dig down and make items by hand using Python. But I haven't really played with this workflow.

I'm hearing "we're okay adding this" so please give me a moment to actually implement something that works practically.

@untzag untzag marked this pull request as draft October 18, 2022 14:15
@untzag
Copy link
Member Author

untzag commented Oct 18, 2022

First-class support of happi - from RE manager objects to using happi items to instantiate devices for usage - in the queue server would be great.

This is my dream, to use Happi as the one true reference for trucking configuration to the queueserver and back.

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.

4 participants