Skip to content

Extend capabilities of tree_get, tree_set. - #878

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_617976030
Mar 22, 2024
Merged

Extend capabilities of tree_get, tree_set.#878
copybara-service[bot] merged 1 commit into
mainfrom
test_617976030

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Mar 21, 2024

Copy link
Copy Markdown

Extend capabilities of tree_get, tree_set.

  1. Enable tree_get, tree_set to filter for the name of a named tuple in the path to a key (hence filter the name of a state in a chained transformation).
    This enables distinguishing for attributes identical in two different states except that the names of the states are different.

  2. Enable tree_get, tree_set to fetch or set named tuples by the name of the name tuple. This is handy to fetch a given state in the overall state of a chained optimizer.

@copybara-service
copybara-service Bot force-pushed the test_617976030 branch 2 times, most recently from a1c0143 to 60e8710 Compare March 22, 2024 01:34
@copybara-service copybara-service Bot changed the title Enable tree_get, tree_set to filter in the path to a key for the name of a named tuple (hence the name of a state in a chained transformation). Extend capabilities of tree_get, tree_set. Mar 22, 2024
@copybara-service
copybara-service Bot force-pushed the test_617976030 branch 6 times, most recently from f48fbf9 to 7112208 Compare March 22, 2024 20:39
1. Enable tree_get, tree_set to filter for the name of a named tuple in the path to a key (hence filter the name of a state in a chained transformation).
This enables distinguishing for attributes identical in two different states except that the names of the states are different.

2. Enable tree_get, tree_set to fetch or set named tuples by the name of the name tuple. This is handy to fetch a given state in the overall state of a chained optimizer.

PiperOrigin-RevId: 618278195
@copybara-service
copybara-service Bot merged commit b555b4f into main Mar 22, 2024
@copybara-service
copybara-service Bot deleted the test_617976030 branch March 22, 2024 20:53
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.

1 participant