winrt-Windows.ApplicationModel.PackageExtensions 3.2.0__tar.gz → 4!10.0.28000.2705__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 (23) hide show
  1. winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705/.gitignore +5 -0
  2. winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705/LICENSE +22 -0
  3. winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705/PKG-INFO +48 -0
  4. winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705/README.md +17 -0
  5. winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705/pyproject.toml +60 -0
  6. {winrt_windows_applicationmodel_packageextensions-3.2.0 → winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705}/winrt/windows/applicationmodel/packageextensions/__init__.py +4 -10
  7. winrt_windows_applicationmodel_packageextensions-3.2.0/winrt/_winrt_windows_applicationmodel_packageextensions.pyi → winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705/winrt/windows/applicationmodel/packageextensions/__init__.pyi +35 -17
  8. winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705/winrt/windows/applicationmodel/packageextensions/_table.pywinrt.txt +505 -0
  9. winrt_windows_applicationmodel_packageextensions-3.2.0/PKG-INFO +0 -28
  10. winrt_windows_applicationmodel_packageextensions-3.2.0/README.md +0 -7
  11. winrt_windows_applicationmodel_packageextensions-3.2.0/all-requirements.txt +0 -6
  12. winrt_windows_applicationmodel_packageextensions-3.2.0/py.Windows.ApplicationModel.PackageExtensions.cpp +0 -1780
  13. winrt_windows_applicationmodel_packageextensions-3.2.0/pyproject.toml +0 -47
  14. winrt_windows_applicationmodel_packageextensions-3.2.0/pywinrt-version.txt +0 -1
  15. winrt_windows_applicationmodel_packageextensions-3.2.0/requirements.txt +0 -3
  16. winrt_windows_applicationmodel_packageextensions-3.2.0/setup.cfg +0 -4
  17. winrt_windows_applicationmodel_packageextensions-3.2.0/setup.py +0 -33
  18. winrt_windows_applicationmodel_packageextensions-3.2.0/winrt_Windows.ApplicationModel.PackageExtensions.egg-info/PKG-INFO +0 -28
  19. winrt_windows_applicationmodel_packageextensions-3.2.0/winrt_Windows.ApplicationModel.PackageExtensions.egg-info/SOURCES.txt +0 -15
  20. winrt_windows_applicationmodel_packageextensions-3.2.0/winrt_Windows.ApplicationModel.PackageExtensions.egg-info/dependency_links.txt +0 -1
  21. winrt_windows_applicationmodel_packageextensions-3.2.0/winrt_Windows.ApplicationModel.PackageExtensions.egg-info/requires.txt +0 -7
  22. winrt_windows_applicationmodel_packageextensions-3.2.0/winrt_Windows.ApplicationModel.PackageExtensions.egg-info/top_level.txt +0 -1
  23. {winrt_windows_applicationmodel_packageextensions-3.2.0 → winrt_windows_applicationmodel_packageextensions-4!10.0.28000.2705}/winrt/windows/applicationmodel/packageextensions/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ *.egg-info
