Skip to content

Conversation

@AlexanderWells-diamond
Copy link
Collaborator

@AlexanderWells-diamond AlexanderWells-diamond commented May 30, 2023

The returned string is the full DeviceName:RecordName.

Previously the string representation would be lost when builder.LoadDatabase() is called, as the __builder instance is removed and so str returns None.

The __device is not removed at any point, and so can always be safely used to fetch the full name.

Fixes #129

The returned string is the full DeviceName:RecordName.

Previously the string representation would be lost when
builder.LoadDatabase() is called, as the __builder instance is removed
and so __str__ returns None.

The __device is not removed at any point, and so can always be safely
used to fetch the full name.
@codecov
Copy link

codecov bot commented May 30, 2023

Codecov Report

Merging #130 (289897e) into master (860f59c) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
+ Coverage   87.34%   87.44%   +0.10%     
==========================================
  Files          14       14              
  Lines         996      996              
==========================================
+ Hits          870      871       +1     
+ Misses        126      125       -1     
Impacted Files Coverage Δ
softioc/pythonSoftIoc.py 92.06% <100.00%> (+1.58%) ⬆️

@github-actions
Copy link

Unit Test Results

     15 files  ±  0       15 suites  ±0   26m 51s ⏱️ +27s
   272 tests +  1     256 ✔️ +  1    16 💤 ±0  0 ±0 
4 080 runs  +15  3 490 ✔️ +15  590 💤 ±0  0 ±0 

Results for commit 289897e. ± Comparison against base commit 860f59c.

@Araneidae Araneidae merged commit 289897e into master May 30, 2023
@Araneidae Araneidae deleted the improve_string_representation branch May 30, 2023 09:42
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.

Improve string representation of RecordWrapper instances

3 participants