-
Notifications
You must be signed in to change notification settings - Fork 56
Add typing stub files #1397
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
Merged
Add typing stub files #1397
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| from ansys.fluent.core.datamodel_231.PMFileManagement import ( | ||
| Root as pmfilemanagement_root, | ||
| ) | ||
| from ansys.fluent.core.datamodel_231.PartManagement import Root as partmanagement_root | ||
| from ansys.fluent.core.datamodel_231.meshing import Root as meshing_root | ||
| from ansys.fluent.core.datamodel_231.preferences import Root as preferences_root | ||
| from ansys.fluent.core.datamodel_231.workflow import Root as workflow_root | ||
| from ansys.fluent.core.solver.tui_231 import main_menu | ||
|
|
||
| class Meshing: | ||
| @property | ||
| def tui(self) -> main_menu: ... | ||
| @property | ||
| def meshing(self) -> meshing_root: ... | ||
| @property | ||
| def workflow(self) -> workflow_root: ... | ||
| @property | ||
| def PartManagement(self) -> partmanagement_root: ... | ||
| @property | ||
| def PMFileManagement(self) -> pmfilemanagement_root: ... | ||
| @property | ||
| def preferences(self) -> preferences_root: ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| from ansys.fluent.core.datamodel_231.PMFileManagement import ( | ||
| Root as pmfilemanagement_root, | ||
| ) | ||
| from ansys.fluent.core.datamodel_231.PartManagement import Root as partmanagement_root | ||
| from ansys.fluent.core.datamodel_231.meshing import Root as meshing_root | ||
| from ansys.fluent.core.datamodel_231.preferences import Root as preferences_root | ||
| from ansys.fluent.core.datamodel_231.workflow import Root as workflow_root | ||
| from ansys.fluent.core.solver.tui_231 import main_menu | ||
|
|
||
| class PureMeshing: | ||
| @property | ||
| def tui(self) -> main_menu: ... | ||
| @property | ||
| def meshing(self) -> meshing_root: ... | ||
| @property | ||
| def workflow(self) -> workflow_root: ... | ||
| @property | ||
| def PartManagement(self) -> partmanagement_root: ... | ||
| @property | ||
| def PMFileManagement(self) -> pmfilemanagement_root: ... | ||
| def transfer_mesh_to_solvers( | ||
| self, | ||
| solvers, | ||
| file_type: str = ..., | ||
| file_name_stem: str = ..., | ||
| num_files_to_try: int = ..., | ||
| clean_up_mesh_file: bool = ..., | ||
| overwrite_previous: bool = ..., | ||
| ): ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| from ansys.fluent.core.datamodel_231.preferences import Root as preferences_root | ||
| from ansys.fluent.core.datamodel_231.solverworkflow import Root as solverworkflow_root | ||
| from ansys.fluent.core.datamodel_231.workflow import Root as workflow_root | ||
| from ansys.fluent.core.solver.settings_231 import ( | ||
| current_parametric_study, | ||
| file, | ||
| mesh, | ||
| parallel, | ||
| parametric_studies, | ||
| report, | ||
| results, | ||
| setup, | ||
| solution, | ||
| ) | ||
| from ansys.fluent.core.solver.tui_231 import main_menu | ||
|
|
||
| class Solver: | ||
| def build_from_fluent_connection(self, fluent_connection): ... | ||
| @property | ||
| def version(self): ... | ||
| @property | ||
| def tui(self) -> main_menu: ... | ||
| @property | ||
| def workflow(self) -> workflow_root: ... | ||
| @property | ||
| def file(self) -> file: ... | ||
| @property | ||
| def mesh(self) -> mesh: ... | ||
| @property | ||
| def setup(self) -> setup: ... | ||
| @property | ||
| def solution(self) -> solution: ... | ||
| @property | ||
| def results(self) -> results: ... | ||
| @property | ||
| def parametric_studies(self) -> parametric_studies: ... | ||
| @property | ||
| def current_parametric_study(self) -> current_parametric_study: ... | ||
| @property | ||
| def parallel(self) -> parallel: ... | ||
| @property | ||
| def report(self) -> report: ... | ||
| @property | ||
| def preferences(self) -> preferences_root: ... | ||
| @property | ||
| def solverworkflow(self) -> solverworkflow_root: ... | ||
| def read_case(self, file_name: str, lightweight_mode: bool = ...): ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.