qcanvas 1.0.6a8__py3-none-any.whl → 1.0.6.post0__py3-none-any.whl

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.

Potentially problematic release.


This version of qcanvas might be problematic. Click here for more details.

@@ -5,8 +5,10 @@ from qtpy.QtCore import QSettings
5
5
 
6
6
  _logger = logging.getLogger(__name__)
7
7
 
8
+ T = TypeVar("T")
8
9
 
9
- class MappedSetting[T]:
10
+
11
+ class MappedSetting(Generic[T]):
10
12
  """
11
13
  Acts as a proxy for a named value in a QSettings object.
12
14
  Stores the value in memory when initialised and updates it accordingly, to protect it from changes on disk.
@@ -46,7 +48,7 @@ class BoolSetting(MappedSetting[bool]):
46
48
  def __init__(self, default: bool = False):
47
49
  super().__init__(default)
48
50
 
49
- @override
51
+ # @override
50
52
  def _read(self) -> bool:
51
53
  try:
52
54
  # noinspection PyTypeChecker
@@ -55,7 +57,7 @@ class BoolSetting(MappedSetting[bool]):
55
57
  except:
56
58
  return self.default
57
59
 
58
- @override
60
+ # @override
59
61
  def _write(self, value: object) -> None:
60
62
  if not isinstance(value, bool):
61
63
  raise TypeError()
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qcanvas
3
- Version: 1.0.6a8
3
+ Version: 1.0.6.post0
4
4
  Summary: QCanvas is a desktop client for Canvas LMS.
5
5
  Author: QCanvas
6
6
  Author-email: QCanvas@noreply.codeberg.org
7
- Requires-Python: >=3.12,<3.13
7
+ Requires-Python: >=3.11,<3.13
8
8
  Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.11
9
10
  Classifier: Programming Language :: Python :: 3.12
10
11
  Requires-Dist: aiosqlite (>=0.20.0,<0.21.0)
11
12
  Requires-Dist: asynctaskpool (>=0.2.1,<0.3.0)
@@ -56,12 +56,12 @@ qcanvas/util/paths.py,sha256=uEV4AJFaWtP7hbie7H6-MYnCUE4_IJl0fkuxuZVMffA,1306
56
56
  qcanvas/util/qurl_util.py,sha256=NkskYvrMQJuYWMNF4DFQ4J5-YM5CGl5gHQKxJaAhHBE,197
57
57
  qcanvas/util/settings/__init__.py,sha256=ivc8bczhQdEJsWse6fc81Xyz0i2YX57pL4UubM3NJfw,228
58
58
  qcanvas/util/settings/_client_settings.py,sha256=HxGH9eOCdBj8wYboGhzNX0LFw_bmzF-Vwo44y1W0EqY,1036
59
- qcanvas/util/settings/_mapped_setting.py,sha256=1zQAfXxWB9yUtWCBObnOZl7EQ22bS-4u2yGGGSdhKJo,1792
59
+ qcanvas/util/settings/_mapped_setting.py,sha256=Z6635FfDll9cCLfSkVg-unsDLvUWuKT5MmxJEiUkd2k,1823
60
60
  qcanvas/util/settings/_ui_settings.py,sha256=tuzrIZ0H66pDA0hSlynuKXsk0w-MAPVU8qCxjdVjRAs,804
61
61
  qcanvas/util/themes.py,sha256=BE6lMf0lVE-0G_QYhK5emMdtKG4lUJw76HFX4go7R80,473
62
62
  qcanvas/util/ui_tools.py,sha256=bSM1xrmZPn847YEbXAC9VIAv--8hMLMWrsEMWGA5p3E,916
63
63
  qcanvas/util/url_checker.py,sha256=03jqnQ1_GOlCJyRHrlMbSQE9QsHrVNsg0kFsA8oKP60,361
64
- qcanvas-1.0.6a8.dist-info/METADATA,sha256=Jeyv9u6rbWDNN02YjetmmvYyABG2J6oAoWKx-AAzytM,1601
65
- qcanvas-1.0.6a8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
66
- qcanvas-1.0.6a8.dist-info/entry_points.txt,sha256=46VbnhQ9w2CYdfhYcPfWgjXYHjsKshu0asQ1B_sAMac,44
67
- qcanvas-1.0.6a8.dist-info/RECORD,,
64
+ qcanvas-1.0.6.post0.dist-info/METADATA,sha256=xzqnu0mFFIZ_qC9vI8b6EPjPz8YYXUtCAqNcaFKOpNg,1656
65
+ qcanvas-1.0.6.post0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
66
+ qcanvas-1.0.6.post0.dist-info/entry_points.txt,sha256=46VbnhQ9w2CYdfhYcPfWgjXYHjsKshu0asQ1B_sAMac,44
67
+ qcanvas-1.0.6.post0.dist-info/RECORD,,