SettingsSchema#
-
class ansys.fluent.mcp.solve.catalog.schema.SettingsSchema(raw: dict[str, Any], *, source: str = '
' )# Indexed view over the static settings schema.
Indexing is built once at construction. Resolution is
O(depth)over the snake_case path components, with kebab and snake spellings accepted interchangeably.
Overview#
Resolve a snake_case (or kebab-case) dotted path. |
|
Resolve a command call path like |
Return the source associated with the catalog node. |
|
Return the number of nodes in the catalog tree. |
Import detail#
from ansys.fluent.mcp.solve.catalog.schema import SettingsSchema
Property detail#
Method detail#
- SettingsSchema.resolve(path: str) SettingsNode | None#
Resolve a snake_case (or kebab-case) dotted path.
Bracketed member selectors (
...wall["w1"]) are stripped and the schema descends through the NamedObject’s element envelope automatically — soresolve("setup.boundary_conditions.wall.thermal")returns the element-level node for wall thermal, not the container.Dot-form member keys are also supported:
solution.controls.under_relaxation.pressureresolves to theunder_relaxationmember envelope (Fluent rejects new keys here at runtime, but the schema can’t know which keys the user has created — so we accept any token after a NamedObject as a member-key access).
- SettingsSchema.lookup_command(path: str) CommandSpec | None#
Resolve a command call path like
solution.run_calculation.iterate.Splits the trailing segment as the command name and looks it up on the parent node’s
commands(thenqueriesas a fallback).