Skip to content

Commit 2609df2

Browse files
authored
FIX: edge terminal product type (#390)
1 parent fe21074 commit 2609df2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ansys/edb/core/inner/messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,13 +804,13 @@ def term_find_by_name_message(layout, name):
804804

805805
def term_get_product_solver_message(term, product_id):
806806
"""Convert to a ``TermGetProductSolversMessage`` object."""
807-
return TermGetProductSolversMessage(term=term.msg, product_id=product_id)
807+
return TermGetProductSolversMessage(term=term.msg, product_id=product_id.value)
808808

809809

810810
def term_set_solver_option_message(term, product_id, name, option):
811811
"""Convert to a ``TermSetSolverOptionMessage`` object."""
812812
return TermSetSolverOptionMessage(
813-
term=term.msg, product_id=product_id, name=name, option=option
813+
term=term.msg, product_id=product_id.value, name=name, option=option
814814
)
815815

816816

0 commit comments

Comments
 (0)