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

Fix typing errors about part features #5807

Merged
merged 10 commits into from
Sep 29, 2024
Merged

Fix typing errors about part features #5807

merged 10 commits into from
Sep 29, 2024

Conversation

huibosa
Copy link
Contributor

@huibosa huibosa commented Sep 29, 2024

Description

  • Use "|" instead of Union for consistency
  • Fix type hint for CutExtrude and SolidExtrude
  • Fix type hint for Round to suppress type check error since edgeList and Sequence are two mutally exclusive parameters.
  • Change the type of member id to suppress __getitem__'s error
  • Add NDArray support for all functions in Material.py
  • Add timePoint parameter for FeatureOutputRequest

huibosa_macmini and others added 10 commits March 17, 2024 19:14
- Use "|" instead of Union for consistency
- Fix type hint for `CutExtrude` and `SolidExtrude`
- Fix type hint for `Round` to suppress type check error since
  `edgeList` and `Sequence` are two mutally exclusive parameters.
- Change the type of member `id` to suppress `__getitem__`'s error
- Add NDArray support for all functions in Material.py
- Add `timePoint` parameter for `FeatureOutputRequest`
@haiiliin haiiliin added backport-to-all Backport to all branches typing Typing labels Sep 29, 2024
@haiiliin
Copy link
Owner

Thanks

@haiiliin haiiliin merged commit 2e02a2e into haiiliin:2024 Sep 29, 2024
8 checks passed
mergify bot pushed a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 2e02a2e)
mergify bot pushed a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 2e02a2e)
mergify bot pushed a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 2e02a2e)

# Conflicts:
#	src/abaqus/Material/Material.py
mergify bot added a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa <78707242+huibosa@users.noreply.github.com>
mergify bot added a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa <78707242+huibosa@users.noreply.github.com>
mergify bot pushed a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 2e02a2e)

# Conflicts:
#	src/abaqus/Material/Material.py
mergify bot pushed a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 2e02a2e)

# Conflicts:
#	src/abaqus/Material/Material.py
mergify bot pushed a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 2e02a2e)

# Conflicts:
#	src/abaqus/Material/Material.py
mergify bot pushed a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 2e02a2e)

# Conflicts:
#	src/abaqus/Material/Material.py
mergify bot pushed a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa_macmini <huibosa@email.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 2e02a2e)

# Conflicts:
#	src/abaqus/Material/Material.py
mergify bot added a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa <78707242+huibosa@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
mergify bot added a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa <78707242+huibosa@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
mergify bot added a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa <78707242+huibosa@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
mergify bot added a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa <78707242+huibosa@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
mergify bot added a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa <78707242+huibosa@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
mergify bot added a commit that referenced this pull request Sep 29, 2024
Co-authored-by: huibosa <78707242+huibosa@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-all Backport to all branches typing Typing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants