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

Add missing Constant validation to OpFromGraph constructor #704

Conversation

brandonwillard
Copy link
Member

This PR adds missing validation to OpFromGraph, as well as some minor docstring and exception refactoring.

@brandonwillard brandonwillard force-pushed the add-missing-opfromgraph-validation branch from ec22286 to 1dfe3bf Compare December 16, 2021 21:44
@codecov
Copy link

codecov bot commented Dec 16, 2021

Codecov Report

Merging #704 (1dfe3bf) into main (9b78786) will increase coverage by 0.01%.
The diff coverage is 70.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #704      +/-   ##
==========================================
+ Coverage   77.66%   77.67%   +0.01%     
==========================================
  Files         152      152              
  Lines       46961    46964       +3     
  Branches    10891    10892       +1     
==========================================
+ Hits        36470    36479       +9     
+ Misses       7894     7891       -3     
+ Partials     2597     2594       -3     
Impacted Files Coverage Δ
aesara/compile/function/types.py 78.49% <0.00%> (ø)
aesara/compile/builders.py 74.06% <100.00%> (+1.97%) ⬆️

@brandonwillard brandonwillard added enhancement New feature or request refactor This issue involves refactoring labels Dec 22, 2021
@brandonwillard brandonwillard self-assigned this Dec 22, 2021
@brandonwillard brandonwillard merged commit ff4b91d into aesara-devs:main Dec 22, 2021
@brandonwillard brandonwillard deleted the add-missing-opfromgraph-validation branch December 22, 2021 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor This issue involves refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant