pcdshub / happi

Heuristic Access to Positions of Photon Instruments
https://pcdshub.github.io/happi/master
Other
13 stars 29 forks source link

BUG: happi update functionality changed #319

Open tangkong opened 1 year ago

tangkong commented 1 year ago

Expected Behavior

happi update should work intuitively, or at least be clear about how to use it.

Current Behavior

In the past, it was possible to pipe json into happi update. This appears to no longer be the case.

The following no longer works: cat my.json | happi update

but this works for him: happi update $(cat my.json)

Possible Solution

Two-fold:

Steps to Reproduce (for bugs)

  1. Create a json file -> my.json
  2. try cat my.json | happi update

Context

This was reported by @untzag (thank you!)

Some points revealed as I investigated. happi update:

Your Environment

happi 2.3.0