winrt-Windows.UI.Notifications.Management 2.0.1__tar.gz → 2.2.0__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 (20) hide show
  1. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/PKG-INFO +6 -6
  2. winrt_windows_ui_notifications_management-2.2.0/all-requirements.txt +5 -0
  3. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/py.Windows.UI.Notifications.Management.cpp +135 -76
  4. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/pyproject.toml +3 -2
  5. winrt_windows_ui_notifications_management-2.2.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/requirements.txt +2 -2
  7. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/winrt/_winrt_windows_ui_notifications_management.pyi +9 -9
  8. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/winrt/windows/ui/notifications/management/__init__.py +1 -1
  9. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/winrt_Windows.UI.Notifications.Management.egg-info/PKG-INFO +6 -6
  10. winrt_windows_ui_notifications_management-2.2.0/winrt_Windows.UI.Notifications.Management.egg-info/requires.txt +6 -0
  11. winrt_windows_ui_notifications_management-2.0.1/all-requirements.txt +0 -5
  12. winrt_windows_ui_notifications_management-2.0.1/pywinrt-version.txt +0 -1
  13. winrt_windows_ui_notifications_management-2.0.1/winrt_Windows.UI.Notifications.Management.egg-info/requires.txt +0 -6
  14. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/README.md +0 -0
  15. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/setup.cfg +0 -0
  16. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/setup.py +0 -0
  17. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/winrt/windows/ui/notifications/management/py.typed +0 -0
  18. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/winrt_Windows.UI.Notifications.Management.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/winrt_Windows.UI.Notifications.Management.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_ui_notifications_management-2.0.1 → winrt_windows_ui_notifications_management-2.2.0}/winrt_Windows.UI.Notifications.Management.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Notifications.Management
3
- Version: 2.0.1
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,13 +10,13 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.UI.Notifications[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.UI.Notifications[all]==2.2.0; extra == "all"
20
20
 
21
21
  <!-- warning: Please don't edit this file. It was automatically generated. -->
22
22
 
@@ -0,0 +1,5 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ winrt-Windows.Foundation[all]==2.2.0
4
+ winrt-Windows.Foundation.Collections[all]==2.2.0
5
+ winrt-Windows.UI.Notifications[all]==2.2.0
@@ -1,8 +1,7 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  #include "py.Windows.UI.Notifications.Management.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::UI::Notifications::Management
7
6
  {
8
7
  // ----- UserNotificationListener class --------------------
@@ -28,14 +27,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
28
27
 
29
28
  if (arg_count == 0)
30
29
  {
31
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"ClearNotifications", 0))
32
- {
33
- py::set_arg_count_version_error(0);
34
- return nullptr;
35
- }
36
-
37
30
  try
38
31
  {
32
+ static std::optional<bool> is_overload_present{};
33
+
34
+ if (!is_overload_present.has_value())
35
+ {
36
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"ClearNotifications", 0);
37
+ }
38
+
39
+ if (!is_overload_present.value())
40
+ {
41
+ py::set_arg_count_version_error(0);
42
+ return nullptr;
43
+ }
44
+
39
45
  self->obj.ClearNotifications();
40
46
  Py_RETURN_NONE;
41
47
  }
@@ -58,14 +64,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
58
64
 
59
65
  if (arg_count == 0)
60
66
  {
61
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"GetAccessStatus", 0))
62
- {
63
- py::set_arg_count_version_error(0);
64
- return nullptr;
65
- }
66
-
67
67
  try
68
68
  {
69
+ static std::optional<bool> is_overload_present{};
70
+
71
+ if (!is_overload_present.has_value())
72
+ {
73
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"GetAccessStatus", 0);
74
+ }
75
+
76
+ if (!is_overload_present.value())
77
+ {
78
+ py::set_arg_count_version_error(0);
79
+ return nullptr;
80
+ }
81
+
69
82
  return py::convert(self->obj.GetAccessStatus());
70
83
  }
71
84
  catch (...)
@@ -87,14 +100,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
87
100
 
88
101
  if (arg_count == 1)
89
102
  {
90
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"GetNotification", 1))
91
- {
92
- py::set_arg_count_version_error(1);
93
- return nullptr;
94
- }
95
-
96
103
  try
97
104
  {
105
+ static std::optional<bool> is_overload_present{};
106
+
107
+ if (!is_overload_present.has_value())
108
+ {
109
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"GetNotification", 1);
110
+ }
111
+
112
+ if (!is_overload_present.value())
113
+ {
114
+ py::set_arg_count_version_error(1);
115
+ return nullptr;
116
+ }
117
+
98
118
  auto param0 = py::convert_to<uint32_t>(args, 0);
99
119
 
100
120
  return py::convert(self->obj.GetNotification(param0));
@@ -118,14 +138,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
118
138
 
119
139
  if (arg_count == 1)
120
140
  {
121
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"GetNotificationsAsync", 1))
122
- {
123
- py::set_arg_count_version_error(1);
124
- return nullptr;
125
- }
126
-
127
141
  try
128
142
  {
143
+ static std::optional<bool> is_overload_present{};
144
+
145
+ if (!is_overload_present.has_value())
146
+ {
147
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"GetNotificationsAsync", 1);
148
+ }
149
+
150
+ if (!is_overload_present.value())
151
+ {
152
+ py::set_arg_count_version_error(1);
153
+ return nullptr;
154
+ }
155
+
129
156
  auto param0 = py::convert_to<winrt::Windows::UI::Notifications::NotificationKinds>(args, 0);
130
157
 
131
158
  return py::convert(self->obj.GetNotificationsAsync(param0));
@@ -149,14 +176,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
149
176
 
150
177
  if (arg_count == 1)
151
178
  {
152
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"RemoveNotification", 1))
153
- {
154
- py::set_arg_count_version_error(1);
155
- return nullptr;
156
- }
157
-
158
179
  try
159
180
  {
181
+ static std::optional<bool> is_overload_present{};
182
+
183
+ if (!is_overload_present.has_value())
184
+ {
185
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"RemoveNotification", 1);
186
+ }
187
+
188
+ if (!is_overload_present.value())
189
+ {
190
+ py::set_arg_count_version_error(1);
191
+ return nullptr;
192
+ }
193
+
160
194
  auto param0 = py::convert_to<uint32_t>(args, 0);
161
195
 
162
196
  self->obj.RemoveNotification(param0);
@@ -181,14 +215,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
181
215
 
182
216
  if (arg_count == 0)
183
217
  {
184
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"RequestAccessAsync", 0))
185
- {
186
- py::set_arg_count_version_error(0);
187
- return nullptr;
188
- }
189
-
190
218
  try
191
219
  {
220
+ static std::optional<bool> is_overload_present{};
221
+
222
+ if (!is_overload_present.has_value())
223
+ {
224
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"RequestAccessAsync", 0);
225
+ }
226
+
227
+ if (!is_overload_present.value())
228
+ {
229
+ py::set_arg_count_version_error(0);
230
+ return nullptr;
231
+ }
232
+
192
233
  return py::convert(self->obj.RequestAccessAsync());
193
234
  }
194
235
  catch (...)
@@ -206,14 +247,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
206
247
 
207
248
  static PyObject* UserNotificationListener_get_Current(PyObject* /*unused*/, void* /*unused*/) noexcept
208
249
  {
209
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"Current"))
210
- {
211
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
212
- return nullptr;
213
- }
214
-
215
250
  try
216
251
  {
252
+ static std::optional<bool> is_property_present{};
253
+
254
+ if (!is_property_present.has_value())
255
+ {
256
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"Current");
257
+ }
258
+
259
+ if (!is_property_present.value())
260
+ {
261
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
262
+ return nullptr;
263
+ }
264
+
217
265
  return py::convert(winrt::Windows::UI::Notifications::Management::UserNotificationListener::Current());
218
266
  }
219
267
  catch (...)
@@ -225,14 +273,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
225
273
 
226
274
  static PyObject* UserNotificationListener_add_NotificationChanged(py::wrapper::Windows::UI::Notifications::Management::UserNotificationListener* self, PyObject* arg) noexcept
227
275
  {
228
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"NotificationChanged"))
229
- {
230
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
231
- return nullptr;
232
- }
233
-
234
276
  try
235
277
  {
278
+ static std::optional<bool> is_event_present{};
279
+
280
+ if (!is_event_present.has_value())
281
+ {
282
+ is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"NotificationChanged");
283
+ }
284
+
285
+ if (!is_event_present.value())
286
+ {
287
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
288
+ return nullptr;
289
+ }
290
+
236
291
  auto param0 = py::convert_to<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs>>(arg);
237
292
 
238
293
  return py::convert(self->obj.NotificationChanged(param0));
@@ -246,14 +301,21 @@ namespace py::cpp::Windows::UI::Notifications::Management
246
301
 
247
302
  static PyObject* UserNotificationListener_remove_NotificationChanged(py::wrapper::Windows::UI::Notifications::Management::UserNotificationListener* self, PyObject* arg) noexcept
248
303
  {
249
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"NotificationChanged"))
250
- {
251
- PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
252
- return nullptr;
253
- }
254
-
255
304
  try
256
305
  {
306
+ static std::optional<bool> is_event_present{};
307
+
308
+ if (!is_event_present.has_value())
309
+ {
310
+ is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.UI.Notifications.Management.UserNotificationListener", L"NotificationChanged");
311
+ }
312
+
313
+ if (!is_event_present.value())
314
+ {
315
+ PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
316
+ return nullptr;
317
+ }
318
+
257
319
  auto param0 = py::convert_to<winrt::event_token>(arg);
258
320
 
259
321
  self->obj.NotificationChanged(param0);
@@ -308,23 +370,20 @@ namespace py::cpp::Windows::UI::Notifications::Management
308
370
  { }
309
371
  };
310
372
 
311
- static PyType_Slot _type_slots_UserNotificationListener[] =
312
- {
373
+ static PyType_Slot _type_slots_UserNotificationListener[] = {
313
374
  { Py_tp_new, reinterpret_cast<void*>(_new_UserNotificationListener) },
314
375
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_UserNotificationListener) },
315
376
  { Py_tp_methods, reinterpret_cast<void*>(_methods_UserNotificationListener) },
316
377
  { Py_tp_getset, reinterpret_cast<void*>(_getset_UserNotificationListener) },
317
- { },
378
+ { }
318
379
  };
319
380
 
320
- static PyType_Spec type_spec_UserNotificationListener =
321
- {
381
+ static PyType_Spec type_spec_UserNotificationListener = {
322
382
  "winrt._winrt_windows_ui_notifications_management.UserNotificationListener",
323
383
  sizeof(py::wrapper::Windows::UI::Notifications::Management::UserNotificationListener),
324
384
  0,
325
385
  Py_TPFLAGS_DEFAULT,
326
- _type_slots_UserNotificationListener
327
- };
386
+ _type_slots_UserNotificationListener};
328
387
 
329
388
  static PyGetSetDef getset_UserNotificationListener_Static[] = {
330
389
  { "current", reinterpret_cast<getter>(UserNotificationListener_get_Current), nullptr, nullptr, nullptr },
@@ -353,20 +412,19 @@ namespace py::cpp::Windows::UI::Notifications::Management
353
412
  };
354
413
 
355
414
  // ----- Windows.UI.Notifications.Management Initialization --------------------
356
- PyDoc_STRVAR(module_doc, "Windows::UI::Notifications::Management");
357
415
 
416
+ PyDoc_STRVAR(module_doc, "Windows.UI.Notifications.Management");
358
417
 
359
- static PyModuleDef module_def
360
- = {PyModuleDef_HEAD_INIT,
361
- "_winrt_windows_ui_notifications_management",
362
- module_doc,
363
- 0,
364
- nullptr,
365
- nullptr,
366
- nullptr,
367
- nullptr,
368
- nullptr};
369
-
418
+ static PyModuleDef module_def = {
419
+ PyModuleDef_HEAD_INIT,
420
+ "_winrt_windows_ui_notifications_management",
421
+ module_doc,
422
+ 0,
423
+ nullptr,
424
+ nullptr,
425
+ nullptr,
426
+ nullptr,
427
+ nullptr};
370
428
  } // py::cpp::Windows::UI::Notifications::Management
371
429
 
372
430
  PyMODINIT_FUNC PyInit__winrt_windows_ui_notifications_management(void) noexcept
@@ -404,7 +462,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_notifications_management(void) noexcept
404
462
  return nullptr;
405
463
  }
406
464
 
