Skip to content

fix(types): more specific returns for app related enums#5248

Closed
Gobot1234 wants to merge 2 commits into
mainfrom
hilton/fix-enum-returns
Closed

fix(types): more specific returns for app related enums#5248
Gobot1234 wants to merge 2 commits into
mainfrom
hilton/fix-enum-returns

Conversation

@Gobot1234

Copy link
Copy Markdown
Collaborator

I just noticed these weren't typed thought it would be useful to be more specific for typing+testing purposes

@Gobot1234 Gobot1234 enabled auto-merge (squash) July 9, 2026 15:01
@github-actions github-actions Bot added the bug Issue, problem or error in PyFluent label Jul 9, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

def get_app_mode(self) -> Enum:
def get_app_mode(self) -> "FluentMode":
"""Get app mode."""
from ansys.fluent.core import FluentMode

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prmukherj Can we move these to global imports? I think we can import from ansys.fluent.core.launcher.launch_options to avoid any dependency issues coming from the top-level imports.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, will do, Thanks. @Gobot1234, I will take care of this file.

@prmukherj prmukherj closed this Jul 13, 2026
auto-merge was automatically disabled July 13, 2026 03:39

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue, problem or error in PyFluent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants