winrt-Windows.System.Diagnostics.Telemetry 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 (18) hide show
  1. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/PKG-INFO +3 -3
  2. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/py.Windows.System.Diagnostics.Telemetry.cpp +122 -81
  3. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/pyproject.toml +3 -2
  4. winrt_windows_system_diagnostics_telemetry-2.2.0/pywinrt-version.txt +1 -0
  5. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/requirements.txt +2 -2
  6. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/winrt/_winrt_windows_system_diagnostics_telemetry.pyi +3 -4
  7. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/winrt/windows/system/diagnostics/telemetry/__init__.py +1 -1
  8. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/winrt_Windows.System.Diagnostics.Telemetry.egg-info/PKG-INFO +3 -3
  9. winrt_windows_system_diagnostics_telemetry-2.2.0/winrt_Windows.System.Diagnostics.Telemetry.egg-info/requires.txt +1 -0
  10. winrt_windows_system_diagnostics_telemetry-2.0.1/pywinrt-version.txt +0 -1
  11. winrt_windows_system_diagnostics_telemetry-2.0.1/winrt_Windows.System.Diagnostics.Telemetry.egg-info/requires.txt +0 -1
  12. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/README.md +0 -0
  13. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/setup.cfg +0 -0
  14. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/setup.py +0 -0
  15. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/winrt/windows/system/diagnostics/telemetry/py.typed +0 -0
  16. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/winrt_Windows.System.Diagnostics.Telemetry.egg-info/SOURCES.txt +0 -0
  17. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/winrt_Windows.System.Diagnostics.Telemetry.egg-info/dependency_links.txt +0 -0
  18. {winrt_windows_system_diagnostics_telemetry-2.0.1 → winrt_windows_system_diagnostics_telemetry-2.2.0}/winrt_Windows.System.Diagnostics.Telemetry.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.System.Diagnostics.Telemetry
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,9 +10,9 @@ 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
 
17
17
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
18
 
@@ -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.System.Diagnostics.Telemetry.h"
4
4
 
5
-
6
5
  namespace py::cpp::Windows::System::Diagnostics::Telemetry
7
6
  {
8
7
  // ----- PlatformTelemetryClient class --------------------
@@ -20,14 +19,21 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
20
19
 
21
20
  if (arg_count == 1)
22
21
  {
23
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryClient", L"Register", 1))
24
- {
25
- py::set_arg_count_version_error(1);
26
- return nullptr;
27
- }
28
-
29
22
  try
30
23
  {
24
+ static std::optional<bool> is_overload_present{};
25
+
26
+ if (!is_overload_present.has_value())
27
+ {
28
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryClient", L"Register", 1);
29
+ }
30
+
31
+ if (!is_overload_present.value())
32
+ {
33
+ py::set_arg_count_version_error(1);
34
+ return nullptr;
35
+ }
36
+
31
37
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
32
38
 
33
39
  return py::convert(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryClient::Register(param0));
@@ -40,14 +46,21 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
40
46
  }
41
47
  else if (arg_count == 2)
42
48
  {
43
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryClient", L"Register", 2))
44
- {
45
- py::set_arg_count_version_error(2);
46
- return nullptr;
47
- }
48
-
49
49
  try
50
50
  {
51
+ static std::optional<bool> is_overload_present{};
52
+
53
+ if (!is_overload_present.has_value())
54
+ {
55
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryClient", L"Register", 2);
56
+ }
57
+
58
+ if (!is_overload_present.value())
59
+ {
60
+ py::set_arg_count_version_error(2);
61
+ return nullptr;
62
+ }
63
+
51
64
  auto param0 = py::convert_to<winrt::hstring>(args, 0);
52
65
  auto param1 = py::convert_to<winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings>(args, 1);
53
66
 
@@ -74,22 +87,19 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
74
87
  { }
75
88
  };
76
89
 
77
- static PyType_Slot _type_slots_PlatformTelemetryClient[] =
78
- {
90
+ static PyType_Slot _type_slots_PlatformTelemetryClient[] = {
79
91
  { Py_tp_new, reinterpret_cast<void*>(_new_PlatformTelemetryClient) },
80
92
  { Py_tp_methods, reinterpret_cast<void*>(_methods_PlatformTelemetryClient) },
81
93
  { Py_tp_getset, reinterpret_cast<void*>(_getset_PlatformTelemetryClient) },
82
- { },
94
+ { }
83
95
  };
84
96
 
85
- static PyType_Spec type_spec_PlatformTelemetryClient =
86
- {
97
+ static PyType_Spec type_spec_PlatformTelemetryClient = {
87
98
  "winrt._winrt_windows_system_diagnostics_telemetry.PlatformTelemetryClient",
88
99
  0,
89
100
  0,
90
101
  Py_TPFLAGS_DEFAULT,
91
- _type_slots_PlatformTelemetryClient
92
- };
102
+ _type_slots_PlatformTelemetryClient};
93
103
 
94
104
  static PyGetSetDef getset_PlatformTelemetryClient_Static[] = {
95
105
  { }
@@ -136,14 +146,21 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
136
146
 
137
147
  static PyObject* PlatformTelemetryRegistrationResult_get_Status(py::wrapper::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult* self, void* /*unused*/) noexcept
138
148
  {
139
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationResult", L"Status"))
140
- {
141
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
142
- return nullptr;
143
- }
144
-
145
149
  try
146
150
  {
151
+ static std::optional<bool> is_property_present{};
152
+
153
+ if (!is_property_present.has_value())
154
+ {
155
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationResult", L"Status");
156
+ }
157
+
158
+ if (!is_property_present.value())
159
+ {
160
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
161
+ return nullptr;
162
+ }
163
+
147
164
  return py::convert(self->obj.Status());
148
165
  }
149
166
  catch (...)
@@ -188,23 +205,20 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
188
205
  { }
189
206
  };
190
207
 
191
- static PyType_Slot _type_slots_PlatformTelemetryRegistrationResult[] =
192
- {
208
+ static PyType_Slot _type_slots_PlatformTelemetryRegistrationResult[] = {
193
209
  { Py_tp_new, reinterpret_cast<void*>(_new_PlatformTelemetryRegistrationResult) },
194
210
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PlatformTelemetryRegistrationResult) },
195
211
  { Py_tp_methods, reinterpret_cast<void*>(_methods_PlatformTelemetryRegistrationResult) },
196
212
  { Py_tp_getset, reinterpret_cast<void*>(_getset_PlatformTelemetryRegistrationResult) },
197
- { },
213
+ { }
198
214
  };
199
215
 
200
- static PyType_Spec type_spec_PlatformTelemetryRegistrationResult =
201
- {
216
+ static PyType_Spec type_spec_PlatformTelemetryRegistrationResult = {
202
217
  "winrt._winrt_windows_system_diagnostics_telemetry.PlatformTelemetryRegistrationResult",
203
218
  sizeof(py::wrapper::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult),
204
219
  0,
205
220
  Py_TPFLAGS_DEFAULT,
206
- _type_slots_PlatformTelemetryRegistrationResult
207
- };
221
+ _type_slots_PlatformTelemetryRegistrationResult};
208
222
 
209
223
  // ----- PlatformTelemetryRegistrationSettings class --------------------
210
224
 
@@ -221,7 +235,7 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
221
235
  {
222
236
  try
223
237
  {
224
- winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings instance{ };
238
+ winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings instance{};
225
239
  return py::wrap(instance, type);
226
240
  }
227
241
  catch (...)
@@ -247,14 +261,21 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
247
261
 
248
262
  static PyObject* PlatformTelemetryRegistrationSettings_get_UploadQuotaSize(py::wrapper::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings* self, void* /*unused*/) noexcept
249
263
  {
250
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"UploadQuotaSize"))
251
- {
252
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
253
- return nullptr;
254
- }
255
-
256
264
  try
257
265
  {
266
+ static std::optional<bool> is_property_present{};
267
+
268
+ if (!is_property_present.has_value())
269
+ {
270
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"UploadQuotaSize");
271
+ }
272
+
273
+ if (!is_property_present.value())
274
+ {
275
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
276
+ return nullptr;
277
+ }
278
+
258
279
  return py::convert(self->obj.UploadQuotaSize());
259
280
  }
260
281
  catch (...)
@@ -266,12 +287,6 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
266
287
 
267
288
  static int PlatformTelemetryRegistrationSettings_put_UploadQuotaSize(py::wrapper::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings* self, PyObject* arg, void* /*unused*/) noexcept
268
289
  {
269
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"UploadQuotaSize"))
270
- {
271
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
272
- return -1;
273
- }
274
-
275
290
  if (arg == nullptr)
276
291
  {
277
292
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -280,6 +295,19 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
280
295
 
281
296
  try
282
297
  {
298
+ static std::optional<bool> is_property_present{};
299
+
300
+ if (!is_property_present.has_value())
301
+ {
302
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"UploadQuotaSize");
303
+ }
304
+
305
+ if (!is_property_present.value())
306
+ {
307
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
308
+ return -1;
309
+ }
310
+
283
311
  auto param0 = py::convert_to<uint32_t>(arg);
284
312
 
285
313
  self->obj.UploadQuotaSize(param0);
@@ -294,14 +322,21 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
294
322
 
295
323
  static PyObject* PlatformTelemetryRegistrationSettings_get_StorageSize(py::wrapper::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings* self, void* /*unused*/) noexcept
296
324
  {
297
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"StorageSize"))
298
- {
299
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
300
- return nullptr;
301
- }
302
-
303
325
  try
304
326
  {
327
+ static std::optional<bool> is_property_present{};
328
+
329
+ if (!is_property_present.has_value())
330
+ {
331
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"StorageSize");
332
+ }
333
+
334
+ if (!is_property_present.value())
335
+ {
336
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
337
+ return nullptr;
338
+ }
339
+
305
340
  return py::convert(self->obj.StorageSize());
306
341
  }
307
342
  catch (...)
@@ -313,12 +348,6 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
313
348
 
314
349
  static int PlatformTelemetryRegistrationSettings_put_StorageSize(py::wrapper::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings* self, PyObject* arg, void* /*unused*/) noexcept
315
350
  {
316
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"StorageSize"))
317
- {
318
- PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
319
- return -1;
320
- }
321
-
322
351
  if (arg == nullptr)
323
352
  {
324
353
  PyErr_SetString(PyExc_AttributeError, "can't delete attribute");
@@ -327,6 +356,19 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
327
356
 
328
357
  try
329
358
  {
359
+ static std::optional<bool> is_property_present{};
360
+
361
+ if (!is_property_present.has_value())
362
+ {
363
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"StorageSize");
364
+ }
365
+
366
+ if (!is_property_present.value())
367
+ {
368
+ PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
369
+ return -1;
370
+ }
371
+
330
372
  auto param0 = py::convert_to<uint32_t>(arg);
331
373
 
332
374
  self->obj.StorageSize(param0);
@@ -375,39 +417,35 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
375
417
  { }
376
418
  };
377
419
 
378
- static PyType_Slot _type_slots_PlatformTelemetryRegistrationSettings[] =
379
- {
420
+ static PyType_Slot _type_slots_PlatformTelemetryRegistrationSettings[] = {
380
421
  { Py_tp_new, reinterpret_cast<void*>(_new_PlatformTelemetryRegistrationSettings) },
381
422
  { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PlatformTelemetryRegistrationSettings) },
382
423
  { Py_tp_methods, reinterpret_cast<void*>(_methods_PlatformTelemetryRegistrationSettings) },
383
424
  { Py_tp_getset, reinterpret_cast<void*>(_getset_PlatformTelemetryRegistrationSettings) },
384
- { },
425
+ { }
385
426
  };
386
427
 
387
- static PyType_Spec type_spec_PlatformTelemetryRegistrationSettings =
388
- {
428
+ static PyType_Spec type_spec_PlatformTelemetryRegistrationSettings = {
389
429
  "winrt._winrt_windows_system_diagnostics_telemetry.PlatformTelemetryRegistrationSettings",
390
430
  sizeof(py::wrapper::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings),
391
431
  0,
392
432
  Py_TPFLAGS_DEFAULT,
393
- _type_slots_PlatformTelemetryRegistrationSettings
394
- };
433
+ _type_slots_PlatformTelemetryRegistrationSettings};
395
434
 
396
435
  // ----- Windows.System.Diagnostics.Telemetry Initialization --------------------
397
- PyDoc_STRVAR(module_doc, "Windows::System::Diagnostics::Telemetry");
398
436
 
437
+ PyDoc_STRVAR(module_doc, "Windows.System.Diagnostics.Telemetry");
399
438
 
