ansys / ansys/pyfluent

Need to check the quality of the names coming through in the enums

Open
#4,837 0 comments 0 reactions 0 assignees View on GitHub
maintenance settings-api
Dominant language
Python
Stars
497
Forks
77
Avg merge
22h 37m
Merged PRs (30d)
45

Description

resolution = solver.settings.results.animations.playback.video.set_standard_resolution
resolution.set_state(resolution.CASE_4K__3840X2160_)

Original comments by Sean:
Presumably, the original string value has been chosen to embed the definition in order to guide GUI users but that becomes still less defensible at the enum level. In this case, the enum is much, much worse than the original string.

Contributor guide

Open the contributing guide

Research direction

Start from the enum exposed at solver.settings.results.animations.playback.video.set_standard_resolution and inspect how CASE_4K__3840X2160_ is produced. Compare the enum member name with the original string value and identify the naming rule that should be applied. Done means the expected enum names are agreed and the generated API exposes names that are no worse than their source values.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.