Skip to content

Commit

Permalink
feat: search module improvements (#3497)
Browse files Browse the repository at this point in the history
* feat: Search module improvements

* feat: Search module improvements

* feat: Remove duplicate synsets

* feat: Remove name from synsets

* Update src/ansys/fluent/core/search.py

Co-authored-by: Sean Pearson <[email protected]>

* feat: Remove unrelated synsets

* feat: Remove unrelated synsets 1

* feat: Remove unrelated synsets 2

* feat: Remove api_.pickle file

* feat: Refactoring 1

* feat: Refactoring 2

* feat: Refactoring 3

* feat: Refactoring 4

* feat: Refactoring 5

* feat: Refactoring 6

* feat: All tests are passing

* feat: Refactoring 7

* feat: Refactoring 8

* feat: Add tests 1

* feat: Refactoring 9

* feat: Refactoring 10

* feat: Refactoring 11

* feat: Refactoring 12

* feat: Refactoring 13

* feat: Refactoring 14

---------

Co-authored-by: Sean Pearson <[email protected]>
  • Loading branch information
hpohekar and seanpearsonuk authored Nov 21, 2024
1 parent 6ee9e16 commit bbc8ecc
Show file tree
Hide file tree
Showing 7 changed files with 163 additions and 512 deletions.
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

0 comments on commit bbc8ecc

Please sign in to comment.