2
+ *.tar.gz
3
+ *.whl
4
+ build/
5
+ dist/
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.PackageExtensions
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.PackageExtensions namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-applicationmodel[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Description-Content-Type: text/markdown
31
+
32
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
33
+
34
+ # winrt-Windows.ApplicationModel.PackageExtensions
35
+
36
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.PackageExtensions` namespace.
37
+
38
+ This package provides the `winrt.windows.applicationmodel.packageextensions` module.
39
+
40
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
41
+ `Microsoft.Windows.SDK.CPP` NuGet package.
42
+
43
+ ```
44
+ pip install winrt-Windows.ApplicationModel.PackageExtensions
45
+ ```
46
+
47
+ Other WinRT namespaces are packages of their own, so install the package of
48
+ each namespace your code imports from.
@@ -0,0 +1,17 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.ApplicationModel.PackageExtensions
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.PackageExtensions` namespace.
6
+
7
+ This package provides the `winrt.windows.applicationmodel.packageextensions` module.
8
+
9
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
10
+ `Microsoft.Windows.SDK.CPP` NuGet package.
11
+
12
+ ```
13
+ pip install winrt-Windows.ApplicationModel.PackageExtensions
14
+ ```
15
+
16
+ Other WinRT namespaces are packages of their own, so install the package of
17
+ each namespace your code imports from.
@@ -0,0 +1,60 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "winrt-Windows.ApplicationModel.PackageExtensions"
9
+ version = "4!10.0.28000.2705"
10
+ description = "PyWinRT projection of the Windows.ApplicationModel.PackageExtensions namespace"
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ license-files = ["LICENSE"]
14
+ classifiers = [
15
+ "Operating System :: Microsoft :: Windows",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
+ "Programming Language :: Python :: Implementation :: CPython",
23
+ "Intended Audience :: Developers",
24
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
25
+ "Typing :: Typed",
26
+ ]
27
+ requires-python = ">=3.11"
28
+ dependencies = [
29
+ "winrt-runtime>=4.0.0,<5",
30
+ "winrt-Windows.Foundation>=4!10.0.28000.2705",
31
+ "winrt-Windows.Foundation.Collections>=4!10.0.28000.2705",
32
+ ]
33
+
34
+ [project.optional-dependencies]
35
+ all = [
36
+ "winrt-Windows.ApplicationModel[all]>=4!10.0.28000.2705",
37
+ "winrt-Windows.Foundation[all]>=4!10.0.28000.2705",
38
+ "winrt-Windows.Foundation.Collections[all]>=4!10.0.28000.2705",
39
+ "winrt-Windows.Storage[all]>=4!10.0.28000.2705",
40
+ ]
41
+
42
+ [project.urls]
43
+ Documentation = "https://pywinrt.readthedocs.io"
44
+ Repository = "https://github.com/pywinrt/pywinrt"
45
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
46
+
47
+ [tool.hatch.build.targets.sdist]
48
+ # The text form of the table is what the source distribution carries, and the
49
+ # compiled form is build output wherever it turns up. Hatchling reads no
50
+ # .gitignore above the package, so it has to be told about the latter.
51
+ only-include = ["winrt", "LICENSE", "README.md"]
52
+ exclude = ["**/_table.pywinrt"]
53
+
54
+ [tool.hatch.build.targets.wheel]
55
+ packages = ["winrt"]
56
+ exclude = ["**/_table.pywinrt.txt"]
57
+
58
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
59
+ # the package carries and puts the result beside the __init__.py that loads it.
60
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -1,15 +1,9 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
+ import winrt.runtime._internals
3
4
  import winrt.system
4
- from winrt._winrt_windows_applicationmodel_packageextensions import (
5
- PackageExtension,
6
- PackageExtensionCatalog,
7
- PackageExtensionPackageInstalledEventArgs,
8
- PackageExtensionPackageStatusChangedEventArgs,
9
- PackageExtensionPackageUninstallingEventArgs,
10
- PackageExtensionPackageUpdatedEventArgs,
11
- PackageExtensionPackageUpdatingEventArgs,
12
- )
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
13
7
 
14
8
  __all__ = [
15
9
  "PackageExtension",
@@ -1,23 +1,29 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
- import datetime
4
- import sys
5
- import types
3
+ import collections.abc as _cabc
6
4
  import typing
7
- import uuid as _uuid
8
5
  from builtins import property as _property
9
6
 
10
- import winrt._winrt
11
7
  import winrt.system
12
8
  import winrt.windows.applicationmodel as windows_applicationmodel
13
9
  import winrt.windows.foundation as windows_foundation
14
10
  import winrt.windows.foundation.collections as windows_foundation_collections
15
11
  import winrt.windows.storage as windows_storage
16
12
 
17
- Self = typing.TypeVar('Self')
13
+ __all__ = [
14
+ "PackageExtension",
15
+ "PackageExtensionCatalog",
16
+ "PackageExtensionPackageInstalledEventArgs",
17
+ "PackageExtensionPackageStatusChangedEventArgs",
18
+ "PackageExtensionPackageUninstallingEventArgs",
19
+ "PackageExtensionPackageUpdatedEventArgs",
20
+ "PackageExtensionPackageUpdatingEventArgs",
21
+ ]
18
22
 
19
23
  @typing.final
20
24
  class PackageExtension(winrt.system.Object):
25
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
26
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
21
27
  # Windows.Foundation.Collections.IPropertySet Windows.ApplicationModel.PackageExtensions.PackageExtension::GetExtensionProperties()
22
28
  def get_extension_properties(self) -> windows_foundation_collections.IPropertySet: ...
23
29
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IPropertySet> Windows.ApplicationModel.PackageExtensions.PackageExtension::GetExtensionPropertiesAsync()
@@ -42,44 +48,48 @@ class PackageExtension(winrt.system.Object):
42
48
  def package(self) -> windows_applicationmodel.Package: ...
43
49
 
44
50
  @typing.final
45
- class PackageExtensionCatalog_Static(winrt._winrt.IInspectable_Static):
51
+ class PackageExtensionCatalog_Static(winrt.system.Object_Static):
46
52
  # Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::Open(System.String)
47
53
  def open(cls, package_extension_name: str, /) -> PackageExtensionCatalog: ...
48
54
 
49
55
  @typing.final
50
56
  class PackageExtensionCatalog(winrt.system.Object, metaclass=PackageExtensionCatalog_Static):
57
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
58
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
51
59
  # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.PackageExtensions.PackageExtension> Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::FindAll()
52
- def find_all(self) -> typing.Sequence[PackageExtension]: ...
60
+ def find_all(self) -> _cabc.Sequence[PackageExtension]: ...
53
61
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.PackageExtensions.PackageExtension>> Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::FindAllAsync()
54
- def find_all_async(self) -> windows_foundation.IAsyncOperation[typing.Sequence[PackageExtension]]: ...
62
+ def find_all_async(self) -> windows_foundation.IAsyncOperation[_cabc.Sequence[PackageExtension]]: ...
55
63
  # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::RequestRemovePackageAsync(System.String)
56
64
  def request_remove_package_async(self, package_full_name: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
57
65
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::add_PackageInstalled(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog,Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageInstalledEventArgs>)
58
66
  def add_package_installed(self, handler: windows_foundation.TypedEventHandler[PackageExtensionCatalog, PackageExtensionPackageInstalledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
59
67
  # System.Void Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::remove_PackageInstalled(Windows.Foundation.EventRegistrationToken)
60
- def remove_package_installed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
68
+ def remove_package_installed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
61
69
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::add_PackageStatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog,Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageStatusChangedEventArgs>)
62
70
  def add_package_status_changed(self, handler: windows_foundation.TypedEventHandler[PackageExtensionCatalog, PackageExtensionPackageStatusChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
63
71
  # System.Void Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::remove_PackageStatusChanged(Windows.Foundation.EventRegistrationToken)
64
- def remove_package_status_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
72
+ def remove_package_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
65
73
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::add_PackageUninstalling(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog,Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUninstallingEventArgs>)
66
74
  def add_package_uninstalling(self, handler: windows_foundation.TypedEventHandler[PackageExtensionCatalog, PackageExtensionPackageUninstallingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
67
75
  # System.Void Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::remove_PackageUninstalling(Windows.Foundation.EventRegistrationToken)
68
- def remove_package_uninstalling(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
76
+ def remove_package_uninstalling(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
69
77
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::add_PackageUpdated(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog,Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUpdatedEventArgs>)
70
78
  def add_package_updated(self, handler: windows_foundation.TypedEventHandler[PackageExtensionCatalog, PackageExtensionPackageUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
71
79
  # System.Void Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::remove_PackageUpdated(Windows.Foundation.EventRegistrationToken)
72
- def remove_package_updated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
80
+ def remove_package_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
73
81
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::add_PackageUpdating(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog,Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUpdatingEventArgs>)
74
82
  def add_package_updating(self, handler: windows_foundation.TypedEventHandler[PackageExtensionCatalog, PackageExtensionPackageUpdatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
75
83
  # System.Void Windows.ApplicationModel.PackageExtensions.PackageExtensionCatalog::remove_PackageUpdating(Windows.Foundation.EventRegistrationToken)
76
- def remove_package_updating(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
84
+ def remove_package_updating(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
77
85
 
78
86
  @typing.final
79
87
  class PackageExtensionPackageInstalledEventArgs(winrt.system.Object):
88
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
89
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
80
90
  # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.PackageExtensions.PackageExtension> Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageInstalledEventArgs::get_Extensions()
81
91
  @_property
82
- def extensions(self) -> typing.Sequence[PackageExtension]: ...
92
+ def extensions(self) -> _cabc.Sequence[PackageExtension]: ...
83
93
  # Windows.ApplicationModel.Package Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageInstalledEventArgs::get_Package()
84
94
  @_property
85
95
  def package(self) -> windows_applicationmodel.Package: ...
@@ -89,6 +99,8 @@ class PackageExtensionPackageInstalledEventArgs(winrt.system.Object):
89
99
 
90
100
  @typing.final
91
101
  class PackageExtensionPackageStatusChangedEventArgs(winrt.system.Object):
102
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
103
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
92
104
  # Windows.ApplicationModel.Package Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageStatusChangedEventArgs::get_Package()
93
105
  @_property
94
106
  def package(self) -> windows_applicationmodel.Package: ...
@@ -98,6 +110,8 @@ class PackageExtensionPackageStatusChangedEventArgs(winrt.system.Object):
98
110
 
99
111
  @typing.final
100
112
  class PackageExtensionPackageUninstallingEventArgs(winrt.system.Object):
113
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
114
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
101
115
  # Windows.ApplicationModel.Package Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUninstallingEventArgs::get_Package()
102
116
  @_property
103
117
  def package(self) -> windows_applicationmodel.Package: ...
@@ -107,9 +121,11 @@ class PackageExtensionPackageUninstallingEventArgs(winrt.system.Object):
107
121
 
108
122
  @typing.final
109
123
  class PackageExtensionPackageUpdatedEventArgs(winrt.system.Object):
124
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
125
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
110
126
  # Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.PackageExtensions.PackageExtension> Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUpdatedEventArgs::get_Extensions()
111
127
  @_property
112
- def extensions(self) -> typing.Sequence[PackageExtension]: ...
128
+ def extensions(self) -> _cabc.Sequence[PackageExtension]: ...
113
129
  # Windows.ApplicationModel.Package Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUpdatedEventArgs::get_Package()
114
130
  @_property
115
131
  def package(self) -> windows_applicationmodel.Package: ...
@@ -119,6 +135,8 @@ class PackageExtensionPackageUpdatedEventArgs(winrt.system.Object):
119
135
 
120
136
  @typing.final
121
137
  class PackageExtensionPackageUpdatingEventArgs(winrt.system.Object):
138
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
139
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
122
140
  # Windows.ApplicationModel.Package Windows.ApplicationModel.PackageExtensions.PackageExtensionPackageUpdatingEventArgs::get_Package()
123
141
  @_property
124
142
  def package(self) -> windows_applicationmodel.Package: ...