winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider 2.1.0__tar.gz → 2.3.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_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/PKG-INFO +5 -5
  2. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0/all-requirements.txt +4 -0
  3. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/py.Windows.ApplicationModel.Appointments.AppointmentsProvider.cpp +217 -31
  4. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/pyproject.toml +3 -2
  5. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/requirements.txt +2 -2
  7. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/winrt/_winrt_windows_applicationmodel_appointments_appointmentsprovider.pyi +1 -1
  8. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/winrt/windows/applicationmodel/appointments/appointmentsprovider/__init__.py +1 -1
  9. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/PKG-INFO +5 -5
  10. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/requires.txt +5 -0
  11. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0/all-requirements.txt +0 -4
  12. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0/pywinrt-version.txt +0 -1
  13. winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/requires.txt +0 -5
  14. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/README.md +0 -0
  15. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/setup.cfg +0 -0
  16. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/setup.py +0 -0
  17. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/winrt/windows/applicationmodel/appointments/appointmentsprovider/py.typed +0 -0
  18. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_applicationmodel_appointments_appointmentsprovider-2.1.0 → winrt_windows_applicationmodel_appointments_appointmentsprovider-2.3.0}/winrt_Windows.ApplicationModel.Appointments.AppointmentsProvider.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider
3
- Version: 2.1.0
3
+ Version: 2.3.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,12 +10,12 @@ 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.1.0
15
+ Requires-Dist: winrt-runtime==2.3.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==2.3.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
19
19
 
20
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
21
21
 
@@ -0,0 +1,4 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
+
3
+ winrt-Windows.ApplicationModel.Appointments[all]==2.3.0
4
+ winrt-Windows.Foundation[all]==2.3.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  #include "py.Windows.ApplicationModel.Appointments.AppointmentsProvider.h"
4
4
 
