Skip to content

chore: Unify schema attrs in flobject.py#5256

Draft
prmukherj wants to merge 4 commits into
mainfrom
maint/unify_schema_attrs_in_flobject
Draft

chore: Unify schema attrs in flobject.py#5256
prmukherj wants to merge 4 commits into
mainfrom
maint/unify_schema_attrs_in_flobject

Conversation

@prmukherj

Copy link
Copy Markdown
Collaborator

Context

What was the situation or problem before this change?

Change Summary

What changes were made?

Rationale

Why was this approach taken?

Impact

What parts of the system or workflows are affected?

@github-actions github-actions Bot added the enhancement Improve any current implemented feature label Jul 13, 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.

cls._allowed_values = allowed_values

has_migration_adapter = info.get("has-migration-adapter?", False)
has_migration_adapter = info.get("has_migration_adapter", False)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Only this we need to add. I am not sure how it was getting propagated from settings side as I could not find this attribute in the schema (proto of in the server code.)
@mkundu1

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 Please see https://github.com/ansys-internal/ansys-api-fluent/pull/180/changes how the settings schema can be restructured to avoid the dynamic attrs and the scheme names like has-migration-adapter? etc.

Please also note: https://github.com/ansys-internal/ansys-api-fluent/issues/121

Comment thread src/ansys/fluent/core/solver/flobject.py Outdated
Comment thread src/ansys/fluent/core/solver/flobject.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve any current implemented feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants