Refactored all chapter-based examples and docs with improved patter...
105 files · 4,561+ · 2,695-

Comprehensive Refinement

4 files changed
  • config.py Updated config.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • types.py Updated types.py
  • Updated all 15 chapter-based examples (ch02-ch15) with improved patterns decouple internal
    5 files
    • ch02_getting_started.md
    • ch03_basic_server_setup.md
    • ch04_understanding_transports.md
    • ch05_implementing_a_service.md
    • ch06_basic_client_setup.md
  • Simplified and corrected example implementations remediate internal
    3 files
    • config.py
    • handshake.py
    • server.py
  • Updated example_utils.py and run_all_examples.py decouple internal
    2 files
    • example_utils.py
    • run_all_examples.py
  • Updated demo echo client and server decouple internal
    2 files
    • ch07_echo_client.md
    • ch07_echo_client.py
  • Updated KV proto examples decouple internal
    3 files
    • e2e_greeting_pb2.pyi
    • echo_pb2.pyi
    • grpctest_pb2.pyi
4 files changed
  • config.py Updated config.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • types.py Updated types.py
  • Updated docs with corrected references and improved content specify internal
    3 files
    • config.py
    • handshake.py
    • server.py

Fixture and Test Improvements

10 files changed
  • test_client_grpc.py Updated client test
  • test_client_handshake.py Updated client test
  • test_client_init.py Updated client test
  • test_client_integration.py Updated client test
  • test_client_lifecycle.py Updated client test
  • test_client_retry_logic.py Updated client test
  • test_client_stubs.py Updated client test
  • test_client_transport.py Updated client test
  • test_connection.py Updated client test
  • conftest.py Updated test file
  • Updated test fixtures with better infrastructure qualify internal
    5 files
    • __init__.py
    • client.py
    • crypto.py
    • mocks.py
    • server.py
  • Improved test assertions and patterns across the suite qualify internal
    3 files
    • test_client_grpc.py
    • test_client_handshake.py
    • test_client_init.py