Align endpoint/module type hints and config reload handling while updating base Python image and package pins to improve build/runtime compatibility. Made-with: Cursor
if var:
if not var:
if var is not None:
if var is None:
None