Skip to content

Commit

Permalink
FIX: edge terminal product type (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro727 authored Apr 17, 2024
1 parent fe21074 commit 2609df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/edb/core/inner/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,13 +804,13 @@ def term_find_by_name_message(layout, name):

def term_get_product_solver_message(term, product_id):
"""Convert to a ``TermGetProductSolversMessage`` object."""
return TermGetProductSolversMessage(term=term.msg, product_id=product_id)
return TermGetProductSolversMessage(term=term.msg, product_id=product_id.value)


def term_set_solver_option_message(term, product_id, name, option):
"""Convert to a ``TermSetSolverOptionMessage`` object."""
return TermSetSolverOptionMessage(
term=term.msg, product_id=product_id, name=name, option=option
term=term.msg, product_id=product_id.value, name=name, option=option
)


Expand Down

0 comments on commit 2609df2

Please sign in to comment.