-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept a Python range when setting scoping IDs. (#2001)
* Add AnyServerType type for typehint. * Refactor scoping.py to improve typehint and allow range as input for ids. * Refactor mesh_scoping_factory.py to improve typehint and docstrings. * Remove duplicate treatment of range * Add coverage for range * Apply suggestions from code review Co-authored-by: JennaPaikowsky <[email protected]> * Fix mesh_scoping_factory.py/named_selection_scoping. Requires a dedicated PR to properly use the server argument. * Update src/ansys/dpf/core/scoping.py * Update Scoping docstring example with time_freq scoping. * Remove TODOs * Properly expose the possibility to get the list of IDs in a scoping as a Python list. * Update testing --------- Co-authored-by: JennaPaikowsky <[email protected]>
- Loading branch information
1 parent
30bec39
commit 59f6708
Showing
3 changed files
with
157 additions
and
83 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.