Skip to content

refactor[next]: remove ProgramWithBoundArgs - #2959

Merged
havogt merged 1 commit into
GridTools:mainfrom
havogt:remove-program-with-bound-args
Oct 29, 2026
Merged

havogt merged 1 commit into
GridTools:mainfrom
havogt:remove-program-with-bound-args

Conversation

@havogt

@havogt havogt commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Removes Program.with_bound_args, the ProgramWithBoundArgs class and its tests (test_bound_args.py) from gt4py.next.ffront.decorator.

This is a user-facing API removal. ProgramWithBoundArgs.compile() was never implemented (it raised NotImplementedError), so bound programs only worked on the non-precompiled call path.

The user can express the use-case with a combination of static_args + functools.partial.

Remove Program.with_bound_args, ProgramWithBoundArgs and its tests.
@havogt

havogt commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Written by an agent on behalf of @havogt

@havogt
havogt marked this pull request as ready for review October 29, 2026 15:53

@egparedes egparedes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@havogt
havogt merged commit 1ccdf7b into GridTools:main Oct 29, 2026
24 checks passed
@havogt
havogt deleted the remove-program-with-bound-args branch October 29, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants