piker/piker/data
Tyler Goodlet d35e1e5c67 Port `.data._web_bs` stuff to strict-EGs
Using `tractor.trionics.collapse_eg()` as needed and doing
some renames, in similar style as elsewhere:
- `pcs` -> `rent_cs`,
- `n` -> `tn` for nursery handles,

Also,
- tweak the `._reconnect_forever()` while loop to use the
  (also) `trio`-internal
  `mc_state: trio._channel.MemoryChannelState = snd._state` instead
  of `snd._close` to poll for open send/receive consumer task counts
  since,
    1. it seems more reliable then using the `snd._closed`,
    2. there's no other way to access the info.. afaik?

- handle `ConnectionRejected` explicitly alongside handshake-errs as
  a retry case.
- add a base-exc handler which `.exception()` reports the reconnect
  attempt failure explicitly.
- drop some lingering `Optional` usage.
2025-09-21 11:25:10 -04:00
..
__init__.py Move `dedupe()` to `.data.tsp` (so it has pals) 2023-12-11 16:24:27 -05:00
_formatters.py Expose "bar gap margin" as `.ui._formatters.BGM: float` 2023-12-28 10:37:20 -05:00
_m4.py Add subsys log to new `.data._util` 2023-05-09 14:49:26 -04:00
_pathops.py .data._pathops: drop profiler imports, fix some naming to appease `ruff` 2023-07-20 15:27:22 -04:00
_sampling.py TO-CHERRY: another sampler EoC suppression case? 2025-06-09 10:27:01 -04:00
_sharedmem.py Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00
_source.py Drop `bar_wap` from default ohlc field set 2023-06-27 13:41:47 -04:00
_symcache.py Fixup symcache type annots; no more `Pair` type 2023-12-15 16:00:51 -05:00
_util.py Add subsys log to new `.data._util` 2023-05-09 14:49:26 -04:00
_web_bs.py Port `.data._web_bs` stuff to strict-EGs 2025-09-21 11:25:10 -04:00
feed.py Spurious first-draft of EG collapsing 2025-09-15 19:27:56 -04:00
flows.py Define and pass a default `Flume._readonly: bool` 2023-12-06 17:25:49 -05:00
ingest.py Add subsys log to new `.data._util` 2023-05-09 14:49:26 -04:00
ticktools.py .data.ticktools: add reverse flag, better docs 2023-06-27 15:47:05 -04:00
validate.py Bleh, move `.data.types` back up to top level pkg 2023-08-05 15:57:10 -04:00