@@ -29,7 +29,6 @@ def _get_kwargs(
2929 "headers" : headers ,
3030 "cookies" : cookies ,
3131 "timeout" : client .get_timeout (),
32- "auth" : client .get_auth (),
3332 "data" : xmltodict .unparse (json_json_body ),
3433 }
3534
@@ -63,16 +62,16 @@ def sync_detailed(
6362
6463 Args:
6564 json_body (RootTypeForXMLDeviceInfo): XML message about device information Example:
66- {'DeviceInfo': {'deviceName': '', 'deviceID': '', 'deviceDescription': {} ,
65+ {'DeviceInfo': {'deviceName': '', 'deviceID': '', 'deviceDescription': '' ,
6766 'deviceLocation': '', 'deviceStatus': '', 'DetailAbnormalStatus': {'hardDiskFull': {},
6867 'hardDiskError': {}, 'ethernetBroken': {}, 'ipaddrConflict': {}, 'illegalAccess': {},
6968 'recordError': {}, 'raidLogicDiskError': {}, 'spareWorkDeviceError': {}}, 'systemContact':
7069 '', 'model': '', 'serialNumber': '', 'macAddress': '', 'firmwareVersion': '',
7170 'firmwareReleasedDate': '', 'bootVersion': '', 'bootReleasedDate': '', 'hardwareVersion':
7271 '', 'encoderVersion': '', 'encoderReleasedDate': '', 'decoderVersion': '',
7372 'decoderReleasedDate': '', 'softwareVersion': '', 'capacity': '', 'usedCapacity': '',
74- 'deviceType': {} , 'telecontrolID': '', 'supportBeep': '', 'supportVideoLoss': '',
75- 'firmwareVersionInfo': '', 'actualFloorNum': {} , 'subChannelEnabled': '',
73+ 'deviceType': '' , 'telecontrolID': '', 'supportBeep': '', 'supportVideoLoss': '',
74+ 'firmwareVersionInfo': '', 'actualFloorNum': '' , 'subChannelEnabled': '',
7675 'thrChannelEnabled': '', 'radarVersion': '', 'cameraModuleVersion': '', 'mainversion': '',
7776 'subversion': '', 'upgradeversion': '', 'customizeversion': '', 'companyName': '',
7877 'copyright': '', 'systemName': '', 'systemStatus': '', 'isLeaderDevice': '',
@@ -102,8 +101,7 @@ def sync_detailed(
102101 json_body = json_body ,
103102 )
104103
105- response = httpx .request (
106- verify = client .verify_ssl ,
104+ response = client ._api .request (
107105 ** kwargs ,
108106 )
109107
@@ -119,16 +117,16 @@ def sync(
119117
120118 Args:
121119 json_body (RootTypeForXMLDeviceInfo): XML message about device information Example:
122- {'DeviceInfo': {'deviceName': '', 'deviceID': '', 'deviceDescription': {} ,
120+ {'DeviceInfo': {'deviceName': '', 'deviceID': '', 'deviceDescription': '' ,
123121 'deviceLocation': '', 'deviceStatus': '', 'DetailAbnormalStatus': {'hardDiskFull': {},
124122 'hardDiskError': {}, 'ethernetBroken': {}, 'ipaddrConflict': {}, 'illegalAccess': {},
125123 'recordError': {}, 'raidLogicDiskError': {}, 'spareWorkDeviceError': {}}, 'systemContact':
126124 '', 'model': '', 'serialNumber': '', 'macAddress': '', 'firmwareVersion': '',
127125 'firmwareReleasedDate': '', 'bootVersion': '', 'bootReleasedDate': '', 'hardwareVersion':
128126 '', 'encoderVersion': '', 'encoderReleasedDate': '', 'decoderVersion': '',
129127 'decoderReleasedDate': '', 'softwareVersion': '', 'capacity': '', 'usedCapacity': '',
130- 'deviceType': {} , 'telecontrolID': '', 'supportBeep': '', 'supportVideoLoss': '',
131- 'firmwareVersionInfo': '', 'actualFloorNum': {} , 'subChannelEnabled': '',
128+ 'deviceType': '' , 'telecontrolID': '', 'supportBeep': '', 'supportVideoLoss': '',
129+ 'firmwareVersionInfo': '', 'actualFloorNum': '' , 'subChannelEnabled': '',
132130 'thrChannelEnabled': '', 'radarVersion': '', 'cameraModuleVersion': '', 'mainversion': '',
133131 'subversion': '', 'upgradeversion': '', 'customizeversion': '', 'companyName': '',
134132 'copyright': '', 'systemName': '', 'systemStatus': '', 'isLeaderDevice': '',
@@ -168,16 +166,16 @@ async def asyncio_detailed(
168166
169167 Args:
170168 json_body (RootTypeForXMLDeviceInfo): XML message about device information Example:
171- {'DeviceInfo': {'deviceName': '', 'deviceID': '', 'deviceDescription': {} ,
169+ {'DeviceInfo': {'deviceName': '', 'deviceID': '', 'deviceDescription': '' ,
172170 'deviceLocation': '', 'deviceStatus': '', 'DetailAbnormalStatus': {'hardDiskFull': {},
173171 'hardDiskError': {}, 'ethernetBroken': {}, 'ipaddrConflict': {}, 'illegalAccess': {},
174172 'recordError': {}, 'raidLogicDiskError': {}, 'spareWorkDeviceError': {}}, 'systemContact':
175173 '', 'model': '', 'serialNumber': '', 'macAddress': '', 'firmwareVersion': '',
176174 'firmwareReleasedDate': '', 'bootVersion': '', 'bootReleasedDate': '', 'hardwareVersion':
177175 '', 'encoderVersion': '', 'encoderReleasedDate': '', 'decoderVersion': '',
178176 'decoderReleasedDate': '', 'softwareVersion': '', 'capacity': '', 'usedCapacity': '',
179- 'deviceType': {} , 'telecontrolID': '', 'supportBeep': '', 'supportVideoLoss': '',
180- 'firmwareVersionInfo': '', 'actualFloorNum': {} , 'subChannelEnabled': '',
177+ 'deviceType': '' , 'telecontrolID': '', 'supportBeep': '', 'supportVideoLoss': '',
178+ 'firmwareVersionInfo': '', 'actualFloorNum': '' , 'subChannelEnabled': '',
181179 'thrChannelEnabled': '', 'radarVersion': '', 'cameraModuleVersion': '', 'mainversion': '',
182180 'subversion': '', 'upgradeversion': '', 'customizeversion': '', 'companyName': '',
183181 'copyright': '', 'systemName': '', 'systemStatus': '', 'isLeaderDevice': '',
@@ -207,8 +205,7 @@ async def asyncio_detailed(
207205 json_body = json_body ,
208206 )
209207
210- async with httpx .AsyncClient (verify = client .verify_ssl ) as _client :
211- response = await _client .request (** kwargs )
208+ response = await client ._asyncio_api .request (** kwargs )
212209
213210 return _build_response (client = client , response = response )
214211
@@ -222,16 +219,16 @@ async def asyncio(
222219
223220 Args:
224221 json_body (RootTypeForXMLDeviceInfo): XML message about device information Example:
225- {'DeviceInfo': {'deviceName': '', 'deviceID': '', 'deviceDescription': {} ,
222+ {'DeviceInfo': {'deviceName': '', 'deviceID': '', 'deviceDescription': '' ,
226223 'deviceLocation': '', 'deviceStatus': '', 'DetailAbnormalStatus': {'hardDiskFull': {},
227224 'hardDiskError': {}, 'ethernetBroken': {}, 'ipaddrConflict': {}, 'illegalAccess': {},
228225 'recordError': {}, 'raidLogicDiskError': {}, 'spareWorkDeviceError': {}}, 'systemContact':
229226 '', 'model': '', 'serialNumber': '', 'macAddress': '', 'firmwareVersion': '',
230227 'firmwareReleasedDate': '', 'bootVersion': '', 'bootReleasedDate': '', 'hardwareVersion':
231228 '', 'encoderVersion': '', 'encoderReleasedDate': '', 'decoderVersion': '',
232229 'decoderReleasedDate': '', 'softwareVersion': '', 'capacity': '', 'usedCapacity': '',
233- 'deviceType': {} , 'telecontrolID': '', 'supportBeep': '', 'supportVideoLoss': '',
234- 'firmwareVersionInfo': '', 'actualFloorNum': {} , 'subChannelEnabled': '',
230+ 'deviceType': '' , 'telecontrolID': '', 'supportBeep': '', 'supportVideoLoss': '',
231+ 'firmwareVersionInfo': '', 'actualFloorNum': '' , 'subChannelEnabled': '',
235232 'thrChannelEnabled': '', 'radarVersion': '', 'cameraModuleVersion': '', 'mainversion': '',
236233 'subversion': '', 'upgradeversion': '', 'customizeversion': '', 'companyName': '',
237234 'copyright': '', 'systemName': '', 'systemStatus': '', 'isLeaderDevice': '',
0 commit comments