progress-table 2.2.3__tar.gz → 2.2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {progress-table-2.2.3 → progress_table-2.2.5}/PKG-INFO +1 -1
  2. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table/__init__.py +1 -1
  3. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table/v1/progress_table.py +2 -1
  4. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table.egg-info/PKG-INFO +1 -1
  5. {progress-table-2.2.3 → progress_table-2.2.5}/LICENSE.txt +0 -0
  6. {progress-table-2.2.3 → progress_table-2.2.5}/README.md +0 -0
  7. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table/v0/__init__.py +0 -0
  8. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table/v0/progress_table.py +0 -0
  9. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table/v0/symbols.py +0 -0
  10. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table/v1/__init__.py +0 -0
  11. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table/v1/common.py +0 -0
  12. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table/v1/styles.py +0 -0
  13. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table.egg-info/PKG-INFO.sync-conflict-20240314-015933-NXTV2IO +0 -0
  14. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table.egg-info/SOURCES.txt +0 -0
  15. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table.egg-info/dependency_links.txt +0 -0
  16. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table.egg-info/requires.txt +0 -0
  17. {progress-table-2.2.3 → progress_table-2.2.5}/progress_table.egg-info/top_level.txt +0 -0
  18. {progress-table-2.2.3 → progress_table-2.2.5}/pyproject.toml +0 -0
  19. {progress-table-2.2.3 → progress_table-2.2.5}/setup.cfg +0 -0
  20. {progress-table-2.2.3 → progress_table-2.2.5}/setup.py +0 -0
  21. {progress-table-2.2.3 → progress_table-2.2.5}/tests/test_docs_automated.py +0 -0
  22. {progress-table-2.2.3 → progress_table-2.2.5}/tests/test_examples_automated.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: progress-table
3
- Version: 2.2.3
3
+ Version: 2.2.5
4
4
  Summary: Display progress as a pretty table in the command line.
5
5
  Home-page: https://github.com/gahaalt/progress-table.git
6
6
  Author: Szymon Mikler
@@ -1,6 +1,6 @@
1
1
  # Copyright (c) 2022-2024 Szymon Mikler
2
2
 
3
- __version__ = "2.2.3"
3
+ __version__ = "2.2.5"
4
4
 
5
5
  from progress_table.v0.progress_table import ProgressTableV0
6
6
  from progress_table.v1 import styles
@@ -422,7 +422,8 @@ class ProgressTableV1:
422
422
  data_row_index = len(self._data_rows) - 1
423
423
 
424
424
  # Color is applied to the existing row - not the new one!
425
- row.COLORS.update(self._resolve_row_color_dict(color))
425
+ # Existing colors applied by `update` get the priority over row color
426
+ row.COLORS = {**self._resolve_row_color_dict(color), **row.COLORS}
426
427
 
427
428
  # Refreshing the existing row is necessary to apply colors
428
429
  # Or - if row is empty, this will cause the first addition to display rows
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: progress-table
3
- Version: 2.2.3
3
+ Version: 2.2.5
4
4
  Summary: Display progress as a pretty table in the command line.
5
5
  Home-page: https://github.com/gahaalt/progress-table.git
6
6
  Author: Szymon Mikler
File without changes
File without changes
File without changes