Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
mkundu1 committed May 1, 2024
1 parent b827bb2 commit 4ac1054
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/ansys/fluent/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def version_info() -> str:
GENERATED_API_DIR = (Path(__file__) / ".." / "generated").resolve()


# TODO: cleanup the following and related code
# TODO: clean up the following and related code
def wrap_api_call(f, *args, **kwargs):
"""Wrap API call."""
# overwritten in PyConsole
Expand Down
4 changes: 2 additions & 2 deletions src/ansys/fluent/core/codegen/datamodelgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _build_command_query_docstring(name: str, info: Any, indent: str, is_command


class DataModelStaticInfo:
"""Datamodel static information."""
"""Stores datamodel static information."""

_noindices = []

Expand All @@ -109,7 +109,7 @@ def __init__(


class DataModelGenerator:
"""Datamodel API class generator."""
"""Provides the datamodel API class generator."""

def __init__(self, version, sessions: dict):
self.version = version
Expand Down
4 changes: 2 additions & 2 deletions src/ansys/fluent/core/codegen/tuigen.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _get_tui_filepath(mode: str, version: str):
_INDENT_STEP = 4


# TODO: Move doc specific variables to docgen
# TODO: Move doc-specific variables to docgen


def _get_tui_docdir(mode: str):
Expand Down Expand Up @@ -168,7 +168,7 @@ def find_class(self, module, name):


class TUIGenerator:
"""Class to generate explicit TUI menu classes."""
"""Generates explicit TUI menu classes."""

def __init__(self, mode: str, version: str, sessions: dict):
self._mode = mode
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/fluent/core/session_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def _workflow_se(self):
"""Datamodel root for workflow."""
try:
workflow_module = importlib.import_module(
f"ansys.fluent.core.datamodel_{self._version}.workflow"
f"ansys.fluent.core.generated.datamodel_{self._version}.workflow"
)
workflow_se = workflow_module.Root(self._se_service, "workflow", [])
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/fluent/core/utils/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _get_version_path_prefix_from_obj(obj: Any):
path = [
(
"<meshing_session>"
if module.startswith("ansys.fluent.core.meshing")
if module.startswith("ansys.fluent.core.generated.meshing")
else "<solver_session>"
),
"tui",
Expand Down

0 comments on commit 4ac1054

Please sign in to comment.