Skip to content

Commit b9222fd

Browse files
committed
rename part_state_api to mutation_api
1 parent 1ffcdd2 commit b9222fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/ansys/visor/viewer/app/trame/local_app.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def sync_cross_section_plane(self, payload) -> None:
562562
re-serialises them in one critical section; nothing is pushed from
563563
here.
564564
"""
565-
api = self._part_state_api("sync_cross_section_plane", payload)
565+
api = self._mutation_api("sync_cross_section_plane", payload)
566566
if api is None:
567567
return
568568
api.sync_cross_section_plane(payload.origin, payload.normal)

‎tests/unit/app/test_local_app_sync_cross_section_plane.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
there would multiply the per-part tests by one more and rewrite them.
1010
1111
Two tests, not six. The no-coordinator path and the not-a-mapping path run
12-
through ``_part_state_api`` and ``parse_payload``, which three sibling trigger
12+
through ``_mutation_api`` and ``parse_payload``, which three sibling trigger
1313
modules already pin against the same two functions; repeating them here would
1414
be a third and fourth copy of one failure mode rather than a new one. What is
1515
unique to this trigger is that it forwards *two* vectors in a fixed order, and

0 commit comments

Comments
 (0)