Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: edge terminal product type #390

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading