@@ -206,114 +206,114 @@ def on_dns_cache_miss(self) -> "Signal[_SignalCallback[TraceDnsCacheMissParams]]
206
206
return self ._on_dns_cache_miss
207
207
208
208
209
- @attr .s (frozen = True , slots = True )
209
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
210
210
class TraceRequestStartParams :
211
211
""" Parameters sent by the `on_request_start` signal"""
212
212
213
- method = attr . ib ( type = str )
214
- url = attr . ib ( type = URL )
215
- headers = attr . ib ( type = "CIMultiDict[str]" )
213
+ method : str
214
+ url : URL
215
+ headers : "CIMultiDict[str]"
216
216
217
217
218
- @attr .s (frozen = True , slots = True )
218
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
219
219
class TraceRequestChunkSentParams :
220
220
""" Parameters sent by the `on_request_chunk_sent` signal"""
221
221
222
- method = attr . ib ( type = str )
223
- url = attr . ib ( type = URL )
224
- chunk = attr . ib ( type = bytes )
222
+ method : str
223
+ url : URL
224
+ chunk : bytes
225
225
226
226
227
- @attr .s (frozen = True , slots = True )
227
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
228
228
class TraceResponseChunkReceivedParams :
229
229
""" Parameters sent by the `on_response_chunk_received` signal"""
230
230
231
- method = attr . ib ( type = str )
232
- url = attr . ib ( type = URL )
233
- chunk = attr . ib ( type = bytes )
231
+ method : str
232
+ url : URL
233
+ chunk : bytes
234
234
235
235
236
- @attr .s (frozen = True , slots = True )
236
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
237
237
class TraceRequestEndParams :
238
238
""" Parameters sent by the `on_request_end` signal"""
239
239
240
- method = attr . ib ( type = str )
241
- url = attr . ib ( type = URL )
242
- headers = attr . ib ( type = "CIMultiDict[str]" )
243
- response = attr . ib ( type = ClientResponse )
240
+ method : str
241
+ url : URL
242
+ headers : "CIMultiDict[str]"
243
+ response : ClientResponse
244
244
245
245
246
- @attr .s (frozen = True , slots = True )
246
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
247
247
class TraceRequestExceptionParams :
248
248
""" Parameters sent by the `on_request_exception` signal"""
249
249
250
- method = attr . ib ( type = str )
251
- url = attr . ib ( type = URL )
252
- headers = attr . ib ( type = "CIMultiDict[str]" )
253
- exception = attr . ib ( type = BaseException )
250
+ method : str
251
+ url : URL
252
+ headers : "CIMultiDict[str]"
253
+ exception : BaseException
254
254
255
255
256
- @attr .s (frozen = True , slots = True )
256
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
257
257
class TraceRequestRedirectParams :
258
258
""" Parameters sent by the `on_request_redirect` signal"""
259
259
260
- method = attr . ib ( type = str )
261
- url = attr . ib ( type = URL )
262
- headers = attr . ib ( type = "CIMultiDict[str]" )
263
- response = attr . ib ( type = ClientResponse )
260
+ method : str
261
+ url : URL
262
+ headers : "CIMultiDict[str]"
263
+ response : ClientResponse
264
264
265
265
266
- @attr .s (frozen = True , slots = True )
266
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
267
267
class TraceConnectionQueuedStartParams :
268
268
""" Parameters sent by the `on_connection_queued_start` signal"""
269
269
270
270
271
- @attr .s (frozen = True , slots = True )
271
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
272
272
class TraceConnectionQueuedEndParams :
273
273
""" Parameters sent by the `on_connection_queued_end` signal"""
274
274
275
275
276
- @attr .s (frozen = True , slots = True )
276
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
277
277
class TraceConnectionCreateStartParams :
278
278
""" Parameters sent by the `on_connection_create_start` signal"""
279
279
280
280
281
- @attr .s (frozen = True , slots = True )
281
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
282
282
class TraceConnectionCreateEndParams :
283
283
""" Parameters sent by the `on_connection_create_end` signal"""
284
284
285
285
286
- @attr .s (frozen = True , slots = True )
286
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
287
287
class TraceConnectionReuseconnParams :
288
288
""" Parameters sent by the `on_connection_reuseconn` signal"""
289
289
290
290
291
- @attr .s (frozen = True , slots = True )
291
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
292
292
class TraceDnsResolveHostStartParams :
293
293
""" Parameters sent by the `on_dns_resolvehost_start` signal"""
294
294
295
- host = attr . ib ( type = str )
295
+ host : str
296
296
297
297
298
- @attr .s (frozen = True , slots = True )
298
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
299
299
class TraceDnsResolveHostEndParams :
300
300
""" Parameters sent by the `on_dns_resolvehost_end` signal"""
301
301
302
- host = attr . ib ( type = str )
302
+ host : str
303
303
304
304
305
- @attr .s (frozen = True , slots = True )
305
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
306
306
class TraceDnsCacheHitParams :
307
307
""" Parameters sent by the `on_dns_cache_hit` signal"""
308
308
309
- host = attr . ib ( type = str )
309
+ host : str
310
310
311
311
312
- @attr .s (frozen = True , slots = True )
312
+ @attr .s (auto_attribs = True , frozen = True , slots = True )
313
313
class TraceDnsCacheMissParams :
314
314
""" Parameters sent by the `on_dns_cache_miss` signal"""
315
315
316
- host = attr . ib ( type = str )
316
+ host : str
317
317
318
318
319
319
class Trace :
0 commit comments