407
- if (py::register_python_type(module.get(), &type_spec_UserNotificationListener, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserNotificationListener_Static.get())) == -1)
465
+ py::pytype_handle UserNotificationListener_type{py::register_python_type(module.get(), &type_spec_UserNotificationListener, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserNotificationListener_Static.get()))};
466
+ if (!UserNotificationListener_type)
408
467
  {
409
468
  return nullptr;
410
469
  }
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  ]
18
18
  dynamic = ["version", "dependencies", "optional-dependencies"]
19
- requires-python = ">=3.9,<3.13"
19
+ requires-python = ">=3.9,<3.14"
20
20
 
21
21
  [project.urls]
22
22
  # Homepage = "https://github.com/pywinrt/pywinrt"
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
36
36
  # use local winrt-sdk build dependency
37
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
38
38
  # don't install winrt-sdk from PyPI
39
- build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
39
+ build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
40
+ before-build = "uv pip install setuptools"
40
41
  # don't build for PyPy
41
42
  skip = "pp*"
42
43
  # suppress warnings about ARM64 testing
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
- winrt-runtime==2.0.1
3
+ winrt-runtime==2.2.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -9,9 +9,9 @@ from builtins import property as _property
9
9
 
10
10
  import winrt._winrt
11
11
  import winrt.system
12
- import winrt.windows.foundation
13
- import winrt.windows.foundation.collections
14
- import winrt.windows.ui.notifications
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.ui.notifications as windows_ui_notifications
15
15
 
16
16
  from winrt.windows.ui.notifications.management import UserNotificationListenerAccessStatus
17
17
 
@@ -28,10 +28,10 @@ class UserNotificationListener(winrt.system.Object, metaclass=UserNotificationLi
28
28
  def _from(obj: winrt.system.Object, /) -> UserNotificationListener: ...
29
29
  def clear_notifications(self) -> None: ...
30
30
  def get_access_status(self) -> UserNotificationListenerAccessStatus: ...
31
- def get_notification(self, notification_id: winrt.system.UInt32, /) -> typing.Optional[winrt.windows.ui.notifications.UserNotification]: ...
32
- def get_notifications_async(self, kinds: winrt.windows.ui.notifications.NotificationKinds, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.ui.notifications.UserNotification]]: ...
31
+ def get_notification(self, notification_id: winrt.system.UInt32, /) -> typing.Optional[windows_ui_notifications.UserNotification]: ...
32
+ def get_notifications_async(self, kinds: windows_ui_notifications.NotificationKinds, /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[windows_ui_notifications.UserNotification]]: ...
33
33
  def remove_notification(self, notification_id: winrt.system.UInt32, /) -> None: ...
34
- def request_access_async(self) -> winrt.windows.foundation.IAsyncOperation[UserNotificationListenerAccessStatus]: ...
35
- def add_notification_changed(self, handler: winrt.windows.foundation.TypedEventHandler[UserNotificationListener, winrt.windows.ui.notifications.UserNotificationChangedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
36
- def remove_notification_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
34
+ def request_access_async(self) -> windows_foundation.IAsyncOperation[UserNotificationListenerAccessStatus]: ...
35
+ def add_notification_changed(self, handler: windows_foundation.TypedEventHandler[UserNotificationListener, windows_ui_notifications.UserNotificationChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
36
+ def remove_notification_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
37
37
 
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Notifications.Management
3
- Version: 2.0.1
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,13 +10,13 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.0.1
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
- Requires-Dist: winrt-Windows.UI.Notifications[all]==2.0.1; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.UI.Notifications[all]==2.2.0; extra == "all"
20
20
 
21
21
  <!-- warning: Please don't edit this file. It was automatically generated. -->
22
22
 
@@ -0,0 +1,6 @@
1
+ winrt-runtime==2.2.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.2.0
5
+ winrt-Windows.Foundation.Collections[all]==2.2.0
6
+ winrt-Windows.UI.Notifications[all]==2.2.0
@@ -1,5 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.1
4
- winrt-Windows.Foundation.Collections[all]==2.0.1
5
- winrt-Windows.UI.Notifications[all]==2.0.1
@@ -1,6 +0,0 @@
1
- winrt-runtime==2.0.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.1
6
- winrt-Windows.UI.Notifications[all]==2.0.1