Summary
The Python examples in examples/python_sdk/ work but lack type hints. Adding type hints improves readability and enables IDE support for developers using LDP.
What to do
- Add type hints to all functions in:
examples/python_sdk/ldp_delegate.py
examples/python_sdk/ldp_client.py
examples/python_sdk/multi_delegate_routing.py
- Use
TypedDict or dataclass for LDP message structures
- Ensure the examples still run correctly after changes
Acceptance criteria
Summary
The Python examples in
examples/python_sdk/work but lack type hints. Adding type hints improves readability and enables IDE support for developers using LDP.What to do
examples/python_sdk/ldp_delegate.pyexamples/python_sdk/ldp_client.pyexamples/python_sdk/multi_delegate_routing.pyTypedDictordataclassfor LDP message structuresAcceptance criteria
TypedDictordataclasspython ldp_delegate.pyandpython ldp_client.pystill work