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

ENH: add an IOC that builds itself from a json file #489

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tacaswell
Copy link
Collaborator

Example input:

{"a:b": ["float", "ai"],
 "c:d": ["float", "ao"]}
> python caproto/ioc_examples/bucket_of_pvs.py --list-pvs --json /tmp/pv_bucket.json 

attn @RussBerg

Copy link
Collaborator

@danielballan danielballan left a comment

Choose a reason for hiding this comment

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

The expected structure of the JSON should be documented somewhere. (Currently there is just an example in the PR conversation.) The type_map should be expanded, or the unsupported types should fail more informatively.

@klauer
Copy link
Member

klauer commented Oct 5, 2020

A bit too basic to be considered generally useful, and also not as well documented as it needs to be (echoing @danielballan's review)

Co-authored-by: K Lauer <klauer@users.noreply.github.com>
@tacaswell
Copy link
Collaborator Author

Oh, I was looking for this example when I started https://github.com/NSLS-II/archiver-proxy !

@tacaswell tacaswell marked this pull request as draft June 22, 2022 23:14
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

3 participants