tractor/examples
Gud Boi 069df08529 Type the docs-visible `examples/` scripts
Type the runtime objects (`ActorNursery`, `Portal`, `Context`,
`trio.Nursery`) + fn signatures across the 16 highest-visibility,
`literalinclude`-d `examples/` scripts, matching the front-page
`we_are_processes.py` style — so the rendered guides show typed
usage throughout, not just on the landing snippet.

Spans the 3 quickstart-backing scripts + `single_func`,
`remote_error_propagation`, `multiple_streams_one_portal`,
`quick_cluster`, `service_discovery`, `service_daemon_discovery`,
`asynchronous_generators`, `nested_actor_tree`,
`concurrent_actors_primes`, `streaming_broadcast_fanout`,
`rpc_bidir_streaming`, `infected_asyncio_echo_server`,
`typed_payloads`.

Annotation-only (no renames/logic changes); each runs green and the
docs build stays warning-free. Part of the examples-typing bullet
in #472.

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-07-02 12:32:49 -04:00
..
advanced_faults Include `TransportClosed` in tpt-layer err handling 2026-02-19 13:55:02 -05:00
debugging Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
integration mpi integration test 2026-04-10 20:58:54 -04:00
parallelism Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
trio Reduce "ignore cases" script to `trio`-only 2025-09-07 18:49:21 -04:00
__init__.py Make example a subpkg for `python -m <mod>` testing 2022-07-27 11:40:02 -04:00
__main__.py Use trio.run() in windows tests 2021-05-07 11:21:40 -04:00
a_trynamic_first_scene.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
actor_spawning_and_causality.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
actor_spawning_and_causality_with_daemon.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
asynchronous_generators.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
dedicated_registrar.py Add a dedicated-registrar example + discovery guide 2026-07-02 12:32:49 -04:00
full_fledged_streaming_service.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
infected_asyncio_echo_server.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
multiple_streams_one_portal.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
nested_actor_tree.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
quick_cluster.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
remote_error_propagation.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
rpc_bidir_streaming.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
service_daemon_discovery.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
service_discovery.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
streaming_broadcast_fanout.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
typed_payloads.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00
uds_transport_actor_tree.py Type the docs-visible `examples/` scripts 2026-07-02 12:32:49 -04:00