Commit ebaff3e
__repr__ implemented for SettingProperties. (#5497)
`__repr__ ` implementation for SettingsProperties. This will allow…… use
to print human readable representation of Settings
# Description
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that are required for this change. -->
- Implemented `__repr__` method to SettingProperties class.
- Added more attributes to settings object in `test_settings_repr`
function under test_settings.py
Closes #5380
**Type of change**
<!-- Please delete options that are not relevant. Remember to title the
PR according to the type of change -->
- Improvement (change adding some improvement to an existing
functionality)
**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->
Executed the unit test using `pytest tests/unit`
**Checklist**
<!-- Please go over the list and make sure you've taken everything into
account -->
- I followed the style guidelines of this project
- I did a self-review of my code
- I have added tests that prove my fix is effective or that my feature
works
---------
Co-authored-by: David Berenstein <[email protected]>1 parent d57a83b commit ebaff3e
File tree
3 files changed
+19
-1
lines changed- argilla
- src/argilla/settings
- tests/unit/test_settings
3 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
517 | 522 | | |
518 | 523 | | |
519 | 524 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
82 | 92 | | |
83 | 93 | | |
84 | 94 | | |
85 | | - | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
| |||
0 commit comments