2 Commits
Author SHA1 Message Date
raceychan e58fbab70f Add type hints via .pyi stub file
- Create pocketflow/__init__.pyi with improved type definitions
- Remove type hints from runtime code to keep it clean
- Use TypeVars and Generics for better type relationships
- Replace many 'Any' types with more specific types like ParamValue, SharedData, Params
- Maintain original compact code style in __init__.py
2025-07-07 01:24:50 +08:00
raceychan 58bf50c87e adding type hints 2025-07-06 14:06:25 +08:00