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

Deprecate template decorator #1794

Merged
merged 6 commits into from
Oct 25, 2021
Merged

Deprecate template decorator #1794

merged 6 commits into from
Oct 25, 2021

Conversation

rmoyard
Copy link
Contributor

@rmoyard rmoyard commented Oct 22, 2021

Description of the Change:

The template decorator is now deprecated, a warning message is added. It will be removed for release v0.20.0.

@codecov
Copy link

codecov bot commented Oct 22, 2021

Codecov Report

Merging #1794 (dc5549a) into master (5a62654) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1794   +/-   ##
=======================================
  Coverage   98.91%   98.91%           
=======================================
  Files         207      207           
  Lines       15629    15631    +2     
=======================================
+ Hits        15460    15462    +2     
  Misses        169      169           
Impacted Files Coverage Δ
pennylane/templates/decorator.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a62654...dc5549a. Read the comment docs.

@rmoyard rmoyard requested a review from Jaybsoni October 22, 2021 20:04
Copy link
Contributor

@Jaybsoni Jaybsoni left a comment

Choose a reason for hiding this comment

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

Just a quick question, other than that it looks good :)

pennylane/templates/decorator.py Show resolved Hide resolved
@rmoyard rmoyard merged commit 091b98b into master Oct 25, 2021
@rmoyard rmoyard deleted the deprecation_template branch October 25, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants