pyobjc-framework-FileProvider 11.0__cp312-cp312-macosx_10_13_universal2.whl

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.

Potentially problematic release.


This version of pyobjc-framework-FileProvider might be problematic. Click here for more details.

@@ -0,0 +1,40 @@
1
+ """
2
+ Python mapping for the FileProvider framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Foundation
13
+ import objc
14
+ from . import _metadata, _FileProvider
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="FileProvider",
18
+ frameworkIdentifier="com.apple.FileProvider",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/FileProvider.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _FileProvider,
26
+ Foundation,
27
+ ),
28
+ metadict=_metadata.__dict__,
29
+ )
30
+
31
+ globals()["__dir__"] = dir_func
32
+ globals()["__getattr__"] = getattr_func
33
+
34
+ for cls, sel in (("NSFileProviderManager", b"init"),):
35
+ objc.registerUnavailableMethod(cls, sel)
36
+
37
+ del sys.modules["FileProvider._metadata"]
38
+
39
+
40
+ globals().pop("_setup")()