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 Op.perform type hint #1016

Merged
merged 1 commit into from
Jul 8, 2022
Merged

Conversation

michaelosthege
Copy link
Contributor

@michaelosthege michaelosthege commented Jun 26, 2022

The type hint of the inputs parameter to Op.perform was wrong.
The docstring was correct.

This PR fixes the type hint.

@codecov
Copy link

codecov bot commented Jul 1, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.26%. Comparing base (7f8af9b) to head (4a4dc3d).
Report is 510 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1016   +/-   ##
=======================================
  Coverage   79.26%   79.26%           
=======================================
  Files         152      152           
  Lines       47873    47873           
  Branches    10908    10908           
=======================================
  Hits        37947    37947           
  Misses       7429     7429           
  Partials     2497     2497           
Files Coverage Δ
aesara/graph/op.py 86.59% <ø> (ø)

@michaelosthege michaelosthege marked this pull request as ready for review July 1, 2022 20:05
twiecki
twiecki previously approved these changes Jul 3, 2022
@twiecki twiecki requested a review from brandonwillard July 3, 2022 20:14
aesara/graph/op.py Outdated Show resolved Hide resolved
aesara/graph/op.py Outdated Show resolved Hide resolved
@@ -17,6 +17,7 @@
cast,
)

import numpy as np
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
import numpy as np

@brandonwillard brandonwillard added the typing Work related to type checking label Jul 4, 2022
@brandonwillard brandonwillard added the bug Something isn't working label Jul 8, 2022
@ricardoV94 ricardoV94 merged commit 510a961 into aesara-devs:main Jul 8, 2022
@michaelosthege michaelosthege deleted the patch-1 branch July 8, 2022 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working typing Work related to type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants