piker/piker
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
..
accounting Spurious first-draft of EG collapsing 2025-09-15 19:27:56 -04:00
brokers binance; unmask around send-chan @acm usage 2025-09-20 22:32:05 -04:00
clearing Spurious first-draft of EG collapsing 2025-09-15 19:27:56 -04:00
cli Port `.cli` & `.service` to latest `tractor` registry APIs 2025-09-20 22:38:47 -04:00
data Port `.data._web_bs` stuff to strict-EGs 2025-09-21 11:25:10 -04:00
fsp Adjust to `trio`'s strict eg nurseries throughout! 2025-06-26 11:07:56 -04:00
service Port `.cli` & `.service` to latest `tractor` registry APIs 2025-09-20 22:38:47 -04:00
storage Add write_oi for open interest 2025-03-04 19:30:11 -03:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
toolz Delegate `.toolz.open_crash_handler()` to `tractor.devx` 2024-01-16 10:26:38 -05:00
tsp Spurious first-draft of EG collapsing 2025-09-15 19:27:56 -04:00
ui Adjust feed status fields/display-pane to new actor-ID 2025-06-26 11:24:32 -04:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py Mask `pytest` detection block in `piker.config` 2025-02-13 13:32:11 -05:00
log.py Add `.log.mk_repr()` to create `reprlib.Repr`s 2025-02-24 17:20:50 -03:00
types.py Impl a sane (with nesting) `.types.Struct.pformat()` 2024-01-17 15:50:27 -05:00