@@ -9,7 +9,7 @@ _T = TypeVar("_T")
9
9
_ST = TypeVar ("_ST" ) # signal type
10
10
11
11
@type_check_only
12
- class OrgBluezAdapter1Dict (TypedDict , total = False ):
12
+ class _OrgBluezAdapter1Dict (TypedDict , total = False ): # noqa: Y049
13
13
Address : str
14
14
AddressType : Literal ["public" , "random" ]
15
15
Alias : str
@@ -29,7 +29,7 @@ class OrgBluezAdapter1Dict(TypedDict, total=False):
29
29
Version : int
30
30
31
31
@type_check_only
32
- class OrgBluezDevice1Dict (TypedDict , total = False ):
32
+ class _OrgBluezDevice1Dict (TypedDict , total = False ): # noqa: Y049
33
33
Adapter : str
34
34
Address : str
35
35
AddressType : Literal ["public" , "random" ]
@@ -50,32 +50,32 @@ class OrgBluezDevice1Dict(TypedDict, total=False):
50
50
WakeAllowed : bool
51
51
52
52
@type_check_only
53
- class OrgBluezInput1Dict (TypedDict , total = False ):
53
+ class _OrgBluezInput1Dict (TypedDict , total = False ): # noqa: Y049
54
54
ReconnectMode : str
55
55
56
56
@type_check_only
57
- class OrgBluezMedia1Dict (TypedDict , total = False ):
57
+ class _OrgBluezMedia1Dict (TypedDict , total = False ): # noqa: Y049
58
58
SupportedUUIDs : list [str ]
59
59
60
60
@type_check_only
61
- class OrgBluezMediaControl1Dict (TypedDict , total = False ):
61
+ class _OrgBluezMediaControl1Dict (TypedDict , total = False ): # noqa: Y049
62
62
Connected : bool
63
63
64
64
@type_check_only
65
- class OrgBluezBattery1Dict (TypedDict , total = False ):
65
+ class _OrgBluezBattery1Dict (TypedDict , total = False ): # noqa: Y049
66
66
Percentage : int
67
67
Source : str
68
68
69
69
@type_check_only
70
- class OrgBluezGattService1Dict (TypedDict , total = False ):
70
+ class _OrgBluezGattService1Dict (TypedDict , total = False ): # noqa: Y049
71
71
Device : str
72
72
Handle : int
73
73
Includes : list [str ]
74
74
Primary : bool
75
75
UUID : str
76
76
77
77
@type_check_only
78
- class OrgBluezGattCharacteristic1Dict (TypedDict , total = False ):
78
+ class _OrgBluezGattCharacteristic1Dict (TypedDict , total = False ): # noqa: Y049
79
79
Flags : list [str ]
80
80
Handle : int
81
81
MTU : int
@@ -84,14 +84,14 @@ class OrgBluezGattCharacteristic1Dict(TypedDict, total=False):
84
84
Value : list [int ]
85
85
86
86
@type_check_only
87
- class OrgBluezGattDescriptor1Dict (TypedDict , total = False ):
87
+ class _OrgBluezGattDescriptor1Dict (TypedDict , total = False ): # noqa: Y049
88
88
Characteristic : str
89
89
Handle : int
90
90
UUID : str
91
91
Value : list [int ]
92
92
93
93
@type_check_only
94
- class OrgBluezLEAdvertisingManager1Dict (TypedDict , total = False ):
94
+ class _OrgBluezLEAdvertisingManager1Dict (TypedDict , total = False ): # noqa: Y049
95
95
ActiveInstances : int
96
96
SupportedCapabilities : dict [str , int ] # e.g. MaxTxPower: 7
97
97
SupportedFeatures : list [str ]
@@ -100,7 +100,7 @@ class OrgBluezLEAdvertisingManager1Dict(TypedDict, total=False):
100
100
SupportedSecondaryChannels : list [str ]
101
101
102
102
@type_check_only
103
- class OrgBluezNetwork1Dict (TypedDict , total = False ):
103
+ class _OrgBluezNetwork1Dict (TypedDict , total = False ): # noqa: Y049
104
104
Connected : bool
105
105
Interface : str
106
106
UUID : str
@@ -110,17 +110,17 @@ class OrgBluezNetwork1Dict(TypedDict, total=False):
110
110
_OrgBluezDict = TypedDict (
111
111
"_OrgBluezDict" ,
112
112
{
113
- "org.bluez.Adapter1" : OrgBluezAdapter1Dict ,
114
- "org.bluez.Battery1" : OrgBluezBattery1Dict ,
115
- "org.bluez.Device1" : OrgBluezDevice1Dict ,
116
- "org.bluez.GattCharacteristic1" : OrgBluezGattCharacteristic1Dict ,
117
- "org.bluez.GattDescriptor1" : OrgBluezGattDescriptor1Dict ,
118
- "org.bluez.GattService1" : OrgBluezGattService1Dict ,
119
- "org.bluez.Input1" : OrgBluezInput1Dict ,
120
- "org.bluez.LEAdvertisingManager1" : OrgBluezLEAdvertisingManager1Dict ,
121
- "org.bluez.Media1" : OrgBluezMedia1Dict ,
122
- "org.bluez.Network1" : OrgBluezNetwork1Dict ,
123
- "org.bluez.MediaControl1" : OrgBluezMediaControl1Dict ,
113
+ "org.bluez.Adapter1" : _OrgBluezAdapter1Dict ,
114
+ "org.bluez.Battery1" : _OrgBluezBattery1Dict ,
115
+ "org.bluez.Device1" : _OrgBluezDevice1Dict ,
116
+ "org.bluez.GattCharacteristic1" : _OrgBluezGattCharacteristic1Dict ,
117
+ "org.bluez.GattDescriptor1" : _OrgBluezGattDescriptor1Dict ,
118
+ "org.bluez.GattService1" : _OrgBluezGattService1Dict ,
119
+ "org.bluez.Input1" : _OrgBluezInput1Dict ,
120
+ "org.bluez.LEAdvertisingManager1" : _OrgBluezLEAdvertisingManager1Dict ,
121
+ "org.bluez.Media1" : _OrgBluezMedia1Dict ,
122
+ "org.bluez.Network1" : _OrgBluezNetwork1Dict ,
123
+ "org.bluez.MediaControl1" : _OrgBluezMediaControl1Dict ,
124
124
# Dicts below are always empty because they have no properties. However, the key existence may still be useful
125
125
# for introspection.
126
126
"org.bluez.AgentManager1" : dict [str , Any ],
0 commit comments