Skip to content

Commit 1ba2b3e

Browse files
committed
fix
1 parent 00c936d commit 1ba2b3e

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

cozeloop/internal/trace/model/model.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,21 @@ class FinishEventInfo:
4848
extra_params: Optional[FinishEventInfoExtra] = None
4949

5050

51-
@dataclass
5251
class TagTruncateConf:
53-
normal_field_max_byte: int
54-
input_output_field_max_byte: int
52+
def __init__(
53+
self,
54+
normal_field_max_byte: int,
55+
input_output_field_max_byte: int,
56+
):
57+
self.normal_field_max_byte = normal_field_max_byte
58+
self.input_output_field_max_byte = input_output_field_max_byte
5559

5660

57-
@dataclass
5861
class QueueConf:
59-
span_queue_length: int
60-
span_max_export_batch_length: int
62+
def __init__(
63+
self,
64+
span_queue_length: int,
65+
span_max_export_batch_length: int,
66+
):
67+
self.span_queue_length = span_queue_length
68+
self.span_max_export_batch_length = span_max_export_batch_length

0 commit comments

Comments
 (0)