Skip to content

Conversation

@clumsy
Copy link
Collaborator

@clumsy clumsy commented Nov 27, 2025

Nested dicts are already working recursively, but nested lists don't.

This is very limiting for kubernetes pod overlays, e.g. when we want to use app_id for affinity restrictions.

Test plan:
[x] added unit tests

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 27, 2025
@clumsy
Copy link
Collaborator Author

clumsy commented Nov 27, 2025

Please check when you get a chance, @kiukchung @tonykao8080 @d4l3k @andywag

@kiukchung kiukchung changed the title fix: expand macros in nested lists (torchx/specs)(macros) expand macros in nested lists Dec 1, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 1, 2025

@kiukchung has imported this pull request. If you are a Meta employee, you can view this in D88077508.

@kiukchung kiukchung self-assigned this Dec 1, 2025
@meta-codesync meta-codesync bot merged commit 9016924 into meta-pytorch:main Dec 1, 2025
6 checks passed
@clumsy clumsy deleted the fix/nested_list_macro_substitute branch December 2, 2025 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants