acoustic-carpenter-78188
04/02/2026, 8:07 PMPath object. For better usability, we now accept str as well.
Summary of Changes
• Updated the from_dockerfile definition to accept either a Path or str
• If a str is provided, it is automatically converted to a Path
• In from_dockerfile allow kwargs values to be of type Any - fix for mypy type mismatch
Test Plan
• Added a unit test: test_dockerfile_with_str_path() which builds an image using a string file path.
flyteorg/flyte-sdkacoustic-carpenter-78188
04/02/2026, 8:54 PM