Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: search module improvements #3497

Merged
merged 26 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions codegen/allapigen.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from ansys.fluent.core import CODEGEN_OUTDIR, FluentMode, FluentVersion, launch_fluent
from ansys.fluent.core.codegen import StaticInfoType, allapigen, print_fluent_version
from ansys.fluent.core.search import _search
from ansys.fluent.core.search import _generate_api_data
from ansys.fluent.core.utils.fluent_version import get_version_for_file_name

if __name__ == "__main__":
Expand Down Expand Up @@ -66,4 +66,4 @@
allapigen.generate(version, static_infos)
t2 = time()
print(f"Time to generate APIs: {t2 - t1:.2f} seconds")
_search("", version=version, write_api_tree_data=True)
_generate_api_data(version=version)
3 changes: 3 additions & 0 deletions src/ansys/fluent/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,8 @@ def version_info() -> str:
# Whether to skip health check
CHECK_HEALTH = True

# Whether to print search results
PRINT_SEARCH_RESULTS = True

# Whether to clear environment variables related to Fluent parallel mode
CLEAR_FLUENT_PARA_ENVS = False
Loading