@@ -206,114 +206,114 @@ def on_dns_cache_miss(self) -> "Signal[_SignalCallback[TraceDnsCacheMissParams]]
206206 return self ._on_dns_cache_miss
207207
208208
209- @attr .s (frozen = True , slots = True )
209+ @attr .s (auto_attribs = True , frozen = True , slots = True )
210210class TraceRequestStartParams :
211211 """ Parameters sent by the `on_request_start` signal"""
212212
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]"
216216
217217
218- @attr .s (frozen = True , slots = True )
218+ @attr .s (auto_attribs = True , frozen = True , slots = True )
219219class TraceRequestChunkSentParams :
220220 """ Parameters sent by the `on_request_chunk_sent` signal"""
221221
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
225225
226226
227- @attr .s (frozen = True , slots = True )
227+ @attr .s (auto_attribs = True , frozen = True , slots = True )
228228class TraceResponseChunkReceivedParams :
229229 """ Parameters sent by the `on_response_chunk_received` signal"""
230230
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
234234
235235
236- @attr .s (frozen = True , slots = True )
236+ @attr .s (auto_attribs = True , frozen = True , slots = True )
237237class TraceRequestEndParams :
238238 """ Parameters sent by the `on_request_end` signal"""
239239
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
244244
245245
246- @attr .s (frozen = True , slots = True )
246+ @attr .s (auto_attribs = True , frozen = True , slots = True )
247247class TraceRequestExceptionParams :
248248 """ Parameters sent by the `on_request_exception` signal"""
249249
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
254254
255255
256- @attr .s (frozen = True , slots = True )
256+ @attr .s (auto_attribs = True , frozen = True , slots = True )
257257class TraceRequestRedirectParams :
258258 """ Parameters sent by the `on_request_redirect` signal"""
259259
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
264264
265265
266- @attr .s (frozen = True , slots = True )
266+ @attr .s (auto_attribs = True , frozen = True , slots = True )
267267class TraceConnectionQueuedStartParams :
268268 """ Parameters sent by the `on_connection_queued_start` signal"""
269269
270270
271- @attr .s (frozen = True , slots = True )
271+ @attr .s (auto_attribs = True , frozen = True , slots = True )
272272class TraceConnectionQueuedEndParams :
273273 """ Parameters sent by the `on_connection_queued_end` signal"""
274274
275275
276- @attr .s (frozen = True , slots = True )
276+ @attr .s (auto_attribs = True , frozen = True , slots = True )
277277class TraceConnectionCreateStartParams :
278278 """ Parameters sent by the `on_connection_create_start` signal"""
279279
280280
281- @attr .s (frozen = True , slots = True )
281+ @attr .s (auto_attribs = True , frozen = True , slots = True )
282282class TraceConnectionCreateEndParams :
283283 """ Parameters sent by the `on_connection_create_end` signal"""
284284
285285
286- @attr .s (frozen = True , slots = True )
286+ @attr .s (auto_attribs = True , frozen = True , slots = True )
287287class TraceConnectionReuseconnParams :
288288 """ Parameters sent by the `on_connection_reuseconn` signal"""
289289
290290
291- @attr .s (frozen = True , slots = True )
291+ @attr .s (auto_attribs = True , frozen = True , slots = True )
292292class TraceDnsResolveHostStartParams :
293293 """ Parameters sent by the `on_dns_resolvehost_start` signal"""
294294
295- host = attr . ib ( type = str )
295+ host : str
296296
297297
298- @attr .s (frozen = True , slots = True )
298+ @attr .s (auto_attribs = True , frozen = True , slots = True )
299299class TraceDnsResolveHostEndParams :
300300 """ Parameters sent by the `on_dns_resolvehost_end` signal"""
301301
302- host = attr . ib ( type = str )
302+ host : str
303303
304304
305- @attr .s (frozen = True , slots = True )
305+ @attr .s (auto_attribs = True , frozen = True , slots = True )
306306class TraceDnsCacheHitParams :
307307 """ Parameters sent by the `on_dns_cache_hit` signal"""
308308
309- host = attr . ib ( type = str )
309+ host : str
310310
311311
312- @attr .s (frozen = True , slots = True )
312+ @attr .s (auto_attribs = True , frozen = True , slots = True )
313313class TraceDnsCacheMissParams :
314314 """ Parameters sent by the `on_dns_cache_miss` signal"""
315315
316- host = attr . ib ( type = str )
316+ host : str
317317
318318
319319class Trace :
0 commit comments