winrt-Microsoft.WindowsAppSDK.AI 4!2.5.1__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.
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/.gitignore +5 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/LICENSE +22 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/PKG-INFO +70 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/README.md +36 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/pyproject.toml +63 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/graphics/imaging/__init__.py +12 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/graphics/imaging/__init__.pyi +60 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/graphics/imaging/_table.pywinrt.txt +73 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/graphics/imaging/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/__init__.py +15 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/__init__.pyi +64 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/_table.pywinrt.txt +68 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/contentsafety/__init__.py +14 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/contentsafety/__init__.pyi +105 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/contentsafety/_table.pywinrt.txt +116 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/contentsafety/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/foundation/__init__.py +11 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/foundation/__init__.pyi +24 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/foundation/_table.pywinrt.txt +30 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/foundation/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/imaging/__init__.py +24 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/imaging/__init__.pyi +250 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/imaging/_table.pywinrt.txt +971 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/imaging/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/text/__init__.py +29 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/text/__init__.pyi +350 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/text/_table.pywinrt.txt +940 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/text/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/video/__init__.py +14 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/video/__init__.pyi +70 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/video/_table.pywinrt.txt +357 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/video/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/semanticsearch/__init__.py +11 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/semanticsearch/__init__.pyi +24 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/semanticsearch/_table.pywinrt.txt +30 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/semanticsearch/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/vision/__init__.py +12 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/vision/__init__.pyi +40 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/vision/_table.pywinrt.txt +25 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/vision/py.typed +0 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/workloads/__init__.py +11 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/workloads/__init__.pyi +15 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/workloads/_table.pywinrt.txt +10 -0
- winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/workloads/py.typed +0 -0
|
@@ -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,70 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Microsoft.WindowsAppSDK.AI
|
|
3
|
+
Version: 4!2.5.1
|
|
4
|
+
Summary: PyWinRT projection of the Microsoft.WindowsAppSDK.AI NuGet package
|
|
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/wasdk/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
|
+
Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
|
|
26
|
+
Provides-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-graphics-directx-direct3d11[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-graphics-imaging[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Requires-Dist: winrt-windows-graphics[all]>=4!10.0.28000.2705; extra == 'all'
|
|
32
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
34
|
+
|
|
35
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
36
|
+
|
|
37
|
+
# winrt-Microsoft.WindowsAppSDK.AI
|
|
38
|
+
|
|
39
|
+
**IMPORTANT**: Windows App SDK packages cannot be used without the Windows App
|
|
40
|
+
Runtime. This has to be installed manually by the end user. Read the
|
|
41
|
+
[PyWinRT Windows App SDK documentation](https://pywinrt.readthedocs.io/en/latest/api/microsoft/)
|
|
42
|
+
for more information.
|
|
43
|
+
|
|
44
|
+
Windows Runtime (WinRT) APIs for 10 namespaces.
|
|
45
|
+
|
|
46
|
+
This package provides the following modules:
|
|
47
|
+
|
|
48
|
+
- `winrt.microsoft.graphics.imaging`
|
|
49
|
+
- `winrt.microsoft.windows.ai`
|
|
50
|
+
- `winrt.microsoft.windows.ai.contentsafety`
|
|
51
|
+
- `winrt.microsoft.windows.ai.foundation`
|
|
52
|
+
- `winrt.microsoft.windows.ai.imaging`
|
|
53
|
+
- `winrt.microsoft.windows.ai.text`
|
|
54
|
+
- `winrt.microsoft.windows.ai.video`
|
|
55
|
+
- `winrt.microsoft.windows.semanticsearch`
|
|
56
|
+
- `winrt.microsoft.windows.vision`
|
|
57
|
+
- `winrt.microsoft.windows.workloads`
|
|
58
|
+
|
|
59
|
+
The WinRT APIs in it are those of version 2.5.1 of the
|
|
60
|
+
`Microsoft.WindowsAppSDK` NuGet package.
|
|
61
|
+
|
|
62
|
+
Its metadata comes from the `Microsoft.WindowsAppSDK.AI` component,
|
|
63
|
+
version 2.5.5.
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
pip install winrt-Microsoft.WindowsAppSDK.AI
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
70
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
2
|
+
|
|
3
|
+
# winrt-Microsoft.WindowsAppSDK.AI
|
|
4
|
+
|
|
5
|
+
**IMPORTANT**: Windows App SDK packages cannot be used without the Windows App
|
|
6
|
+
Runtime. This has to be installed manually by the end user. Read the
|
|
7
|
+
[PyWinRT Windows App SDK documentation](https://pywinrt.readthedocs.io/en/latest/api/microsoft/)
|
|
8
|
+
for more information.
|
|
9
|
+
|
|
10
|
+
Windows Runtime (WinRT) APIs for 10 namespaces.
|
|
11
|
+
|
|
12
|
+
This package provides the following modules:
|
|
13
|
+
|
|
14
|
+
- `winrt.microsoft.graphics.imaging`
|
|
15
|
+
- `winrt.microsoft.windows.ai`
|
|
16
|
+
- `winrt.microsoft.windows.ai.contentsafety`
|
|
17
|
+
- `winrt.microsoft.windows.ai.foundation`
|
|
18
|
+
- `winrt.microsoft.windows.ai.imaging`
|
|
19
|
+
- `winrt.microsoft.windows.ai.text`
|
|
20
|
+
- `winrt.microsoft.windows.ai.video`
|
|
21
|
+
- `winrt.microsoft.windows.semanticsearch`
|
|
22
|
+
- `winrt.microsoft.windows.vision`
|
|
23
|
+
- `winrt.microsoft.windows.workloads`
|
|
24
|
+
|
|
25
|
+
The WinRT APIs in it are those of version 2.5.1 of the
|
|
26
|
+
`Microsoft.WindowsAppSDK` NuGet package.
|
|
27
|
+
|
|
28
|
+
Its metadata comes from the `Microsoft.WindowsAppSDK.AI` component,
|
|
29
|
+
version 2.5.5.
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
pip install winrt-Microsoft.WindowsAppSDK.AI
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
36
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,63 @@
|
|
|
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-Microsoft.WindowsAppSDK.AI"
|
|
9
|
+
version = "4!2.5.1"
|
|
10
|
+
description = "PyWinRT projection of the Microsoft.WindowsAppSDK.AI NuGet package"
|
|
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
|
+
"winrt-Windows.Storage.Streams>=4!10.0.28000.2705",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[project.optional-dependencies]
|
|
36
|
+
all = [
|
|
37
|
+
"winrt-Windows.Foundation[all]>=4!10.0.28000.2705",
|
|
38
|
+
"winrt-Windows.Foundation.Collections[all]>=4!10.0.28000.2705",
|
|
39
|
+
"winrt-Windows.Graphics[all]>=4!10.0.28000.2705",
|
|
40
|
+
"winrt-Windows.Graphics.DirectX.Direct3D11[all]>=4!10.0.28000.2705",
|
|
41
|
+
"winrt-Windows.Graphics.Imaging[all]>=4!10.0.28000.2705",
|
|
42
|
+
"winrt-Windows.Storage.Streams[all]>=4!10.0.28000.2705",
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
[project.urls]
|
|
46
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
47
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
48
|
+
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/wasdk/CHANGELOG.md"
|
|
49
|
+
|
|
50
|
+
[tool.hatch.build.targets.sdist]
|
|
51
|
+
# The text form of the table is what the source distribution carries, and the
|
|
52
|
+
# compiled form is build output wherever it turns up. Hatchling reads no
|
|
53
|
+
# .gitignore above the package, so it has to be told about the latter.
|
|
54
|
+
only-include = ["winrt", "LICENSE", "README.md"]
|
|
55
|
+
exclude = ["**/_table.pywinrt"]
|
|
56
|
+
|
|
57
|
+
[tool.hatch.build.targets.wheel]
|
|
58
|
+
packages = ["winrt"]
|
|
59
|
+
exclude = ["**/_table.pywinrt.txt"]
|
|
60
|
+
|
|
61
|
+
# winrt.table.build_hooks in winrt-table-compiler, which compiles each table
|
|
62
|
+
# the package carries and puts the result beside the __init__.py that loads it.
|
|
63
|
+
[tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import types
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.windows.foundation as windows_foundation
|
|
10
|
+
import winrt.windows.graphics.imaging as windows_graphics_imaging
|
|
11
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
"ImageBufferPixelFormat",
|
|
15
|
+
"ImageBuffer",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
class ImageBufferPixelFormat(enum.IntEnum):
|
|
19
|
+
RGB8 = 137224
|
|
20
|
+
RGBA8 = 30
|
|
21
|
+
ARGB8 = 2498570
|
|
22
|
+
BGRA8 = 87
|
|
23
|
+
GRAY8 = 62
|
|
24
|
+
BGR8 = 137352
|
|
25
|
+
|
|
26
|
+
@typing.final
|
|
27
|
+
class ImageBuffer_Static(winrt.system.Object_Static):
|
|
28
|
+
# Microsoft.Graphics.Imaging.ImageBuffer Microsoft.Graphics.Imaging.ImageBuffer::CreateForBuffer(Windows.Storage.Streams.IBuffer,Microsoft.Graphics.Imaging.ImageBufferPixelFormat,System.Int32,System.Int32,System.Int32)
|
|
29
|
+
def create_for_buffer(cls, buffer: winrt.system.ReadableBuffer, pixel_format: ImageBufferPixelFormat, width: winrt.system.Int32 | typing.SupportsIndex, height: winrt.system.Int32 | typing.SupportsIndex, row_stride: winrt.system.Int32 | typing.SupportsIndex, /) -> ImageBuffer: ...
|
|
30
|
+
# Microsoft.Graphics.Imaging.ImageBuffer Microsoft.Graphics.Imaging.ImageBuffer::CreateForSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap)
|
|
31
|
+
def create_for_software_bitmap(cls, software_bitmap: windows_graphics_imaging.SoftwareBitmap, /) -> ImageBuffer: ...
|
|
32
|
+
|
|
33
|
+
@typing.final
|
|
34
|
+
class ImageBuffer(windows_foundation.IClosable, winrt.system.Object, metaclass=ImageBuffer_Static):
|
|
35
|
+
def __enter__(self) -> typing.Self: ...
|
|
36
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
37
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
38
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
39
|
+
# System.Void Microsoft.Graphics.Imaging.ImageBuffer::Close()
|
|
40
|
+
def close(self) -> None: ...
|
|
41
|
+
# System.Void Microsoft.Graphics.Imaging.ImageBuffer::CopyToByteArray(System.Byte[])
|
|
42
|
+
def copy_to_byte_array(self, values: winrt.system.Array[winrt.system.UInt8] | winrt.system.WriteableBuffer, /) -> None: ...
|
|
43
|
+
# Windows.Graphics.Imaging.SoftwareBitmap Microsoft.Graphics.Imaging.ImageBuffer::CopyToSoftwareBitmap()
|
|
44
|
+
def copy_to_software_bitmap(self) -> windows_graphics_imaging.SoftwareBitmap: ...
|
|
45
|
+
# Windows.Storage.Streams.IBuffer Microsoft.Graphics.Imaging.ImageBuffer::get_Buffer()
|
|
46
|
+
@_property
|
|
47
|
+
def buffer(self) -> windows_storage_streams.IBuffer: ...
|
|
48
|
+
# Microsoft.Graphics.Imaging.ImageBufferPixelFormat Microsoft.Graphics.Imaging.ImageBuffer::get_PixelFormat()
|
|
49
|
+
@_property
|
|
50
|
+
def pixel_format(self) -> ImageBufferPixelFormat: ...
|
|
51
|
+
# System.Int32 Microsoft.Graphics.Imaging.ImageBuffer::get_PixelHeight()
|
|
52
|
+
@_property
|
|
53
|
+
def pixel_height(self) -> winrt.system.Int32: ...
|
|
54
|
+
# System.Int32 Microsoft.Graphics.Imaging.ImageBuffer::get_PixelWidth()
|
|
55
|
+
@_property
|
|
56
|
+
def pixel_width(self) -> winrt.system.Int32: ...
|
|
57
|
+
# System.Int32 Microsoft.Graphics.Imaging.ImageBuffer::get_RowStride()
|
|
58
|
+
@_property
|
|
59
|
+
def row_stride(self) -> winrt.system.Int32: ...
|
|
60
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
format 4.0
|
|
2
|
+
census 2e30db26-66c8-4551-85b9-a537376d8f99 1
|
|
3
|
+
namespace Microsoft.Graphics.Imaging
|
|
4
|
+
|
|
5
|
+
interface Microsoft.Graphics.Imaging.IImageBuffer
|
|
6
|
+
guid 3baabd0b-1854-51f1-bd2a-74c87858f461
|
|
7
|
+
|
|
8
|
+
interface Microsoft.Graphics.Imaging.IImageBufferStatics
|
|
9
|
+
guid 35b17bd3-f346-529f-8c0f-3bf96c56eb13
|
|
10
|
+
|
|
11
|
+
class Microsoft.Graphics.Imaging.ImageBuffer python_type closeable
|
|
12
|
+
py ImageBuffer
|
|
13
|
+
signature rc(Microsoft.Graphics.Imaging.ImageBuffer;{3baabd0b-1854-51f1-bd2a-74c87858f461})
|
|
14
|
+
default Microsoft.Graphics.Imaging.IImageBuffer
|
|
15
|
+
requires Microsoft.Graphics.Imaging.IImageBuffer
|
|
16
|
+
requires Windows.Foundation.IClosable
|
|
17
|
+
factory Microsoft.Graphics.Imaging.IImageBufferStatics
|
|
18
|
+
property buffer
|
|
19
|
+
get get_Buffer slot=6 inputs=0 outputs=1 declaring=Microsoft.Graphics.Imaging.IImageBuffer shape=4
|
|
20
|
+
out interface type=Windows.Storage.Streams.IBuffer return
|
|
21
|
+
property pixel_format
|
|
22
|
+
get get_PixelFormat slot=7 inputs=0 outputs=1 declaring=Microsoft.Graphics.Imaging.IImageBuffer shape=4
|
|
23
|
+
out enum32 type=Microsoft.Graphics.Imaging.ImageBufferPixelFormat return
|
|
24
|
+
property pixel_height
|
|
25
|
+
get get_PixelHeight slot=8 inputs=0 outputs=1 declaring=Microsoft.Graphics.Imaging.IImageBuffer shape=4
|
|
26
|
+
out int32 return
|
|
27
|
+
property pixel_width
|
|
28
|
+
get get_PixelWidth slot=9 inputs=0 outputs=1 declaring=Microsoft.Graphics.Imaging.IImageBuffer shape=4
|
|
29
|
+
out int32 return
|
|
30
|
+
property row_stride
|
|
31
|
+
get get_RowStride slot=10 inputs=0 outputs=1 declaring=Microsoft.Graphics.Imaging.IImageBuffer shape=4
|
|
32
|
+
out int32 return
|
|
33
|
+
method close
|
|
34
|
+
method Close slot=6 inputs=0 outputs=0 declaring=Windows.Foundation.IClosable shape=0 reverse=16 role=close
|
|
35
|
+
method copy_to_byte_array
|
|
36
|
+
method CopyToByteArray slot=11 inputs=1 outputs=0 declaring=Microsoft.Graphics.Imaging.IImageBuffer shape=51
|
|
37
|
+
fill_array uint8 name=values
|
|
38
|
+
method copy_to_software_bitmap
|
|
39
|
+
method CopyToSoftwareBitmap slot=12 inputs=0 outputs=1 declaring=Microsoft.Graphics.Imaging.IImageBuffer shape=4
|
|
40
|
+
out class type=Windows.Graphics.Imaging.SoftwareBitmap return
|
|
41
|
+
method create_for_buffer static
|
|
42
|
+
method CreateForBuffer slot=6 inputs=5 outputs=1 declaring=Microsoft.Graphics.Imaging.IImageBufferStatics shape=267 static
|
|
43
|
+
in interface type=Windows.Storage.Streams.IBuffer name=buffer
|
|
44
|
+
in enum32 type=Microsoft.Graphics.Imaging.ImageBufferPixelFormat name=pixelFormat
|
|
45
|
+
in int32 name=width
|
|
46
|
+
in int32 name=height
|
|
47
|
+
in int32 name=rowStride
|
|
48
|
+
out class type=Microsoft.Graphics.Imaging.ImageBuffer return
|
|
49
|
+
method create_for_software_bitmap static
|
|
50
|
+
method CreateForSoftwareBitmap slot=7 inputs=1 outputs=1 declaring=Microsoft.Graphics.Imaging.IImageBufferStatics shape=51 static
|
|
51
|
+
in class type=Windows.Graphics.Imaging.SoftwareBitmap name=softwareBitmap
|
|
52
|
+
out class type=Microsoft.Graphics.Imaging.ImageBuffer return
|
|
53
|
+
|
|
54
|
+
enum Microsoft.Graphics.Imaging.ImageBufferPixelFormat python_type
|
|
55
|
+
py ImageBufferPixelFormat
|
|
56
|
+
signature enum(Microsoft.Graphics.Imaging.ImageBufferPixelFormat;i4)
|
|
57
|
+
constant RGB8 137224
|
|
58
|
+
constant RGBA8 30
|
|
59
|
+
constant ARGB8 2498570
|
|
60
|
+
constant BGRA8 87
|
|
61
|
+
constant GRAY8 62
|
|
62
|
+
constant BGR8 137352
|
|
63
|
+
|
|
64
|
+
interface Windows.Foundation.IClosable external
|
|
65
|
+
py winrt.windows.foundation._IClosable
|
|
66
|
+
guid 30d5a829-7fa4-4026-83bb-d75bae4ea99e
|
|
67
|
+
|
|
68
|
+
class Windows.Graphics.Imaging.SoftwareBitmap external
|
|
69
|
+
py winrt.windows.graphics.imaging.SoftwareBitmap
|
|
70
|
+
|
|
71
|
+
interface Windows.Storage.Streams.IBuffer external
|
|
72
|
+
py winrt.windows.storage.streams._IBuffer
|
|
73
|
+
guid 905a0fe0-bc53-11df-8c49-001e4fc686da
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"AICapabilityCategory",
|
|
10
|
+
"AIFeatureReadyResultState",
|
|
11
|
+
"AIFeatureReadyState",
|
|
12
|
+
"AICapabilities",
|
|
13
|
+
"AIFeatureReadyResult",
|
|
14
|
+
]
|
|
15
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
from builtins import property as _property
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
import winrt.windows.foundation as windows_foundation
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"AICapabilityCategory",
|
|
12
|
+
"AIFeatureReadyResultState",
|
|
13
|
+
"AIFeatureReadyState",
|
|
14
|
+
"AICapabilities",
|
|
15
|
+
"AIFeatureReadyResult",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
class AICapabilityCategory(enum.IntEnum):
|
|
19
|
+
COPILOT_PLUS_PC = 0
|
|
20
|
+
|
|
21
|
+
class AIFeatureReadyResultState(enum.IntEnum):
|
|
22
|
+
IN_PROGRESS = 0
|
|
23
|
+
SUCCESS = 1
|
|
24
|
+
FAILURE = 2
|
|
25
|
+
|
|
26
|
+
class AIFeatureReadyState(enum.IntEnum):
|
|
27
|
+
READY = 0
|
|
28
|
+
NOT_READY = 1
|
|
29
|
+
NOT_SUPPORTED_ON_CURRENT_SYSTEM = 2
|
|
30
|
+
DISABLED_BY_USER = 3
|
|
31
|
+
CAPABILITY_MISSING = 4
|
|
32
|
+
NOT_COMPATIBLE_WITH_SYSTEM_HARDWARE = 5
|
|
33
|
+
OS_UPDATE_NEEDED = 6
|
|
34
|
+
|
|
35
|
+
@typing.final
|
|
36
|
+
class AICapabilities_Static(winrt.system.Object_Static):
|
|
37
|
+
# System.Boolean Microsoft.Windows.AI.AICapabilities::HasAICapability(Microsoft.Windows.AI.AICapabilityCategory)
|
|
38
|
+
def has_a_i_capability(cls, category: AICapabilityCategory, /) -> bool: ...
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class AICapabilities(winrt.system.Object, metaclass=AICapabilities_Static):
|
|
42
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
43
|
+
"""A class of static members only, so there is nothing to create."""
|
|
44
|
+
|
|
45
|
+
@typing.final
|
|
46
|
+
class AIFeatureReadyResult(winrt.system.Object):
|
|
47
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
48
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
49
|
+
# Windows.Foundation.HResult Microsoft.Windows.AI.AIFeatureReadyResult::get_Error()
|
|
50
|
+
@_property
|
|
51
|
+
def error(self) -> windows_foundation.HResult: ...
|
|
52
|
+
# System.String Microsoft.Windows.AI.AIFeatureReadyResult::get_ErrorDisplayText()
|
|
53
|
+
@_property
|
|
54
|
+
def error_display_text(self) -> str: ...
|
|
55
|
+
# Windows.Foundation.HResult Microsoft.Windows.AI.AIFeatureReadyResult::get_ExtendedError()
|
|
56
|
+
@_property
|
|
57
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
58
|
+
# Microsoft.Windows.AI.AIFeatureReadyResultState Microsoft.Windows.AI.AIFeatureReadyResult::get_Status()
|
|
59
|
+
@_property
|
|
60
|
+
def status(self) -> AIFeatureReadyResultState: ...
|
|
61
|
+
# System.Boolean Microsoft.Windows.AI.AIFeatureReadyResult::get_PackageInstallationFailed()
|
|
62
|
+
@_property
|
|
63
|
+
def package_installation_failed(self) -> bool: ...
|
|
64
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
format 4.0
|
|
2
|
+
census 2e30db26-66c8-4551-85b9-a537376d8f99 1
|
|
3
|
+
namespace Microsoft.Windows.AI
|
|
4
|
+
|
|
5
|
+
class Microsoft.Windows.AI.AICapabilities static python_type
|
|
6
|
+
py AICapabilities
|
|
7
|
+
factory Microsoft.Windows.AI.IAICapabilitiesStatics
|
|
8
|
+
method has_a_i_capability static
|
|
9
|
+
method HasAICapability slot=6 inputs=1 outputs=1 declaring=Microsoft.Windows.AI.IAICapabilitiesStatics shape=51 static
|
|
10
|
+
in enum32 type=Microsoft.Windows.AI.AICapabilityCategory name=category
|
|
11
|
+
out boolean return
|
|
12
|
+
|
|
13
|
+
enum Microsoft.Windows.AI.AICapabilityCategory python_type
|
|
14
|
+
py AICapabilityCategory
|
|
15
|
+
signature enum(Microsoft.Windows.AI.AICapabilityCategory;i4)
|
|
16
|
+
constant COPILOT_PLUS_PC 0
|
|
17
|
+
|
|
18
|
+
class Microsoft.Windows.AI.AIFeatureReadyResult python_type
|
|
19
|
+
py AIFeatureReadyResult
|
|
20
|
+
signature rc(Microsoft.Windows.AI.AIFeatureReadyResult;{936a78a6-c242-5937-9814-e512d4193a6d})
|
|
21
|
+
default Microsoft.Windows.AI.IAIFeatureReadyResult
|
|
22
|
+
requires Microsoft.Windows.AI.IAIFeatureReadyResult
|
|
23
|
+
requires Microsoft.Windows.AI.IAIFeatureReadyResult2
|
|
24
|
+
property error
|
|
25
|
+
get get_Error slot=6 inputs=0 outputs=1 declaring=Microsoft.Windows.AI.IAIFeatureReadyResult shape=4
|
|
26
|
+
out hresult type=Windows.Foundation.HResult return
|
|
27
|
+
property error_display_text
|
|
28
|
+
get get_ErrorDisplayText slot=7 inputs=0 outputs=1 declaring=Microsoft.Windows.AI.IAIFeatureReadyResult shape=4
|
|
29
|
+
out string return
|
|
30
|
+
property extended_error
|
|
31
|
+
get get_ExtendedError slot=8 inputs=0 outputs=1 declaring=Microsoft.Windows.AI.IAIFeatureReadyResult shape=4
|
|
32
|
+
out hresult type=Windows.Foundation.HResult return
|
|
33
|
+
property status
|
|
34
|
+
get get_Status slot=9 inputs=0 outputs=1 declaring=Microsoft.Windows.AI.IAIFeatureReadyResult shape=4
|
|
35
|
+
out enum32 type=Microsoft.Windows.AI.AIFeatureReadyResultState return
|
|
36
|
+
property package_installation_failed
|
|
37
|
+
get get_PackageInstallationFailed slot=6 inputs=0 outputs=1 declaring=Microsoft.Windows.AI.IAIFeatureReadyResult2 shape=4
|
|
38
|
+
out boolean return
|
|
39
|
+
|
|
40
|
+
enum Microsoft.Windows.AI.AIFeatureReadyResultState python_type
|
|
41
|
+
py AIFeatureReadyResultState
|
|
42
|
+
signature enum(Microsoft.Windows.AI.AIFeatureReadyResultState;i4)
|
|
43
|
+
constant IN_PROGRESS 0
|
|
44
|
+
constant SUCCESS 1
|
|
45
|
+
constant FAILURE 2
|
|
46
|
+
|
|
47
|
+
enum Microsoft.Windows.AI.AIFeatureReadyState python_type
|
|
48
|
+
py AIFeatureReadyState
|
|
49
|
+
signature enum(Microsoft.Windows.AI.AIFeatureReadyState;i4)
|
|
50
|
+
constant READY 0
|
|
51
|
+
constant NOT_READY 1
|
|
52
|
+
constant NOT_SUPPORTED_ON_CURRENT_SYSTEM 2
|
|
53
|
+
constant DISABLED_BY_USER 3
|
|
54
|
+
constant CAPABILITY_MISSING 4
|
|
55
|
+
constant NOT_COMPATIBLE_WITH_SYSTEM_HARDWARE 5
|
|
56
|
+
constant OS_UPDATE_NEEDED 6
|
|
57
|
+
|
|
58
|
+
interface Microsoft.Windows.AI.IAICapabilitiesStatics
|
|
59
|
+
guid 37968861-98ee-599c-aa38-aa79866d6ddc
|
|
60
|
+
|
|
61
|
+
interface Microsoft.Windows.AI.IAIFeatureReadyResult
|
|
62
|
+
guid 936a78a6-c242-5937-9814-e512d4193a6d
|
|
63
|
+
|
|
64
|
+
interface Microsoft.Windows.AI.IAIFeatureReadyResult2
|
|
65
|
+
guid ec5f1d67-43c1-5bdb-b9f4-a0c7110582cb
|
|
66
|
+
|
|
67
|
+
struct Windows.Foundation.HResult external
|
|
68
|
+
py winrt.windows.foundation.HResult
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"SeverityLevel",
|
|
10
|
+
"ContentFilterOptions",
|
|
11
|
+
"ImageContentFilterSeverity",
|
|
12
|
+
"TextContentFilterSeverity",
|
|
13
|
+
]
|
|
14
|
+
|
winrt_microsoft_windowsappsdk_ai-4!2.5.1/winrt/microsoft/windows/ai/contentsafety/__init__.pyi
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
from builtins import property as _property
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
|
|
9
|
+
__all__ = [
|
|
10
|
+
"SeverityLevel",
|
|
11
|
+
"ContentFilterOptions",
|
|
12
|
+
"ImageContentFilterSeverity",
|
|
13
|
+
"TextContentFilterSeverity",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
class SeverityLevel(enum.IntEnum):
|
|
17
|
+
MINIMUM = 10
|
|
18
|
+
LOW = 11
|
|
19
|
+
MEDIUM = 12
|
|
20
|
+
HIGH = 13
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class ContentFilterOptions(winrt.system.Object):
|
|
24
|
+
def __new__(cls) -> typing.Self: ...
|
|
25
|
+
# Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity Microsoft.Windows.AI.ContentSafety.ContentFilterOptions::get_ResponseMaxAllowedSeverityLevel()
|
|
26
|
+
@_property
|
|
27
|
+
def response_max_allowed_severity_level(self) -> TextContentFilterSeverity: ...
|
|
28
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.ContentFilterOptions::put_ResponseMaxAllowedSeverityLevel(Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity)
|
|
29
|
+
@response_max_allowed_severity_level.setter
|
|
30
|
+
def response_max_allowed_severity_level(self, value: TextContentFilterSeverity) -> None: ...
|
|
31
|
+
# Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity Microsoft.Windows.AI.ContentSafety.ContentFilterOptions::get_PromptMaxAllowedSeverityLevel()
|
|
32
|
+
@_property
|
|
33
|
+
def prompt_max_allowed_severity_level(self) -> TextContentFilterSeverity: ...
|
|
34
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.ContentFilterOptions::put_PromptMaxAllowedSeverityLevel(Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity)
|
|
35
|
+
@prompt_max_allowed_severity_level.setter
|
|
36
|
+
def prompt_max_allowed_severity_level(self, value: TextContentFilterSeverity) -> None: ...
|
|
37
|
+
# Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity Microsoft.Windows.AI.ContentSafety.ContentFilterOptions::get_ImageMaxAllowedSeverityLevel()
|
|
38
|
+
@_property
|
|
39
|
+
def image_max_allowed_severity_level(self) -> ImageContentFilterSeverity: ...
|
|
40
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.ContentFilterOptions::put_ImageMaxAllowedSeverityLevel(Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity)
|
|
41
|
+
@image_max_allowed_severity_level.setter
|
|
42
|
+
def image_max_allowed_severity_level(self, value: ImageContentFilterSeverity) -> None: ...
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class ImageContentFilterSeverity(winrt.system.Object):
|
|
46
|
+
@typing.overload
|
|
47
|
+
def __new__(cls, severity_for_a_ll_categories: SeverityLevel, /) -> typing.Self: ...
|
|
48
|
+
@typing.overload
|
|
49
|
+
def __new__(cls) -> typing.Self: ...
|
|
50
|
+
# Microsoft.Windows.AI.ContentSafety.SeverityLevel Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity::get_ViolentContentLevel()
|
|
51
|
+
@_property
|
|
52
|
+
def violent_content_level(self) -> SeverityLevel: ...
|
|
53
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity::put_ViolentContentLevel(Microsoft.Windows.AI.ContentSafety.SeverityLevel)
|
|
54
|
+
@violent_content_level.setter
|
|
55
|
+
def violent_content_level(self, value: SeverityLevel) -> None: ...
|
|
56
|
+
# Microsoft.Windows.AI.ContentSafety.SeverityLevel Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity::get_RacyContentLevel()
|
|
57
|
+
@_property
|
|
58
|
+
def racy_content_level(self) -> SeverityLevel: ...
|
|
59
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity::put_RacyContentLevel(Microsoft.Windows.AI.ContentSafety.SeverityLevel)
|
|
60
|
+
@racy_content_level.setter
|
|
61
|
+
def racy_content_level(self, value: SeverityLevel) -> None: ...
|
|
62
|
+
# Microsoft.Windows.AI.ContentSafety.SeverityLevel Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity::get_GoryContentLevel()
|
|
63
|
+
@_property
|
|
64
|
+
def gory_content_level(self) -> SeverityLevel: ...
|
|
65
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity::put_GoryContentLevel(Microsoft.Windows.AI.ContentSafety.SeverityLevel)
|
|
66
|
+
@gory_content_level.setter
|
|
67
|
+
def gory_content_level(self, value: SeverityLevel) -> None: ...
|
|
68
|
+
# Microsoft.Windows.AI.ContentSafety.SeverityLevel Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity::get_AdultContentLevel()
|
|
69
|
+
@_property
|
|
70
|
+
def adult_content_level(self) -> SeverityLevel: ...
|
|
71
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity::put_AdultContentLevel(Microsoft.Windows.AI.ContentSafety.SeverityLevel)
|
|
72
|
+
@adult_content_level.setter
|
|
73
|
+
def adult_content_level(self, value: SeverityLevel) -> None: ...
|
|
74
|
+
|
|
75
|
+
@typing.final
|
|
76
|
+
class TextContentFilterSeverity(winrt.system.Object):
|
|
77
|
+
@typing.overload
|
|
78
|
+
def __new__(cls, severity_for_all_categories: SeverityLevel, /) -> typing.Self: ...
|
|
79
|
+
@typing.overload
|
|
80
|
+
def __new__(cls) -> typing.Self: ...
|
|
81
|
+
# Microsoft.Windows.AI.ContentSafety.SeverityLevel Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity::get_Violent()
|
|
82
|
+
@_property
|
|
83
|
+
def violent(self) -> SeverityLevel: ...
|
|
84
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity::put_Violent(Microsoft.Windows.AI.ContentSafety.SeverityLevel)
|
|
85
|
+
@violent.setter
|
|
86
|
+
def violent(self, value: SeverityLevel) -> None: ...
|
|
87
|
+
# Microsoft.Windows.AI.ContentSafety.SeverityLevel Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity::get_Sexual()
|
|
88
|
+
@_property
|
|
89
|
+
def sexual(self) -> SeverityLevel: ...
|
|
90
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity::put_Sexual(Microsoft.Windows.AI.ContentSafety.SeverityLevel)
|
|
91
|
+
@sexual.setter
|
|
92
|
+
def sexual(self, value: SeverityLevel) -> None: ...
|
|
93
|
+
# Microsoft.Windows.AI.ContentSafety.SeverityLevel Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity::get_SelfHarm()
|
|
94
|
+
@_property
|
|
95
|
+
def self_harm(self) -> SeverityLevel: ...
|
|
96
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity::put_SelfHarm(Microsoft.Windows.AI.ContentSafety.SeverityLevel)
|
|
97
|
+
@self_harm.setter
|
|
98
|
+
def self_harm(self, value: SeverityLevel) -> None: ...
|
|
99
|
+
# Microsoft.Windows.AI.ContentSafety.SeverityLevel Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity::get_Hate()
|
|
100
|
+
@_property
|
|
101
|
+
def hate(self) -> SeverityLevel: ...
|
|
102
|
+
# System.Void Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity::put_Hate(Microsoft.Windows.AI.ContentSafety.SeverityLevel)
|
|
103
|
+
@hate.setter
|
|
104
|
+
def hate(self, value: SeverityLevel) -> None: ...
|
|
105
|
+
|