@@ -29,7 +29,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
29
29
  {
30
30
  try
31
31
  {
32
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"DismissUI", 0))
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.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"DismissUI", 0);
37
+ }
38
+
39
+ if (!is_overload_present.value())
33
40
  {
34
41
  py::set_arg_count_version_error(0);
35
42
  return nullptr;
@@ -59,7 +66,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
59
66
  {
60
67
  try
61
68
  {
62
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportCanceled", 0))
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.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportCanceled", 0);
74
+ }
75
+
76
+ if (!is_overload_present.value())
63
77
  {
64
78
  py::set_arg_count_version_error(0);
65
79
  return nullptr;
@@ -89,7 +103,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
89
103
  {
90
104
  try
91
105
  {
92
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportCompleted", 1))
106
+ static std::optional<bool> is_overload_present{};
107
+
108
+ if (!is_overload_present.has_value())
109
+ {
110
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportCompleted", 1);
111
+ }
112
+
113
+ if (!is_overload_present.value())
93
114
  {
94
115
  py::set_arg_count_version_error(1);
95
116
  return nullptr;
@@ -121,7 +142,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
121
142
  {
122
143
  try
123
144
  {
124
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportError", 1))
145
+ static std::optional<bool> is_overload_present{};
146
+
147
+ if (!is_overload_present.has_value())
148
+ {
149
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"ReportError", 1);
150
+ }
151
+
152
+ if (!is_overload_present.value())
125
153
  {
126
154
  py::set_arg_count_version_error(1);
127
155
  return nullptr;
@@ -149,7 +177,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
149
177
  {
150
178
  try
151
179
  {
152
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"AppointmentInformation"))
180
+ static std::optional<bool> is_property_present{};
181
+
182
+ if (!is_property_present.has_value())
183
+ {
184
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"AppointmentInformation");
185
+ }
186
+
187
+ if (!is_property_present.value())
153
188
  {
154
189
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
155
190
  return nullptr;
@@ -168,7 +203,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
168
203
  {
169
204
  try
170
205
  {
171
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"SourcePackageFamilyName"))
206
+ static std::optional<bool> is_property_present{};
207
+
208
+ if (!is_property_present.has_value())
209
+ {
210
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation", L"SourcePackageFamilyName");
211
+ }
212
+
213
+ if (!is_property_present.value())
172
214
  {
173
215
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
174
216
  return nullptr;
@@ -251,7 +293,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
251
293
  {
252
294
  try
253
295
  {
254
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"AddAppointment"))
296
+ static std::optional<bool> is_property_present{};
297
+
298
+ if (!is_property_present.has_value())
299
+ {
300
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"AddAppointment");
301
+ }
302
+
303
+ if (!is_property_present.value())
255
304
  {
256
305
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
257
306
  return nullptr;
@@ -270,7 +319,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
270
319
  {
271
320
  try
272
321
  {
273
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"RemoveAppointment"))
322
+ static std::optional<bool> is_property_present{};
323
+
324
+ if (!is_property_present.has_value())
325
+ {
326
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"RemoveAppointment");
327
+ }
328
+
329
+ if (!is_property_present.value())
274
330
  {
275
331
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
276
332
  return nullptr;
@@ -289,7 +345,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
289
345
  {
290
346
  try
291
347
  {
292
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ReplaceAppointment"))
348
+ static std::optional<bool> is_property_present{};
349
+
350
+ if (!is_property_present.has_value())
351
+ {
352
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ReplaceAppointment");
353
+ }
354
+
355
+ if (!is_property_present.value())
293
356
  {
294
357
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
295
358
  return nullptr;
@@ -308,7 +371,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
308
371
  {
309
372
  try
310
373
  {
311
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ShowTimeFrame"))
374
+ static std::optional<bool> is_property_present{};
375
+
376
+ if (!is_property_present.has_value())
377
+ {
378
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ShowTimeFrame");
379
+ }
380
+
381
+ if (!is_property_present.value())
312
382
  {
313
383
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
314
384
  return nullptr;
@@ -327,7 +397,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
327
397
  {
328
398
  try
329
399
  {
330
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ShowAppointmentDetails"))
400
+ static std::optional<bool> is_property_present{};
401
+
402
+ if (!is_property_present.has_value())
403
+ {
404
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.AppointmentsProviderLaunchActionVerbs", L"ShowAppointmentDetails");
405
+ }
406
+
407
+ if (!is_property_present.value())
331
408
  {
332
409
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
333
410
  return nullptr;
@@ -419,7 +496,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
419
496
  {
420
497
  try
421
498
  {
422
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"DismissUI", 0))
499
+ static std::optional<bool> is_overload_present{};
500
+
501
+ if (!is_overload_present.has_value())
502
+ {
503
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"DismissUI", 0);
504
+ }
505
+
506
+ if (!is_overload_present.value())
423
507
  {
424
508
  py::set_arg_count_version_error(0);
425
509
  return nullptr;
@@ -449,7 +533,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
449
533
  {
450
534
  try
451
535
  {
452
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportCanceled", 0))
536
+ static std::optional<bool> is_overload_present{};
537
+
538
+ if (!is_overload_present.has_value())
539
+ {
540
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportCanceled", 0);
541
+ }
542
+
543
+ if (!is_overload_present.value())
453
544
  {
454
545
  py::set_arg_count_version_error(0);
455
546
  return nullptr;
@@ -479,7 +570,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
479
570
  {
480
571
  try
481
572
  {
482
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportCompleted", 0))
573
+ static std::optional<bool> is_overload_present{};
574
+
575
+ if (!is_overload_present.has_value())
576
+ {
577
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportCompleted", 0);
578
+ }
579
+
580
+ if (!is_overload_present.value())
483
581
  {
484
582
  py::set_arg_count_version_error(0);
485
583
  return nullptr;
@@ -509,7 +607,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
509
607
  {
510
608
  try
511
609
  {
512
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportError", 1))
610
+ static std::optional<bool> is_overload_present{};
611
+
612
+ if (!is_overload_present.has_value())
613
+ {
614
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"ReportError", 1);
615
+ }
616
+
617
+ if (!is_overload_present.value())
513
618
  {
514
619
  py::set_arg_count_version_error(1);
515
620
  return nullptr;
@@ -537,7 +642,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
537
642
  {
538
643
  try
539
644
  {
540
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"AppointmentId"))
645
+ static std::optional<bool> is_property_present{};
646
+
647
+ if (!is_property_present.has_value())
648
+ {
649
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"AppointmentId");
650
+ }
651
+
652
+ if (!is_property_present.value())
541
653
  {
542
654
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
543
655
  return nullptr;
@@ -556,7 +668,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
556
668
  {
557
669
  try
558
670
  {
559
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"InstanceStartDate"))
671
+ static std::optional<bool> is_property_present{};
672
+
673
+ if (!is_property_present.has_value())
674
+ {
675
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"InstanceStartDate");
676
+ }
677
+
678
+ if (!is_property_present.value())
560
679
  {
561
680
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
562
681
  return nullptr;
@@ -575,7 +694,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
575
694
  {
576
695
  try
577
696
  {
578
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"SourcePackageFamilyName"))
697
+ static std::optional<bool> is_property_present{};
698
+
699
+ if (!is_property_present.has_value())
700
+ {
701
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.RemoveAppointmentOperation", L"SourcePackageFamilyName");
702
+ }
703
+
704
+ if (!is_property_present.value())
579
705
  {
580
706
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
581
707
  return nullptr;
@@ -671,7 +797,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
671
797
  {
672
798
  try
673
799
  {
674
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"DismissUI", 0))
800
+ static std::optional<bool> is_overload_present{};
801
+
802
+ if (!is_overload_present.has_value())
803
+ {
804
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"DismissUI", 0);
805
+ }
806
+
807
+ if (!is_overload_present.value())
675
808
  {
676
809
  py::set_arg_count_version_error(0);
677
810
  return nullptr;
@@ -701,7 +834,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
701
834
  {
702
835
  try
703
836
  {
704
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportCanceled", 0))
837
+ static std::optional<bool> is_overload_present{};
838
+
839
+ if (!is_overload_present.has_value())
840
+ {
841
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportCanceled", 0);
842
+ }
843
+
844
+ if (!is_overload_present.value())
705
845
  {
706
846
  py::set_arg_count_version_error(0);
707
847
  return nullptr;
@@ -731,7 +871,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
731
871
  {
732
872
  try
733
873
  {
734
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportCompleted", 1))
874
+ static std::optional<bool> is_overload_present{};
875
+
876
+ if (!is_overload_present.has_value())
877
+ {
878
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportCompleted", 1);
879
+ }
880
+
881
+ if (!is_overload_present.value())
735
882
  {
736
883
  py::set_arg_count_version_error(1);
737
884
  return nullptr;
@@ -763,7 +910,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
763
910
  {
764
911
  try
765
912
  {
766
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportError", 1))
913
+ static std::optional<bool> is_overload_present{};
914
+
915
+ if (!is_overload_present.has_value())
916
+ {
917
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"ReportError", 1);
918
+ }
919
+
920
+ if (!is_overload_present.value())
767
921
  {
768
922
  py::set_arg_count_version_error(1);
769
923
  return nullptr;
@@ -791,7 +945,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
791
945
  {
792
946
  try
793
947
  {
794
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"AppointmentId"))
948
+ static std::optional<bool> is_property_present{};
949
+
950
+ if (!is_property_present.has_value())
951
+ {
952
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"AppointmentId");
953
+ }
954
+
955
+ if (!is_property_present.value())
795
956
  {
796
957
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
797
958
  return nullptr;
@@ -810,7 +971,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
810
971
  {
811
972
  try
812
973
  {
813
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"AppointmentInformation"))
974
+ static std::optional<bool> is_property_present{};
975
+
976
+ if (!is_property_present.has_value())
977
+ {
978
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"AppointmentInformation");
979
+ }
980
+
981
+ if (!is_property_present.value())
814
982
  {
815
983
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
816
984
  return nullptr;
@@ -829,7 +997,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
829
997
  {
830
998
  try
831
999
  {
832
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"InstanceStartDate"))
1000
+ static std::optional<bool> is_property_present{};
1001
+
1002
+ if (!is_property_present.has_value())
1003
+ {
1004
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"InstanceStartDate");
1005
+ }
1006
+
1007
+ if (!is_property_present.value())
833
1008
  {
834
1009
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
835
1010
  return nullptr;
@@ -848,7 +1023,14 @@ namespace py::cpp::Windows::ApplicationModel::Appointments::AppointmentsProvider
848
1023
  {
849
1024
  try
850
1025
  {
851
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"SourcePackageFamilyName"))
1026
+ static std::optional<bool> is_property_present{};
1027
+
1028
+ if (!is_property_present.has_value())
1029
+ {
1030
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Appointments.AppointmentsProvider.ReplaceAppointmentOperation", L"SourcePackageFamilyName");
1031
+ }
1032
+
1033
+ if (!is_property_present.value())
852
1034
  {
853
1035
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
854
1036
  return nullptr;
@@ -965,7 +1147,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appointments_appointmentsp
965
1147
  return nullptr;
966
1148
  }
967
1149
 
968
- if (py::register_python_type(module.get(), &type_spec_AddAppointmentOperation, object_bases.get(), nullptr) == -1)
1150
+ py::pytype_handle AddAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_AddAppointmentOperation, object_bases.get(), nullptr)};
1151
+ if (!AddAppointmentOperation_type)
969
1152
  {
970
1153
  return nullptr;
971
1154
  }
@@ -976,17 +1159,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_appointments_appointmentsp
976
1159
  return nullptr;
977
1160
  }
978
1161
 
979
- if (py::register_python_type(module.get(), &type_spec_AppointmentsProviderLaunchActionVerbs, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_AppointmentsProviderLaunchActionVerbs_Static.get())) == -1)
1162
+ py::pytype_handle AppointmentsProviderLaunchActionVerbs_type{py::register_python_type(module.get(), &type_spec_AppointmentsProviderLaunchActionVerbs, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_AppointmentsProviderLaunchActionVerbs_Static.get()))};
1163
+ if (!AppointmentsProviderLaunchActionVerbs_type)
980
1164
  {
981
1165
  return nullptr;
982
1166
  }
983
1167
 
984
- if (py::register_python_type(module.get(), &type_spec_RemoveAppointmentOperation, object_bases.get(), nullptr) == -1)
1168
+ py::pytype_handle RemoveAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_RemoveAppointmentOperation, object_bases.get(), nullptr)};
1169
+ if (!RemoveAppointmentOperation_type)
985
1170
  {
986
1171
  return nullptr;
987
1172
  }
988
1173
 
989
- if (py::register_python_type(module.get(), &type_spec_ReplaceAppointmentOperation, object_bases.get(), nullptr) == -1)
1174
+ py::pytype_handle ReplaceAppointmentOperation_type{py::register_python_type(module.get(), &type_spec_ReplaceAppointmentOperation, object_bases.get(), nullptr)};
1175
+ if (!ReplaceAppointmentOperation_type)
990
1176
  {
991
1177
  return nullptr;
992
1178
  }
@@ -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.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
- winrt-runtime==2.1.0
3
+ winrt-runtime==2.3.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  import winrt.system
4
4
  from winrt import _winrt_windows_applicationmodel_appointments_appointmentsprovider
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Appointments.AppointmentsProvider
3
- Version: 2.1.0
3
+ Version: 2.3.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,12 +10,12 @@ 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.1.0
15
+ Requires-Dist: winrt-runtime==2.3.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==2.3.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
19
19
 
20
20
  <!-- warning: Please don't edit this file. It was automatically generated. -->
21
21
 
@@ -0,0 +1,5 @@
1
+ winrt-runtime==2.3.0
2
+
3
+ [all]
4
+ winrt-Windows.ApplicationModel.Appointments[all]==2.3.0
5
+ winrt-Windows.Foundation[all]==2.3.0
@@ -1,4 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
-
3
- winrt-Windows.ApplicationModel.Appointments[all]==2.1.0
4
- winrt-Windows.Foundation[all]==2.1.0
@@ -1,5 +0,0 @@
1
- winrt-runtime==2.1.0
2
-
3
- [all]
4
- winrt-Windows.ApplicationModel.Appointments[all]==2.1.0
5
- winrt-Windows.Foundation[all]==2.1.0