400
- static PyModuleDef module_def
401
- = {PyModuleDef_HEAD_INIT,
402
- "_winrt_windows_system_diagnostics_telemetry",
403
- module_doc,
404
- 0,
405
- nullptr,
406
- nullptr,
407
- nullptr,
408
- nullptr,
409
- nullptr};
410
-
439
+ static PyModuleDef module_def = {
440
+ PyModuleDef_HEAD_INIT,
441
+ "_winrt_windows_system_diagnostics_telemetry",
442
+ module_doc,
443
+ 0,
444
+ nullptr,
445
+ nullptr,
446
+ nullptr,
447
+ nullptr,
448
+ nullptr};
411
449
  } // py::cpp::Windows::System::Diagnostics::Telemetry
412
450
 
413
451
  PyMODINIT_FUNC PyInit__winrt_windows_system_diagnostics_telemetry(void) noexcept
@@ -445,17 +483,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_diagnostics_telemetry(void) noexcept
445
483
  return nullptr;
446
484
  }
447
485
 
448
- if (py::register_python_type(module.get(), &type_spec_PlatformTelemetryClient, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PlatformTelemetryClient_Static.get())) == -1)
486
+ py::pytype_handle PlatformTelemetryClient_type{py::register_python_type(module.get(), &type_spec_PlatformTelemetryClient, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PlatformTelemetryClient_Static.get()))};
487
+ if (!PlatformTelemetryClient_type)
449
488
  {
450
489
  return nullptr;
451
490
  }
452
491
 
453
- if (py::register_python_type(module.get(), &type_spec_PlatformTelemetryRegistrationResult, object_bases.get(), nullptr) == -1)
492
+ py::pytype_handle PlatformTelemetryRegistrationResult_type{py::register_python_type(module.get(), &type_spec_PlatformTelemetryRegistrationResult, object_bases.get(), nullptr)};
493
+ if (!PlatformTelemetryRegistrationResult_type)
454
494
  {
455
495
  return nullptr;
456
496
  }
457
497
 
458
- if (py::register_python_type(module.get(), &type_spec_PlatformTelemetryRegistrationSettings, object_bases.get(), nullptr) == -1)
498
+ py::pytype_handle PlatformTelemetryRegistrationSettings_type{py::register_python_type(module.get(), &type_spec_PlatformTelemetryRegistrationSettings, object_bases.get(), nullptr)};
499
+ if (!PlatformTelemetryRegistrationSettings_type)
459
500
  {
460
501
  return nullptr;
461
502
  }
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  ]
18
18
  dynamic = ["version", "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"
@@ -35,7 +35,8 @@ dependencies = { file = "requirements.txt" }
35
35
  # use local winrt-sdk build dependency
36
36
  environment = { PYTHONPATH="../winrt-sdk/src" }
37
37
  # don't install winrt-sdk from PyPI
38
- build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
38
+ build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
39
+ before-build = "uv pip install setuptools"
39
40
  # don't build for PyPy
40
41
  skip = "pp*"
41
42
  # 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
@@ -23,8 +23,7 @@ class PlatformTelemetryClient_Static(type):
23
23
 
24
24
  @typing.final
25
25
  class PlatformTelemetryClient(winrt.system.Object, metaclass=PlatformTelemetryClient_Static):
26
- @staticmethod
27
- def _from(obj: winrt.system.Object, /) -> PlatformTelemetryClient: ...
26
+ pass
28
27
 
29
28
  @typing.final
30
29
  class PlatformTelemetryRegistrationResult(winrt.system.Object):
@@ -37,7 +36,7 @@ class PlatformTelemetryRegistrationResult(winrt.system.Object):
37
36
  class PlatformTelemetryRegistrationSettings(winrt.system.Object):
38
37
  @staticmethod
39
38
  def _from(obj: winrt.system.Object, /) -> PlatformTelemetryRegistrationSettings: ...
40
- def __new__(cls: typing.Type[PlatformTelemetryRegistrationSettings]) -> PlatformTelemetryRegistrationSettings:...
39
+ def __new__(cls: typing.Type[PlatformTelemetryRegistrationSettings]) -> PlatformTelemetryRegistrationSettings: ...
41
40
  @_property
42
41
  def upload_quota_size(self) -> winrt.system.UInt32: ...
43
42
  @upload_quota_size.setter
@@ -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.System.Diagnostics.Telemetry
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,9 +10,9 @@ 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
 
17
17
  <!-- warning: Please don't edit this file. It was automatically generated. -->
18
18