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

Make InstrumentBase name and short_name read-only properties #1820

Merged
merged 14 commits into from
Nov 12, 2019

Conversation

astafan8
Copy link
Contributor

@astafan8 astafan8 commented Nov 11, 2019

Make the InstrumentBase.name and InstrumentBase.short_name read-only because those are not supposed to be changed after instrument instantiation.

Since this is a breaking change, this PR also contains an addition to 0.8.0 release changelog.

Duplicates and closes #1731.

@codecov
Copy link

codecov bot commented Nov 11, 2019

Codecov Report

Merging #1820 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1820      +/-   ##
==========================================
+ Coverage   70.25%   70.26%   +<.01%     
==========================================
  Files         148      148              
  Lines       18557    18563       +6     
==========================================
+ Hits        13038    13044       +6     
  Misses       5519     5519

@jenshnielsen jenshnielsen merged commit b4cf7d5 into microsoft:master Nov 12, 2019
@astafan8 astafan8 deleted the feature/instrument_name branch November 12, 2019 13:58
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

3 participants