Skip to content

Returning output from Fluent console #3905

@PyPablo

Description

@PyPablo

📝 Description of the feature

I cannot find a built in way to get a python object from the /define/named-expressions/list-properties output (ideally a dictionary). This helps verify that user expressions are valid. Currently I am passing through scheme_eval.exec to get the output and then parsing it in Python. Is there a more pythonic way of getting this?

This is particularly painful and necessary to build an error-proof code. Expression syntax and context verification is already performed by Fluent kernel, we just need a way to access this info in a Pythonic way. Ideally returned as a pythonic object, but if not at least as a string to parse.

💡 Steps for implementing the feature

No response

🔗 Useful links and references

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Settings APIRelated to the settings APIenhancementImprove any current implemented feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions