ommlds 0.0.0.dev498__py3-none-any.whl → 0.0.0.dev500__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ommlds/.omlish-manifests.json +2 -2
- ommlds/__about__.py +1 -1
- ommlds/backends/anthropic/protocol/sse/events.py +2 -0
- ommlds/backends/groq/clients.py +9 -0
- ommlds/cli/backends/meta.py +1 -1
- ommlds/minichain/_dataclasses.py +819 -671
- ommlds/minichain/backends/impls/groq/chat.py +2 -0
- ommlds/minichain/backends/impls/groq/stream.py +2 -0
- ommlds/minichain/wrappers/__init__.py +7 -0
- ommlds/minichain/{meta → wrappers}/firstinwins.py +49 -36
- ommlds/minichain/wrappers/retry.py +147 -0
- ommlds/minichain/wrappers/services.py +72 -0
- ommlds/minichain/wrappers/stream.py +57 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/METADATA +6 -6
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/RECORD +19 -15
- ommlds/minichain/meta/__init__.py +0 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/WHEEL +0 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/entry_points.txt +0 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/licenses/LICENSE +0 -0
- {ommlds-0.0.0.dev498.dist-info → ommlds-0.0.0.dev500.dist-info}/top_level.txt +0 -0
ommlds/minichain/_dataclasses.py
CHANGED
|
@@ -1157,6 +1157,7 @@ def _process_dataclass__b4a9277b8c9559fb4e325a8c35bc504f30ab2294():
|
|
|
1157
1157
|
('ommlds.minichain.chat.tools.execution', 'ToolFn.RawKwargsInput'),
|
|
1158
1158
|
('ommlds.minichain.chat.tools.execution', 'ToolFn.RawStringOutput'),
|
|
1159
1159
|
('ommlds.minichain.metadata', 'MetadataContainerDataclass'),
|
|
1160
|
+
('ommlds.minichain.wrappers.retry', 'RetryServiceMaxRetriesExceededError'),
|
|
1160
1161
|
),
|
|
1161
1162
|
)
|
|
1162
1163
|
def _process_dataclass__e1f7edfe11f2b721d6a656c46e698fedc95461bb():
|
|
@@ -17581,26 +17582,46 @@ def _process_dataclass__90327d7499fc348378f37c29946fda05f802116e():
|
|
|
17581
17582
|
|
|
17582
17583
|
@_register(
|
|
17583
17584
|
plan_repr=(
|
|
17584
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
17585
|
-
"
|
|
17586
|
-
"
|
|
17587
|
-
"
|
|
17588
|
-
"
|
|
17589
|
-
"
|
|
17585
|
+
"Plans(tup=(CopyPlan(fields=('title', 'url', 'description', 'snippets')), EqPlan(fields=('title', 'url', 'descr"
|
|
17586
|
+
"iption', 'snippets')), FrozenPlan(fields=('title', 'url', 'description', 'snippets'), allow_dynamic_dunder_att"
|
|
17587
|
+
"rs=False), HashPlan(action='add', fields=('title', 'url', 'description', 'snippets'), cache=False), InitPlan(f"
|
|
17588
|
+
"ields=(InitPlan.Field(name='title', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_f"
|
|
17589
|
+
"actory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type="
|
|
17590
|
+
"None), InitPlan.Field(name='url', annotation=OpRef(name='init.fields.1.annotation'), default=None, default_fac"
|
|
17591
|
+
"tory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=No"
|
|
17592
|
+
"ne), InitPlan.Field(name='description', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name="
|
|
17593
|
+
"'init.fields.2.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coer"
|
|
17594
|
+
"ce=None, validate=None, check_type=None), InitPlan.Field(name='snippets', annotation=OpRef(name='init.fields.3"
|
|
17595
|
+
".annotation'), default=OpRef(name='init.fields.3.default'), default_factory=None, init=True, override=False, f"
|
|
17596
|
+
"ield_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=(),"
|
|
17597
|
+
" kw_only_params=('title', 'url', 'description', 'snippets'), frozen=True, slots=False, post_init_params=None, "
|
|
17598
|
+
"init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='title', kw_only=True, fn=None), ReprPlan."
|
|
17599
|
+
"Field(name='url', kw_only=True, fn=None), ReprPlan.Field(name='description', kw_only=True, fn=None), ReprPlan."
|
|
17600
|
+
"Field(name='snippets', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
17590
17601
|
),
|
|
17591
|
-
plan_repr_sha1='
|
|
17602
|
+
plan_repr_sha1='f8383b0455fb7c3ce8ec3dace2df263307387c53',
|
|
17592
17603
|
op_ref_idents=(
|
|
17593
17604
|
'__dataclass__init__fields__0__annotation',
|
|
17605
|
+
'__dataclass__init__fields__1__annotation',
|
|
17606
|
+
'__dataclass__init__fields__2__annotation',
|
|
17607
|
+
'__dataclass__init__fields__2__default',
|
|
17608
|
+
'__dataclass__init__fields__3__annotation',
|
|
17609
|
+
'__dataclass__init__fields__3__default',
|
|
17594
17610
|
),
|
|
17595
17611
|
cls_names=(
|
|
17596
|
-
('ommlds.minichain.
|
|
17612
|
+
('ommlds.minichain.search', 'SearchHit'),
|
|
17597
17613
|
),
|
|
17598
17614
|
)
|
|
17599
|
-
def
|
|
17615
|
+
def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
17600
17616
|
def _process_dataclass(
|
|
17601
17617
|
*,
|
|
17602
17618
|
__dataclass__cls,
|
|
17603
17619
|
__dataclass__init__fields__0__annotation,
|
|
17620
|
+
__dataclass__init__fields__1__annotation,
|
|
17621
|
+
__dataclass__init__fields__2__annotation,
|
|
17622
|
+
__dataclass__init__fields__2__default,
|
|
17623
|
+
__dataclass__init__fields__3__annotation,
|
|
17624
|
+
__dataclass__init__fields__3__default,
|
|
17604
17625
|
__dataclass__FieldFnValidationError, # noqa
|
|
17605
17626
|
__dataclass__FieldTypeValidationError, # noqa
|
|
17606
17627
|
__dataclass__FnValidationError, # noqa
|
|
@@ -17619,7 +17640,10 @@ def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
|
17619
17640
|
if self.__class__ is not __dataclass__cls:
|
|
17620
17641
|
raise TypeError(self)
|
|
17621
17642
|
return __dataclass__cls( # noqa
|
|
17622
|
-
|
|
17643
|
+
title=self.title,
|
|
17644
|
+
url=self.url,
|
|
17645
|
+
description=self.description,
|
|
17646
|
+
snippets=self.snippets,
|
|
17623
17647
|
)
|
|
17624
17648
|
|
|
17625
17649
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -17633,7 +17657,10 @@ def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
|
17633
17657
|
if self.__class__ is not other.__class__:
|
|
17634
17658
|
return NotImplemented
|
|
17635
17659
|
return (
|
|
17636
|
-
self.
|
|
17660
|
+
self.title == other.title and
|
|
17661
|
+
self.url == other.url and
|
|
17662
|
+
self.description == other.description and
|
|
17663
|
+
self.snippets == other.snippets
|
|
17637
17664
|
)
|
|
17638
17665
|
|
|
17639
17666
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -17642,7 +17669,10 @@ def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
|
17642
17669
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
17643
17670
|
|
|
17644
17671
|
__dataclass___setattr_frozen_fields = {
|
|
17645
|
-
'
|
|
17672
|
+
'title',
|
|
17673
|
+
'url',
|
|
17674
|
+
'description',
|
|
17675
|
+
'snippets',
|
|
17646
17676
|
}
|
|
17647
17677
|
|
|
17648
17678
|
def __setattr__(self, name, value):
|
|
@@ -17659,7 +17689,10 @@ def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
|
17659
17689
|
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
17660
17690
|
|
|
17661
17691
|
__dataclass___delattr_frozen_fields = {
|
|
17662
|
-
'
|
|
17692
|
+
'title',
|
|
17693
|
+
'url',
|
|
17694
|
+
'description',
|
|
17695
|
+
'snippets',
|
|
17663
17696
|
}
|
|
17664
17697
|
|
|
17665
17698
|
def __delattr__(self, name):
|
|
@@ -17677,7 +17710,10 @@ def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
|
17677
17710
|
|
|
17678
17711
|
def __hash__(self):
|
|
17679
17712
|
return hash((
|
|
17680
|
-
self.
|
|
17713
|
+
self.title,
|
|
17714
|
+
self.url,
|
|
17715
|
+
self.description,
|
|
17716
|
+
self.snippets,
|
|
17681
17717
|
))
|
|
17682
17718
|
|
|
17683
17719
|
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
@@ -17685,9 +17721,16 @@ def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
|
17685
17721
|
|
|
17686
17722
|
def __init__(
|
|
17687
17723
|
self,
|
|
17688
|
-
|
|
17724
|
+
*,
|
|
17725
|
+
title: __dataclass__init__fields__0__annotation,
|
|
17726
|
+
url: __dataclass__init__fields__1__annotation,
|
|
17727
|
+
description: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
17728
|
+
snippets: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
17689
17729
|
) -> __dataclass__None:
|
|
17690
|
-
__dataclass__object_setattr(self, '
|
|
17730
|
+
__dataclass__object_setattr(self, 'title', title)
|
|
17731
|
+
__dataclass__object_setattr(self, 'url', url)
|
|
17732
|
+
__dataclass__object_setattr(self, 'description', description)
|
|
17733
|
+
__dataclass__object_setattr(self, 'snippets', snippets)
|
|
17691
17734
|
|
|
17692
17735
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
17693
17736
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -17697,7 +17740,10 @@ def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
|
17697
17740
|
@__dataclass___recursive_repr()
|
|
17698
17741
|
def __repr__(self):
|
|
17699
17742
|
parts = []
|
|
17700
|
-
parts.append(f"
|
|
17743
|
+
parts.append(f"title={self.title!r}")
|
|
17744
|
+
parts.append(f"url={self.url!r}")
|
|
17745
|
+
parts.append(f"description={self.description!r}")
|
|
17746
|
+
parts.append(f"snippets={self.snippets!r}")
|
|
17701
17747
|
return (
|
|
17702
17748
|
f"{self.__class__.__qualname__}("
|
|
17703
17749
|
f"{', '.join(parts)}"
|
|
@@ -17714,41 +17760,34 @@ def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
|
17714
17760
|
|
|
17715
17761
|
@_register(
|
|
17716
17762
|
plan_repr=(
|
|
17717
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
17718
|
-
"
|
|
17719
|
-
"
|
|
17720
|
-
"
|
|
17721
|
-
"
|
|
17722
|
-
"
|
|
17723
|
-
"e=None),
|
|
17724
|
-
"
|
|
17725
|
-
",
|
|
17726
|
-
"
|
|
17727
|
-
"eldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=('first_in_wins"
|
|
17728
|
-
"_service', 'response_service', 'service_exceptions'), kw_only_params=(), frozen=True, slots=False, post_init_p"
|
|
17729
|
-
"arams=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='first_in_wins_service', kw_on"
|
|
17730
|
-
"ly=False, fn=None), ReprPlan.Field(name='response_service', kw_only=False, fn=None), ReprPlan.Field(name='serv"
|
|
17731
|
-
"ice_exceptions', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
17763
|
+
"Plans(tup=(CopyPlan(fields=('l', 'total_results')), EqPlan(fields=('l', 'total_results')), FrozenPlan(fields=("
|
|
17764
|
+
"'l', 'total_results'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('l', 'total_results')"
|
|
17765
|
+
", cache=False), InitPlan(fields=(InitPlan.Field(name='l', annotation=OpRef(name='init.fields.0.annotation'), d"
|
|
17766
|
+
"efault=None, default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, vali"
|
|
17767
|
+
"date=None, check_type=None), InitPlan.Field(name='total_results', annotation=OpRef(name='init.fields.1.annotat"
|
|
17768
|
+
"ion'), default=OpRef(name='init.fields.1.default'), default_factory=None, init=True, override=False, field_typ"
|
|
17769
|
+
"e=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=(), kw_only"
|
|
17770
|
+
"_params=('l', 'total_results'), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=())"
|
|
17771
|
+
", ReprPlan(fields=(ReprPlan.Field(name='l', kw_only=True, fn=None), ReprPlan.Field(name='total_results', kw_on"
|
|
17772
|
+
"ly=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
17732
17773
|
),
|
|
17733
|
-
plan_repr_sha1='
|
|
17774
|
+
plan_repr_sha1='c5ebc75df7787604091e8a5696458c845a88b433',
|
|
17734
17775
|
op_ref_idents=(
|
|
17735
17776
|
'__dataclass__init__fields__0__annotation',
|
|
17736
17777
|
'__dataclass__init__fields__1__annotation',
|
|
17737
|
-
'
|
|
17738
|
-
'__dataclass__init__fields__2__default',
|
|
17778
|
+
'__dataclass__init__fields__1__default',
|
|
17739
17779
|
),
|
|
17740
17780
|
cls_names=(
|
|
17741
|
-
('ommlds.minichain.
|
|
17781
|
+
('ommlds.minichain.search', 'SearchHits'),
|
|
17742
17782
|
),
|
|
17743
17783
|
)
|
|
17744
|
-
def
|
|
17784
|
+
def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
17745
17785
|
def _process_dataclass(
|
|
17746
17786
|
*,
|
|
17747
17787
|
__dataclass__cls,
|
|
17748
17788
|
__dataclass__init__fields__0__annotation,
|
|
17749
17789
|
__dataclass__init__fields__1__annotation,
|
|
17750
|
-
|
|
17751
|
-
__dataclass__init__fields__2__default,
|
|
17790
|
+
__dataclass__init__fields__1__default,
|
|
17752
17791
|
__dataclass__FieldFnValidationError, # noqa
|
|
17753
17792
|
__dataclass__FieldTypeValidationError, # noqa
|
|
17754
17793
|
__dataclass__FnValidationError, # noqa
|
|
@@ -17767,9 +17806,8 @@ def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
|
17767
17806
|
if self.__class__ is not __dataclass__cls:
|
|
17768
17807
|
raise TypeError(self)
|
|
17769
17808
|
return __dataclass__cls( # noqa
|
|
17770
|
-
|
|
17771
|
-
|
|
17772
|
-
service_exceptions=self.service_exceptions,
|
|
17809
|
+
l=self.l,
|
|
17810
|
+
total_results=self.total_results,
|
|
17773
17811
|
)
|
|
17774
17812
|
|
|
17775
17813
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -17783,9 +17821,8 @@ def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
|
17783
17821
|
if self.__class__ is not other.__class__:
|
|
17784
17822
|
return NotImplemented
|
|
17785
17823
|
return (
|
|
17786
|
-
self.
|
|
17787
|
-
self.
|
|
17788
|
-
self.service_exceptions == other.service_exceptions
|
|
17824
|
+
self.l == other.l and
|
|
17825
|
+
self.total_results == other.total_results
|
|
17789
17826
|
)
|
|
17790
17827
|
|
|
17791
17828
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -17794,9 +17831,8 @@ def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
|
17794
17831
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
17795
17832
|
|
|
17796
17833
|
__dataclass___setattr_frozen_fields = {
|
|
17797
|
-
'
|
|
17798
|
-
'
|
|
17799
|
-
'service_exceptions',
|
|
17834
|
+
'l',
|
|
17835
|
+
'total_results',
|
|
17800
17836
|
}
|
|
17801
17837
|
|
|
17802
17838
|
def __setattr__(self, name, value):
|
|
@@ -17813,9 +17849,8 @@ def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
|
17813
17849
|
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
17814
17850
|
|
|
17815
17851
|
__dataclass___delattr_frozen_fields = {
|
|
17816
|
-
'
|
|
17817
|
-
'
|
|
17818
|
-
'service_exceptions',
|
|
17852
|
+
'l',
|
|
17853
|
+
'total_results',
|
|
17819
17854
|
}
|
|
17820
17855
|
|
|
17821
17856
|
def __delattr__(self, name):
|
|
@@ -17833,9 +17868,8 @@ def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
|
17833
17868
|
|
|
17834
17869
|
def __hash__(self):
|
|
17835
17870
|
return hash((
|
|
17836
|
-
self.
|
|
17837
|
-
self.
|
|
17838
|
-
self.service_exceptions,
|
|
17871
|
+
self.l,
|
|
17872
|
+
self.total_results,
|
|
17839
17873
|
))
|
|
17840
17874
|
|
|
17841
17875
|
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
@@ -17843,13 +17877,12 @@ def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
|
17843
17877
|
|
|
17844
17878
|
def __init__(
|
|
17845
17879
|
self,
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17880
|
+
*,
|
|
17881
|
+
l: __dataclass__init__fields__0__annotation,
|
|
17882
|
+
total_results: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
17849
17883
|
) -> __dataclass__None:
|
|
17850
|
-
__dataclass__object_setattr(self, '
|
|
17851
|
-
__dataclass__object_setattr(self, '
|
|
17852
|
-
__dataclass__object_setattr(self, 'service_exceptions', service_exceptions)
|
|
17884
|
+
__dataclass__object_setattr(self, 'l', l)
|
|
17885
|
+
__dataclass__object_setattr(self, 'total_results', total_results)
|
|
17853
17886
|
|
|
17854
17887
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
17855
17888
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -17859,9 +17892,8 @@ def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
|
17859
17892
|
@__dataclass___recursive_repr()
|
|
17860
17893
|
def __repr__(self):
|
|
17861
17894
|
parts = []
|
|
17862
|
-
parts.append(f"
|
|
17863
|
-
parts.append(f"
|
|
17864
|
-
parts.append(f"service_exceptions={self.service_exceptions!r}")
|
|
17895
|
+
parts.append(f"l={self.l!r}")
|
|
17896
|
+
parts.append(f"total_results={self.total_results!r}")
|
|
17865
17897
|
return (
|
|
17866
17898
|
f"{self.__class__.__qualname__}("
|
|
17867
17899
|
f"{', '.join(parts)}"
|
|
@@ -17878,46 +17910,36 @@ def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
|
17878
17910
|
|
|
17879
17911
|
@_register(
|
|
17880
17912
|
plan_repr=(
|
|
17881
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
17882
|
-
"
|
|
17883
|
-
"
|
|
17884
|
-
"
|
|
17885
|
-
"
|
|
17886
|
-
"
|
|
17887
|
-
"
|
|
17888
|
-
"
|
|
17889
|
-
"
|
|
17890
|
-
"
|
|
17891
|
-
"
|
|
17892
|
-
"
|
|
17893
|
-
" kw_only_params=('title', 'url', 'description', 'snippets'), frozen=True, slots=False, post_init_params=None, "
|
|
17894
|
-
"init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='title', kw_only=True, fn=None), ReprPlan."
|
|
17895
|
-
"Field(name='url', kw_only=True, fn=None), ReprPlan.Field(name='description', kw_only=True, fn=None), ReprPlan."
|
|
17896
|
-
"Field(name='snippets', kw_only=True, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
17913
|
+
"Plans(tup=(CopyPlan(fields=('rty', 'tv_fld', 'v_m')), EqPlan(fields=('rty', 'tv_fld', 'v_m')), FrozenPlan(fiel"
|
|
17914
|
+
"ds=('rty', 'tv_fld', 'v_m'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fields=('rty', 'tv_fld'"
|
|
17915
|
+
", 'v_m'), cache=False), InitPlan(fields=(InitPlan.Field(name='rty', annotation=OpRef(name='init.fields.0.annot"
|
|
17916
|
+
"ation'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce="
|
|
17917
|
+
"None, validate=None, check_type=None), InitPlan.Field(name='tv_fld', annotation=OpRef(name='init.fields.1.anno"
|
|
17918
|
+
"tation'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce"
|
|
17919
|
+
"=None, validate=None, check_type=None), InitPlan.Field(name='v_m', annotation=OpRef(name='init.fields.2.annota"
|
|
17920
|
+
"tion'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=N"
|
|
17921
|
+
"one, validate=None, check_type=None)), self_param='self', std_params=('rty', 'tv_fld', 'v_m'), kw_only_params="
|
|
17922
|
+
"(), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan."
|
|
17923
|
+
"Field(name='rty', kw_only=False, fn=None), ReprPlan.Field(name='tv_fld', kw_only=False, fn=None), ReprPlan.Fie"
|
|
17924
|
+
"ld(name='v_m', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
17897
17925
|
),
|
|
17898
|
-
plan_repr_sha1='
|
|
17926
|
+
plan_repr_sha1='3351f2836d3548cfa09118e14f4aabcde84625f4',
|
|
17899
17927
|
op_ref_idents=(
|
|
17900
17928
|
'__dataclass__init__fields__0__annotation',
|
|
17901
17929
|
'__dataclass__init__fields__1__annotation',
|
|
17902
17930
|
'__dataclass__init__fields__2__annotation',
|
|
17903
|
-
'__dataclass__init__fields__2__default',
|
|
17904
|
-
'__dataclass__init__fields__3__annotation',
|
|
17905
|
-
'__dataclass__init__fields__3__default',
|
|
17906
17931
|
),
|
|
17907
17932
|
cls_names=(
|
|
17908
|
-
('ommlds.minichain.
|
|
17933
|
+
('ommlds.minichain.services._marshal', '_RequestResponseMarshaler'),
|
|
17909
17934
|
),
|
|
17910
17935
|
)
|
|
17911
|
-
def
|
|
17936
|
+
def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
17912
17937
|
def _process_dataclass(
|
|
17913
17938
|
*,
|
|
17914
17939
|
__dataclass__cls,
|
|
17915
17940
|
__dataclass__init__fields__0__annotation,
|
|
17916
17941
|
__dataclass__init__fields__1__annotation,
|
|
17917
17942
|
__dataclass__init__fields__2__annotation,
|
|
17918
|
-
__dataclass__init__fields__2__default,
|
|
17919
|
-
__dataclass__init__fields__3__annotation,
|
|
17920
|
-
__dataclass__init__fields__3__default,
|
|
17921
17943
|
__dataclass__FieldFnValidationError, # noqa
|
|
17922
17944
|
__dataclass__FieldTypeValidationError, # noqa
|
|
17923
17945
|
__dataclass__FnValidationError, # noqa
|
|
@@ -17936,10 +17958,9 @@ def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
|
17936
17958
|
if self.__class__ is not __dataclass__cls:
|
|
17937
17959
|
raise TypeError(self)
|
|
17938
17960
|
return __dataclass__cls( # noqa
|
|
17939
|
-
|
|
17940
|
-
|
|
17941
|
-
|
|
17942
|
-
snippets=self.snippets,
|
|
17961
|
+
rty=self.rty,
|
|
17962
|
+
tv_fld=self.tv_fld,
|
|
17963
|
+
v_m=self.v_m,
|
|
17943
17964
|
)
|
|
17944
17965
|
|
|
17945
17966
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -17953,10 +17974,9 @@ def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
|
17953
17974
|
if self.__class__ is not other.__class__:
|
|
17954
17975
|
return NotImplemented
|
|
17955
17976
|
return (
|
|
17956
|
-
self.
|
|
17957
|
-
self.
|
|
17958
|
-
self.
|
|
17959
|
-
self.snippets == other.snippets
|
|
17977
|
+
self.rty == other.rty and
|
|
17978
|
+
self.tv_fld == other.tv_fld and
|
|
17979
|
+
self.v_m == other.v_m
|
|
17960
17980
|
)
|
|
17961
17981
|
|
|
17962
17982
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -17965,10 +17985,9 @@ def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
|
17965
17985
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
17966
17986
|
|
|
17967
17987
|
__dataclass___setattr_frozen_fields = {
|
|
17968
|
-
'
|
|
17969
|
-
'
|
|
17970
|
-
'
|
|
17971
|
-
'snippets',
|
|
17988
|
+
'rty',
|
|
17989
|
+
'tv_fld',
|
|
17990
|
+
'v_m',
|
|
17972
17991
|
}
|
|
17973
17992
|
|
|
17974
17993
|
def __setattr__(self, name, value):
|
|
@@ -17985,10 +18004,9 @@ def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
|
17985
18004
|
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
17986
18005
|
|
|
17987
18006
|
__dataclass___delattr_frozen_fields = {
|
|
17988
|
-
'
|
|
17989
|
-
'
|
|
17990
|
-
'
|
|
17991
|
-
'snippets',
|
|
18007
|
+
'rty',
|
|
18008
|
+
'tv_fld',
|
|
18009
|
+
'v_m',
|
|
17992
18010
|
}
|
|
17993
18011
|
|
|
17994
18012
|
def __delattr__(self, name):
|
|
@@ -18006,10 +18024,9 @@ def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
|
18006
18024
|
|
|
18007
18025
|
def __hash__(self):
|
|
18008
18026
|
return hash((
|
|
18009
|
-
self.
|
|
18010
|
-
self.
|
|
18011
|
-
self.
|
|
18012
|
-
self.snippets,
|
|
18027
|
+
self.rty,
|
|
18028
|
+
self.tv_fld,
|
|
18029
|
+
self.v_m,
|
|
18013
18030
|
))
|
|
18014
18031
|
|
|
18015
18032
|
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
@@ -18017,16 +18034,13 @@ def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
|
18017
18034
|
|
|
18018
18035
|
def __init__(
|
|
18019
18036
|
self,
|
|
18020
|
-
|
|
18021
|
-
|
|
18022
|
-
|
|
18023
|
-
description: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
18024
|
-
snippets: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
18037
|
+
rty: __dataclass__init__fields__0__annotation,
|
|
18038
|
+
tv_fld: __dataclass__init__fields__1__annotation,
|
|
18039
|
+
v_m: __dataclass__init__fields__2__annotation,
|
|
18025
18040
|
) -> __dataclass__None:
|
|
18026
|
-
__dataclass__object_setattr(self, '
|
|
18027
|
-
__dataclass__object_setattr(self, '
|
|
18028
|
-
__dataclass__object_setattr(self, '
|
|
18029
|
-
__dataclass__object_setattr(self, 'snippets', snippets)
|
|
18041
|
+
__dataclass__object_setattr(self, 'rty', rty)
|
|
18042
|
+
__dataclass__object_setattr(self, 'tv_fld', tv_fld)
|
|
18043
|
+
__dataclass__object_setattr(self, 'v_m', v_m)
|
|
18030
18044
|
|
|
18031
18045
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
18032
18046
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -18036,10 +18050,9 @@ def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
|
18036
18050
|
@__dataclass___recursive_repr()
|
|
18037
18051
|
def __repr__(self):
|
|
18038
18052
|
parts = []
|
|
18039
|
-
parts.append(f"
|
|
18040
|
-
parts.append(f"
|
|
18041
|
-
parts.append(f"
|
|
18042
|
-
parts.append(f"snippets={self.snippets!r}")
|
|
18053
|
+
parts.append(f"rty={self.rty!r}")
|
|
18054
|
+
parts.append(f"tv_fld={self.tv_fld!r}")
|
|
18055
|
+
parts.append(f"v_m={self.v_m!r}")
|
|
18043
18056
|
return (
|
|
18044
18057
|
f"{self.__class__.__qualname__}("
|
|
18045
18058
|
f"{', '.join(parts)}"
|
|
@@ -18056,34 +18069,41 @@ def _process_dataclass__f8383b0455fb7c3ce8ec3dace2df263307387c53():
|
|
|
18056
18069
|
|
|
18057
18070
|
@_register(
|
|
18058
18071
|
plan_repr=(
|
|
18059
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
18060
|
-
"'
|
|
18061
|
-
", cache=False), InitPlan(fields=(InitPlan.Field(name='
|
|
18062
|
-
"
|
|
18063
|
-
"
|
|
18064
|
-
"
|
|
18065
|
-
"
|
|
18066
|
-
"
|
|
18067
|
-
",
|
|
18068
|
-
"
|
|
18072
|
+
"Plans(tup=(CopyPlan(fields=('rty', 'tv_fld', 'v_u', 'tv_u')), EqPlan(fields=('rty', 'tv_fld', 'v_u', 'tv_u')),"
|
|
18073
|
+
" FrozenPlan(fields=('rty', 'tv_fld', 'v_u', 'tv_u'), allow_dynamic_dunder_attrs=False), HashPlan(action='add',"
|
|
18074
|
+
" fields=('rty', 'tv_fld', 'v_u', 'tv_u'), cache=False), InitPlan(fields=(InitPlan.Field(name='rty', annotation"
|
|
18075
|
+
"=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, field_"
|
|
18076
|
+
"type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='tv_fld', annotatio"
|
|
18077
|
+
"n=OpRef(name='init.fields.1.annotation'), default=None, default_factory=None, init=True, override=False, field"
|
|
18078
|
+
"_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='v_u', annotation="
|
|
18079
|
+
"OpRef(name='init.fields.2.annotation'), default=None, default_factory=None, init=True, override=False, field_t"
|
|
18080
|
+
"ype=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='tv_u', annotation=O"
|
|
18081
|
+
"pRef(name='init.fields.3.annotation'), default=None, default_factory=None, init=True, override=False, field_ty"
|
|
18082
|
+
"pe=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=('rty', 't"
|
|
18083
|
+
"v_fld', 'v_u', 'tv_u'), kw_only_params=(), frozen=True, slots=False, post_init_params=None, init_fns=(), valid"
|
|
18084
|
+
"ate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='rty', kw_only=False, fn=None), ReprPlan.Field(name='tv_fld'"
|
|
18085
|
+
", kw_only=False, fn=None), ReprPlan.Field(name='v_u', kw_only=False, fn=None), ReprPlan.Field(name='tv_u', kw_"
|
|
18086
|
+
"only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
18069
18087
|
),
|
|
18070
|
-
plan_repr_sha1='
|
|
18088
|
+
plan_repr_sha1='48fce044c70087260e75d4a7c33663b383fb8b2a',
|
|
18071
18089
|
op_ref_idents=(
|
|
18072
18090
|
'__dataclass__init__fields__0__annotation',
|
|
18073
18091
|
'__dataclass__init__fields__1__annotation',
|
|
18074
|
-
'
|
|
18092
|
+
'__dataclass__init__fields__2__annotation',
|
|
18093
|
+
'__dataclass__init__fields__3__annotation',
|
|
18075
18094
|
),
|
|
18076
18095
|
cls_names=(
|
|
18077
|
-
('ommlds.minichain.
|
|
18096
|
+
('ommlds.minichain.services._marshal', '_RequestResponseUnmarshaler'),
|
|
18078
18097
|
),
|
|
18079
18098
|
)
|
|
18080
|
-
def
|
|
18099
|
+
def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
18081
18100
|
def _process_dataclass(
|
|
18082
18101
|
*,
|
|
18083
18102
|
__dataclass__cls,
|
|
18084
18103
|
__dataclass__init__fields__0__annotation,
|
|
18085
18104
|
__dataclass__init__fields__1__annotation,
|
|
18086
|
-
|
|
18105
|
+
__dataclass__init__fields__2__annotation,
|
|
18106
|
+
__dataclass__init__fields__3__annotation,
|
|
18087
18107
|
__dataclass__FieldFnValidationError, # noqa
|
|
18088
18108
|
__dataclass__FieldTypeValidationError, # noqa
|
|
18089
18109
|
__dataclass__FnValidationError, # noqa
|
|
@@ -18102,8 +18122,10 @@ def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
|
18102
18122
|
if self.__class__ is not __dataclass__cls:
|
|
18103
18123
|
raise TypeError(self)
|
|
18104
18124
|
return __dataclass__cls( # noqa
|
|
18105
|
-
|
|
18106
|
-
|
|
18125
|
+
rty=self.rty,
|
|
18126
|
+
tv_fld=self.tv_fld,
|
|
18127
|
+
v_u=self.v_u,
|
|
18128
|
+
tv_u=self.tv_u,
|
|
18107
18129
|
)
|
|
18108
18130
|
|
|
18109
18131
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -18117,8 +18139,10 @@ def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
|
18117
18139
|
if self.__class__ is not other.__class__:
|
|
18118
18140
|
return NotImplemented
|
|
18119
18141
|
return (
|
|
18120
|
-
self.
|
|
18121
|
-
self.
|
|
18142
|
+
self.rty == other.rty and
|
|
18143
|
+
self.tv_fld == other.tv_fld and
|
|
18144
|
+
self.v_u == other.v_u and
|
|
18145
|
+
self.tv_u == other.tv_u
|
|
18122
18146
|
)
|
|
18123
18147
|
|
|
18124
18148
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -18127,8 +18151,10 @@ def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
|
18127
18151
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
18128
18152
|
|
|
18129
18153
|
__dataclass___setattr_frozen_fields = {
|
|
18130
|
-
'
|
|
18131
|
-
'
|
|
18154
|
+
'rty',
|
|
18155
|
+
'tv_fld',
|
|
18156
|
+
'v_u',
|
|
18157
|
+
'tv_u',
|
|
18132
18158
|
}
|
|
18133
18159
|
|
|
18134
18160
|
def __setattr__(self, name, value):
|
|
@@ -18145,8 +18171,10 @@ def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
|
18145
18171
|
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
18146
18172
|
|
|
18147
18173
|
__dataclass___delattr_frozen_fields = {
|
|
18148
|
-
'
|
|
18149
|
-
'
|
|
18174
|
+
'rty',
|
|
18175
|
+
'tv_fld',
|
|
18176
|
+
'v_u',
|
|
18177
|
+
'tv_u',
|
|
18150
18178
|
}
|
|
18151
18179
|
|
|
18152
18180
|
def __delattr__(self, name):
|
|
@@ -18164,8 +18192,10 @@ def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
|
18164
18192
|
|
|
18165
18193
|
def __hash__(self):
|
|
18166
18194
|
return hash((
|
|
18167
|
-
self.
|
|
18168
|
-
self.
|
|
18195
|
+
self.rty,
|
|
18196
|
+
self.tv_fld,
|
|
18197
|
+
self.v_u,
|
|
18198
|
+
self.tv_u,
|
|
18169
18199
|
))
|
|
18170
18200
|
|
|
18171
18201
|
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
@@ -18173,12 +18203,15 @@ def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
|
18173
18203
|
|
|
18174
18204
|
def __init__(
|
|
18175
18205
|
self,
|
|
18176
|
-
|
|
18177
|
-
|
|
18178
|
-
|
|
18206
|
+
rty: __dataclass__init__fields__0__annotation,
|
|
18207
|
+
tv_fld: __dataclass__init__fields__1__annotation,
|
|
18208
|
+
v_u: __dataclass__init__fields__2__annotation,
|
|
18209
|
+
tv_u: __dataclass__init__fields__3__annotation,
|
|
18179
18210
|
) -> __dataclass__None:
|
|
18180
|
-
__dataclass__object_setattr(self, '
|
|
18181
|
-
__dataclass__object_setattr(self, '
|
|
18211
|
+
__dataclass__object_setattr(self, 'rty', rty)
|
|
18212
|
+
__dataclass__object_setattr(self, 'tv_fld', tv_fld)
|
|
18213
|
+
__dataclass__object_setattr(self, 'v_u', v_u)
|
|
18214
|
+
__dataclass__object_setattr(self, 'tv_u', tv_u)
|
|
18182
18215
|
|
|
18183
18216
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
18184
18217
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -18188,8 +18221,10 @@ def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
|
18188
18221
|
@__dataclass___recursive_repr()
|
|
18189
18222
|
def __repr__(self):
|
|
18190
18223
|
parts = []
|
|
18191
|
-
parts.append(f"
|
|
18192
|
-
parts.append(f"
|
|
18224
|
+
parts.append(f"rty={self.rty!r}")
|
|
18225
|
+
parts.append(f"tv_fld={self.tv_fld!r}")
|
|
18226
|
+
parts.append(f"v_u={self.v_u!r}")
|
|
18227
|
+
parts.append(f"tv_u={self.tv_u!r}")
|
|
18193
18228
|
return (
|
|
18194
18229
|
f"{self.__class__.__qualname__}("
|
|
18195
18230
|
f"{', '.join(parts)}"
|
|
@@ -18206,36 +18241,29 @@ def _process_dataclass__c5ebc75df7787604091e8a5696458c845a88b433():
|
|
|
18206
18241
|
|
|
18207
18242
|
@_register(
|
|
18208
18243
|
plan_repr=(
|
|
18209
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
18210
|
-
"
|
|
18211
|
-
"
|
|
18212
|
-
"
|
|
18213
|
-
"
|
|
18214
|
-
"
|
|
18215
|
-
"
|
|
18216
|
-
"tion'), default=None, default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=N"
|
|
18217
|
-
"one, validate=None, check_type=None)), self_param='self', std_params=('rty', 'tv_fld', 'v_m'), kw_only_params="
|
|
18218
|
-
"(), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan."
|
|
18219
|
-
"Field(name='rty', kw_only=False, fn=None), ReprPlan.Field(name='tv_fld', kw_only=False, fn=None), ReprPlan.Fie"
|
|
18220
|
-
"ld(name='v_m', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
18244
|
+
"Plans(tup=(CopyPlan(fields=('v',)), EqPlan(fields=('v',)), FrozenPlan(fields=('v',), allow_dynamic_dunder_attr"
|
|
18245
|
+
"s=False), HashPlan(action='add', fields=('v',), cache=False), InitPlan(fields=(InitPlan.Field(name='v', annota"
|
|
18246
|
+
"tion=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, fi"
|
|
18247
|
+
"eld_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None),), self_param='self', std_params=('v"
|
|
18248
|
+
"',), kw_only_params=(), frozen=True, slots=False, post_init_params=None, init_fns=(OpRef(name='init.init_fns.0"
|
|
18249
|
+
"'),), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='v', kw_only=False, fn=None),), id=False, terse=T"
|
|
18250
|
+
"rue, default_fn=None)))"
|
|
18221
18251
|
),
|
|
18222
|
-
plan_repr_sha1='
|
|
18252
|
+
plan_repr_sha1='51fa5d3a6be91e1d96445ebeeacacf7a64173c0a',
|
|
18223
18253
|
op_ref_idents=(
|
|
18224
18254
|
'__dataclass__init__fields__0__annotation',
|
|
18225
|
-
'
|
|
18226
|
-
'__dataclass__init__fields__2__annotation',
|
|
18255
|
+
'__dataclass__init__init_fns__0',
|
|
18227
18256
|
),
|
|
18228
18257
|
cls_names=(
|
|
18229
|
-
('ommlds.minichain.
|
|
18258
|
+
('ommlds.minichain.standard', 'DefaultOptions'),
|
|
18230
18259
|
),
|
|
18231
18260
|
)
|
|
18232
|
-
def
|
|
18261
|
+
def _process_dataclass__51fa5d3a6be91e1d96445ebeeacacf7a64173c0a():
|
|
18233
18262
|
def _process_dataclass(
|
|
18234
18263
|
*,
|
|
18235
18264
|
__dataclass__cls,
|
|
18236
18265
|
__dataclass__init__fields__0__annotation,
|
|
18237
|
-
|
|
18238
|
-
__dataclass__init__fields__2__annotation,
|
|
18266
|
+
__dataclass__init__init_fns__0,
|
|
18239
18267
|
__dataclass__FieldFnValidationError, # noqa
|
|
18240
18268
|
__dataclass__FieldTypeValidationError, # noqa
|
|
18241
18269
|
__dataclass__FnValidationError, # noqa
|
|
@@ -18254,9 +18282,7 @@ def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
|
18254
18282
|
if self.__class__ is not __dataclass__cls:
|
|
18255
18283
|
raise TypeError(self)
|
|
18256
18284
|
return __dataclass__cls( # noqa
|
|
18257
|
-
|
|
18258
|
-
tv_fld=self.tv_fld,
|
|
18259
|
-
v_m=self.v_m,
|
|
18285
|
+
v=self.v,
|
|
18260
18286
|
)
|
|
18261
18287
|
|
|
18262
18288
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -18270,9 +18296,7 @@ def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
|
18270
18296
|
if self.__class__ is not other.__class__:
|
|
18271
18297
|
return NotImplemented
|
|
18272
18298
|
return (
|
|
18273
|
-
self.
|
|
18274
|
-
self.tv_fld == other.tv_fld and
|
|
18275
|
-
self.v_m == other.v_m
|
|
18299
|
+
self.v == other.v
|
|
18276
18300
|
)
|
|
18277
18301
|
|
|
18278
18302
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -18281,9 +18305,7 @@ def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
|
18281
18305
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
18282
18306
|
|
|
18283
18307
|
__dataclass___setattr_frozen_fields = {
|
|
18284
|
-
'
|
|
18285
|
-
'tv_fld',
|
|
18286
|
-
'v_m',
|
|
18308
|
+
'v',
|
|
18287
18309
|
}
|
|
18288
18310
|
|
|
18289
18311
|
def __setattr__(self, name, value):
|
|
@@ -18300,9 +18322,7 @@ def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
|
18300
18322
|
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
18301
18323
|
|
|
18302
18324
|
__dataclass___delattr_frozen_fields = {
|
|
18303
|
-
'
|
|
18304
|
-
'tv_fld',
|
|
18305
|
-
'v_m',
|
|
18325
|
+
'v',
|
|
18306
18326
|
}
|
|
18307
18327
|
|
|
18308
18328
|
def __delattr__(self, name):
|
|
@@ -18320,9 +18340,7 @@ def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
|
18320
18340
|
|
|
18321
18341
|
def __hash__(self):
|
|
18322
18342
|
return hash((
|
|
18323
|
-
self.
|
|
18324
|
-
self.tv_fld,
|
|
18325
|
-
self.v_m,
|
|
18343
|
+
self.v,
|
|
18326
18344
|
))
|
|
18327
18345
|
|
|
18328
18346
|
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
@@ -18330,13 +18348,10 @@ def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
|
18330
18348
|
|
|
18331
18349
|
def __init__(
|
|
18332
18350
|
self,
|
|
18333
|
-
|
|
18334
|
-
tv_fld: __dataclass__init__fields__1__annotation,
|
|
18335
|
-
v_m: __dataclass__init__fields__2__annotation,
|
|
18351
|
+
v: __dataclass__init__fields__0__annotation,
|
|
18336
18352
|
) -> __dataclass__None:
|
|
18337
|
-
__dataclass__object_setattr(self, '
|
|
18338
|
-
|
|
18339
|
-
__dataclass__object_setattr(self, 'v_m', v_m)
|
|
18353
|
+
__dataclass__object_setattr(self, 'v', v)
|
|
18354
|
+
__dataclass__init__init_fns__0(self)
|
|
18340
18355
|
|
|
18341
18356
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
18342
18357
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -18346,9 +18361,7 @@ def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
|
18346
18361
|
@__dataclass___recursive_repr()
|
|
18347
18362
|
def __repr__(self):
|
|
18348
18363
|
parts = []
|
|
18349
|
-
parts.append(f"
|
|
18350
|
-
parts.append(f"tv_fld={self.tv_fld!r}")
|
|
18351
|
-
parts.append(f"v_m={self.v_m!r}")
|
|
18364
|
+
parts.append(f"{self.v!r}")
|
|
18352
18365
|
return (
|
|
18353
18366
|
f"{self.__class__.__qualname__}("
|
|
18354
18367
|
f"{', '.join(parts)}"
|
|
@@ -18365,41 +18378,29 @@ def _process_dataclass__3351f2836d3548cfa09118e14f4aabcde84625f4():
|
|
|
18365
18378
|
|
|
18366
18379
|
@_register(
|
|
18367
18380
|
plan_repr=(
|
|
18368
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
18369
|
-
"
|
|
18370
|
-
"
|
|
18371
|
-
"=
|
|
18372
|
-
"
|
|
18373
|
-
"
|
|
18374
|
-
"
|
|
18375
|
-
"OpRef(name='init.fields.2.annotation'), default=None, default_factory=None, init=True, override=False, field_t"
|
|
18376
|
-
"ype=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='tv_u', annotation=O"
|
|
18377
|
-
"pRef(name='init.fields.3.annotation'), default=None, default_factory=None, init=True, override=False, field_ty"
|
|
18378
|
-
"pe=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=('rty', 't"
|
|
18379
|
-
"v_fld', 'v_u', 'tv_u'), kw_only_params=(), frozen=True, slots=False, post_init_params=None, init_fns=(), valid"
|
|
18380
|
-
"ate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='rty', kw_only=False, fn=None), ReprPlan.Field(name='tv_fld'"
|
|
18381
|
-
", kw_only=False, fn=None), ReprPlan.Field(name='v_u', kw_only=False, fn=None), ReprPlan.Field(name='tv_u', kw_"
|
|
18382
|
-
"only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
18381
|
+
"Plans(tup=(CopyPlan(fields=('v',)), EqPlan(fields=('v',)), FrozenPlan(fields=('v',), allow_dynamic_dunder_attr"
|
|
18382
|
+
"s=False), HashPlan(action='add', fields=('v',), cache=False), InitPlan(fields=(InitPlan.Field(name='v', annota"
|
|
18383
|
+
"tion=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, fi"
|
|
18384
|
+
"eld_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None),), self_param='self', std_params=('v"
|
|
18385
|
+
"',), kw_only_params=(), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPl"
|
|
18386
|
+
"an(fields=(ReprPlan.Field(name='v', kw_only=False, fn=OpRef(name='repr.fns.0.fn')),), id=False, terse=False, d"
|
|
18387
|
+
"efault_fn=None)))"
|
|
18383
18388
|
),
|
|
18384
|
-
plan_repr_sha1='
|
|
18389
|
+
plan_repr_sha1='10841bf976c6bfcd0f71cfa59b935fcc98fe5d92',
|
|
18385
18390
|
op_ref_idents=(
|
|
18386
18391
|
'__dataclass__init__fields__0__annotation',
|
|
18387
|
-
'
|
|
18388
|
-
'__dataclass__init__fields__2__annotation',
|
|
18389
|
-
'__dataclass__init__fields__3__annotation',
|
|
18392
|
+
'__dataclass__repr__fns__0__fn',
|
|
18390
18393
|
),
|
|
18391
18394
|
cls_names=(
|
|
18392
|
-
('ommlds.minichain.
|
|
18395
|
+
('ommlds.minichain.standard', 'SecretConfig'),
|
|
18393
18396
|
),
|
|
18394
18397
|
)
|
|
18395
|
-
def
|
|
18398
|
+
def _process_dataclass__10841bf976c6bfcd0f71cfa59b935fcc98fe5d92():
|
|
18396
18399
|
def _process_dataclass(
|
|
18397
18400
|
*,
|
|
18398
18401
|
__dataclass__cls,
|
|
18399
18402
|
__dataclass__init__fields__0__annotation,
|
|
18400
|
-
|
|
18401
|
-
__dataclass__init__fields__2__annotation,
|
|
18402
|
-
__dataclass__init__fields__3__annotation,
|
|
18403
|
+
__dataclass__repr__fns__0__fn,
|
|
18403
18404
|
__dataclass__FieldFnValidationError, # noqa
|
|
18404
18405
|
__dataclass__FieldTypeValidationError, # noqa
|
|
18405
18406
|
__dataclass__FnValidationError, # noqa
|
|
@@ -18418,10 +18419,7 @@ def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
|
18418
18419
|
if self.__class__ is not __dataclass__cls:
|
|
18419
18420
|
raise TypeError(self)
|
|
18420
18421
|
return __dataclass__cls( # noqa
|
|
18421
|
-
|
|
18422
|
-
tv_fld=self.tv_fld,
|
|
18423
|
-
v_u=self.v_u,
|
|
18424
|
-
tv_u=self.tv_u,
|
|
18422
|
+
v=self.v,
|
|
18425
18423
|
)
|
|
18426
18424
|
|
|
18427
18425
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -18435,10 +18433,7 @@ def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
|
18435
18433
|
if self.__class__ is not other.__class__:
|
|
18436
18434
|
return NotImplemented
|
|
18437
18435
|
return (
|
|
18438
|
-
self.
|
|
18439
|
-
self.tv_fld == other.tv_fld and
|
|
18440
|
-
self.v_u == other.v_u and
|
|
18441
|
-
self.tv_u == other.tv_u
|
|
18436
|
+
self.v == other.v
|
|
18442
18437
|
)
|
|
18443
18438
|
|
|
18444
18439
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -18447,10 +18442,7 @@ def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
|
18447
18442
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
18448
18443
|
|
|
18449
18444
|
__dataclass___setattr_frozen_fields = {
|
|
18450
|
-
'
|
|
18451
|
-
'tv_fld',
|
|
18452
|
-
'v_u',
|
|
18453
|
-
'tv_u',
|
|
18445
|
+
'v',
|
|
18454
18446
|
}
|
|
18455
18447
|
|
|
18456
18448
|
def __setattr__(self, name, value):
|
|
@@ -18467,10 +18459,7 @@ def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
|
18467
18459
|
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
18468
18460
|
|
|
18469
18461
|
__dataclass___delattr_frozen_fields = {
|
|
18470
|
-
'
|
|
18471
|
-
'tv_fld',
|
|
18472
|
-
'v_u',
|
|
18473
|
-
'tv_u',
|
|
18462
|
+
'v',
|
|
18474
18463
|
}
|
|
18475
18464
|
|
|
18476
18465
|
def __delattr__(self, name):
|
|
@@ -18488,10 +18477,7 @@ def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
|
18488
18477
|
|
|
18489
18478
|
def __hash__(self):
|
|
18490
18479
|
return hash((
|
|
18491
|
-
self.
|
|
18492
|
-
self.tv_fld,
|
|
18493
|
-
self.v_u,
|
|
18494
|
-
self.tv_u,
|
|
18480
|
+
self.v,
|
|
18495
18481
|
))
|
|
18496
18482
|
|
|
18497
18483
|
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
@@ -18499,15 +18485,9 @@ def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
|
18499
18485
|
|
|
18500
18486
|
def __init__(
|
|
18501
18487
|
self,
|
|
18502
|
-
|
|
18503
|
-
tv_fld: __dataclass__init__fields__1__annotation,
|
|
18504
|
-
v_u: __dataclass__init__fields__2__annotation,
|
|
18505
|
-
tv_u: __dataclass__init__fields__3__annotation,
|
|
18488
|
+
v: __dataclass__init__fields__0__annotation,
|
|
18506
18489
|
) -> __dataclass__None:
|
|
18507
|
-
__dataclass__object_setattr(self, '
|
|
18508
|
-
__dataclass__object_setattr(self, 'tv_fld', tv_fld)
|
|
18509
|
-
__dataclass__object_setattr(self, 'v_u', v_u)
|
|
18510
|
-
__dataclass__object_setattr(self, 'tv_u', tv_u)
|
|
18490
|
+
__dataclass__object_setattr(self, 'v', v)
|
|
18511
18491
|
|
|
18512
18492
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
18513
18493
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -18517,10 +18497,8 @@ def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
|
18517
18497
|
@__dataclass___recursive_repr()
|
|
18518
18498
|
def __repr__(self):
|
|
18519
18499
|
parts = []
|
|
18520
|
-
|
|
18521
|
-
|
|
18522
|
-
parts.append(f"v_u={self.v_u!r}")
|
|
18523
|
-
parts.append(f"tv_u={self.tv_u!r}")
|
|
18500
|
+
if (s := __dataclass__repr__fns__0__fn(self.v)) is not None:
|
|
18501
|
+
parts.append(f"v={s}")
|
|
18524
18502
|
return (
|
|
18525
18503
|
f"{self.__class__.__qualname__}("
|
|
18526
18504
|
f"{', '.join(parts)}"
|
|
@@ -18537,29 +18515,43 @@ def _process_dataclass__48fce044c70087260e75d4a7c33663b383fb8b2a():
|
|
|
18537
18515
|
|
|
18538
18516
|
@_register(
|
|
18539
18517
|
plan_repr=(
|
|
18540
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
18541
|
-
"
|
|
18542
|
-
"
|
|
18543
|
-
"
|
|
18544
|
-
"
|
|
18545
|
-
"
|
|
18546
|
-
"
|
|
18518
|
+
"Plans(tup=(CopyPlan(fields=('orig_index', 'del_lines', 'ins_lines')), EqPlan(fields=('orig_index', 'del_lines'"
|
|
18519
|
+
", 'ins_lines')), HashPlan(action='set_none', fields=None, cache=None), InitPlan(fields=(InitPlan.Field(name='o"
|
|
18520
|
+
"rig_index', annotation=OpRef(name='init.fields.0.annotation'), default=OpRef(name='init.fields.0.default'), de"
|
|
18521
|
+
"fault_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, chec"
|
|
18522
|
+
"k_type=None), InitPlan.Field(name='del_lines', annotation=OpRef(name='init.fields.1.annotation'), default=None"
|
|
18523
|
+
", default_factory=OpRef(name='init.fields.1.default_factory'), init=True, override=False, field_type=FieldType"
|
|
18524
|
+
".INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='ins_lines', annotation=OpRef(nam"
|
|
18525
|
+
"e='init.fields.2.annotation'), default=None, default_factory=OpRef(name='init.fields.2.default_factory'), init"
|
|
18526
|
+
"=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_para"
|
|
18527
|
+
"m='self', std_params=('orig_index', 'del_lines', 'ins_lines'), kw_only_params=(), frozen=False, slots=False, p"
|
|
18528
|
+
"ost_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='orig_index', kw_onl"
|
|
18529
|
+
"y=False, fn=None), ReprPlan.Field(name='del_lines', kw_only=False, fn=None), ReprPlan.Field(name='ins_lines', "
|
|
18530
|
+
"kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
18547
18531
|
),
|
|
18548
|
-
plan_repr_sha1='
|
|
18532
|
+
plan_repr_sha1='c017e31222f3a81bbf35abf261881763aa9c217b',
|
|
18549
18533
|
op_ref_idents=(
|
|
18550
18534
|
'__dataclass__init__fields__0__annotation',
|
|
18551
|
-
'
|
|
18535
|
+
'__dataclass__init__fields__0__default',
|
|
18536
|
+
'__dataclass__init__fields__1__annotation',
|
|
18537
|
+
'__dataclass__init__fields__1__default_factory',
|
|
18538
|
+
'__dataclass__init__fields__2__annotation',
|
|
18539
|
+
'__dataclass__init__fields__2__default_factory',
|
|
18552
18540
|
),
|
|
18553
18541
|
cls_names=(
|
|
18554
|
-
('ommlds.minichain.
|
|
18542
|
+
('ommlds.minichain.text.applypatch', 'Chunk'),
|
|
18555
18543
|
),
|
|
18556
18544
|
)
|
|
18557
|
-
def
|
|
18545
|
+
def _process_dataclass__c017e31222f3a81bbf35abf261881763aa9c217b():
|
|
18558
18546
|
def _process_dataclass(
|
|
18559
18547
|
*,
|
|
18560
18548
|
__dataclass__cls,
|
|
18561
18549
|
__dataclass__init__fields__0__annotation,
|
|
18562
|
-
|
|
18550
|
+
__dataclass__init__fields__0__default,
|
|
18551
|
+
__dataclass__init__fields__1__annotation,
|
|
18552
|
+
__dataclass__init__fields__1__default_factory,
|
|
18553
|
+
__dataclass__init__fields__2__annotation,
|
|
18554
|
+
__dataclass__init__fields__2__default_factory,
|
|
18563
18555
|
__dataclass__FieldFnValidationError, # noqa
|
|
18564
18556
|
__dataclass__FieldTypeValidationError, # noqa
|
|
18565
18557
|
__dataclass__FnValidationError, # noqa
|
|
@@ -18578,7 +18570,9 @@ def _process_dataclass__51fa5d3a6be91e1d96445ebeeacacf7a64173c0a():
|
|
|
18578
18570
|
if self.__class__ is not __dataclass__cls:
|
|
18579
18571
|
raise TypeError(self)
|
|
18580
18572
|
return __dataclass__cls( # noqa
|
|
18581
|
-
|
|
18573
|
+
orig_index=self.orig_index,
|
|
18574
|
+
del_lines=self.del_lines,
|
|
18575
|
+
ins_lines=self.ins_lines,
|
|
18582
18576
|
)
|
|
18583
18577
|
|
|
18584
18578
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -18592,7 +18586,9 @@ def _process_dataclass__51fa5d3a6be91e1d96445ebeeacacf7a64173c0a():
|
|
|
18592
18586
|
if self.__class__ is not other.__class__:
|
|
18593
18587
|
return NotImplemented
|
|
18594
18588
|
return (
|
|
18595
|
-
self.
|
|
18589
|
+
self.orig_index == other.orig_index and
|
|
18590
|
+
self.del_lines == other.del_lines and
|
|
18591
|
+
self.ins_lines == other.ins_lines
|
|
18596
18592
|
)
|
|
18597
18593
|
|
|
18598
18594
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -18600,54 +18596,21 @@ def _process_dataclass__51fa5d3a6be91e1d96445ebeeacacf7a64173c0a():
|
|
|
18600
18596
|
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
18601
18597
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
18602
18598
|
|
|
18603
|
-
|
|
18604
|
-
'v',
|
|
18605
|
-
}
|
|
18606
|
-
|
|
18607
|
-
def __setattr__(self, name, value):
|
|
18608
|
-
if (
|
|
18609
|
-
type(self) is __dataclass__cls
|
|
18610
|
-
or name in __dataclass___setattr_frozen_fields
|
|
18611
|
-
):
|
|
18612
|
-
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
18613
|
-
super(__dataclass__cls, self).__setattr__(name, value)
|
|
18614
|
-
|
|
18615
|
-
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
18616
|
-
if '__setattr__' in __dataclass__cls.__dict__:
|
|
18617
|
-
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
18618
|
-
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
18619
|
-
|
|
18620
|
-
__dataclass___delattr_frozen_fields = {
|
|
18621
|
-
'v',
|
|
18622
|
-
}
|
|
18623
|
-
|
|
18624
|
-
def __delattr__(self, name):
|
|
18625
|
-
if (
|
|
18626
|
-
type(self) is __dataclass__cls
|
|
18627
|
-
or name in __dataclass___delattr_frozen_fields
|
|
18628
|
-
):
|
|
18629
|
-
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
18630
|
-
super(__dataclass__cls, self).__delattr__(name)
|
|
18631
|
-
|
|
18632
|
-
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
18633
|
-
if '__delattr__' in __dataclass__cls.__dict__:
|
|
18634
|
-
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
18635
|
-
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
18636
|
-
|
|
18637
|
-
def __hash__(self):
|
|
18638
|
-
return hash((
|
|
18639
|
-
self.v,
|
|
18640
|
-
))
|
|
18641
|
-
|
|
18642
|
-
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
18643
|
-
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
18599
|
+
setattr(__dataclass__cls, '__hash__', None)
|
|
18644
18600
|
|
|
18645
18601
|
def __init__(
|
|
18646
18602
|
self,
|
|
18647
|
-
|
|
18603
|
+
orig_index: __dataclass__init__fields__0__annotation = __dataclass__init__fields__0__default,
|
|
18604
|
+
del_lines: __dataclass__init__fields__1__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
18605
|
+
ins_lines: __dataclass__init__fields__2__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
18648
18606
|
) -> __dataclass__None:
|
|
18649
|
-
|
|
18650
|
-
|
|
18607
|
+
if del_lines is __dataclass__HAS_DEFAULT_FACTORY:
|
|
18608
|
+
del_lines = __dataclass__init__fields__1__default_factory()
|
|
18609
|
+
if ins_lines is __dataclass__HAS_DEFAULT_FACTORY:
|
|
18610
|
+
ins_lines = __dataclass__init__fields__2__default_factory()
|
|
18611
|
+
self.orig_index = orig_index
|
|
18612
|
+
self.del_lines = del_lines
|
|
18613
|
+
self.ins_lines = ins_lines
|
|
18651
18614
|
|
|
18652
18615
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
18653
18616
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -18657,7 +18620,9 @@ def _process_dataclass__51fa5d3a6be91e1d96445ebeeacacf7a64173c0a():
|
|
|
18657
18620
|
@__dataclass___recursive_repr()
|
|
18658
18621
|
def __repr__(self):
|
|
18659
18622
|
parts = []
|
|
18660
|
-
parts.append(f"{self.
|
|
18623
|
+
parts.append(f"orig_index={self.orig_index!r}")
|
|
18624
|
+
parts.append(f"del_lines={self.del_lines!r}")
|
|
18625
|
+
parts.append(f"ins_lines={self.ins_lines!r}")
|
|
18661
18626
|
return (
|
|
18662
18627
|
f"{self.__class__.__qualname__}("
|
|
18663
18628
|
f"{', '.join(parts)}"
|
|
@@ -18674,29 +18639,29 @@ def _process_dataclass__51fa5d3a6be91e1d96445ebeeacacf7a64173c0a():
|
|
|
18674
18639
|
|
|
18675
18640
|
@_register(
|
|
18676
18641
|
plan_repr=(
|
|
18677
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
18678
|
-
"
|
|
18679
|
-
"
|
|
18680
|
-
"
|
|
18681
|
-
"',), kw_only_params=(), frozen=
|
|
18682
|
-
"
|
|
18683
|
-
"
|
|
18642
|
+
"Plans(tup=(CopyPlan(fields=('changes',)), EqPlan(fields=('changes',)), HashPlan(action='set_none', fields=None"
|
|
18643
|
+
", cache=None), InitPlan(fields=(InitPlan.Field(name='changes', annotation=OpRef(name='init.fields.0.annotation"
|
|
18644
|
+
"'), default=None, default_factory=OpRef(name='init.fields.0.default_factory'), init=True, override=False, fiel"
|
|
18645
|
+
"d_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None),), self_param='self', std_params=('cha"
|
|
18646
|
+
"nges',), kw_only_params=(), frozen=False, slots=False, post_init_params=None, init_fns=(), validate_fns=()), R"
|
|
18647
|
+
"eprPlan(fields=(ReprPlan.Field(name='changes', kw_only=False, fn=None),), id=False, terse=False, default_fn=No"
|
|
18648
|
+
"ne)))"
|
|
18684
18649
|
),
|
|
18685
|
-
plan_repr_sha1='
|
|
18650
|
+
plan_repr_sha1='c0973292edf861e47cf17a1263882af0811cb98c',
|
|
18686
18651
|
op_ref_idents=(
|
|
18687
18652
|
'__dataclass__init__fields__0__annotation',
|
|
18688
|
-
'
|
|
18653
|
+
'__dataclass__init__fields__0__default_factory',
|
|
18689
18654
|
),
|
|
18690
18655
|
cls_names=(
|
|
18691
|
-
('ommlds.minichain.
|
|
18656
|
+
('ommlds.minichain.text.applypatch', 'Commit'),
|
|
18692
18657
|
),
|
|
18693
18658
|
)
|
|
18694
|
-
def
|
|
18659
|
+
def _process_dataclass__c0973292edf861e47cf17a1263882af0811cb98c():
|
|
18695
18660
|
def _process_dataclass(
|
|
18696
18661
|
*,
|
|
18697
18662
|
__dataclass__cls,
|
|
18698
18663
|
__dataclass__init__fields__0__annotation,
|
|
18699
|
-
|
|
18664
|
+
__dataclass__init__fields__0__default_factory,
|
|
18700
18665
|
__dataclass__FieldFnValidationError, # noqa
|
|
18701
18666
|
__dataclass__FieldTypeValidationError, # noqa
|
|
18702
18667
|
__dataclass__FnValidationError, # noqa
|
|
@@ -18715,7 +18680,7 @@ def _process_dataclass__10841bf976c6bfcd0f71cfa59b935fcc98fe5d92():
|
|
|
18715
18680
|
if self.__class__ is not __dataclass__cls:
|
|
18716
18681
|
raise TypeError(self)
|
|
18717
18682
|
return __dataclass__cls( # noqa
|
|
18718
|
-
|
|
18683
|
+
changes=self.changes,
|
|
18719
18684
|
)
|
|
18720
18685
|
|
|
18721
18686
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -18729,7 +18694,7 @@ def _process_dataclass__10841bf976c6bfcd0f71cfa59b935fcc98fe5d92():
|
|
|
18729
18694
|
if self.__class__ is not other.__class__:
|
|
18730
18695
|
return NotImplemented
|
|
18731
18696
|
return (
|
|
18732
|
-
self.
|
|
18697
|
+
self.changes == other.changes
|
|
18733
18698
|
)
|
|
18734
18699
|
|
|
18735
18700
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -18737,53 +18702,142 @@ def _process_dataclass__10841bf976c6bfcd0f71cfa59b935fcc98fe5d92():
|
|
|
18737
18702
|
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
18738
18703
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
18739
18704
|
|
|
18740
|
-
|
|
18741
|
-
'v',
|
|
18742
|
-
}
|
|
18705
|
+
setattr(__dataclass__cls, '__hash__', None)
|
|
18743
18706
|
|
|
18744
|
-
def
|
|
18745
|
-
|
|
18746
|
-
|
|
18747
|
-
|
|
18748
|
-
|
|
18749
|
-
|
|
18750
|
-
|
|
18707
|
+
def __init__(
|
|
18708
|
+
self,
|
|
18709
|
+
changes: __dataclass__init__fields__0__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
18710
|
+
) -> __dataclass__None:
|
|
18711
|
+
if changes is __dataclass__HAS_DEFAULT_FACTORY:
|
|
18712
|
+
changes = __dataclass__init__fields__0__default_factory()
|
|
18713
|
+
self.changes = changes
|
|
18751
18714
|
|
|
18752
|
-
|
|
18753
|
-
if '
|
|
18754
|
-
raise __dataclass__TypeError(f"Cannot overwrite attribute
|
|
18755
|
-
setattr(__dataclass__cls, '
|
|
18715
|
+
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
18716
|
+
if '__init__' in __dataclass__cls.__dict__:
|
|
18717
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __init__ in class {__dataclass__cls.__name__}")
|
|
18718
|
+
setattr(__dataclass__cls, '__init__', __init__)
|
|
18756
18719
|
|
|
18757
|
-
|
|
18758
|
-
|
|
18759
|
-
|
|
18720
|
+
@__dataclass___recursive_repr()
|
|
18721
|
+
def __repr__(self):
|
|
18722
|
+
parts = []
|
|
18723
|
+
parts.append(f"changes={self.changes!r}")
|
|
18724
|
+
return (
|
|
18725
|
+
f"{self.__class__.__qualname__}("
|
|
18726
|
+
f"{', '.join(parts)}"
|
|
18727
|
+
f")"
|
|
18728
|
+
)
|
|
18760
18729
|
|
|
18761
|
-
|
|
18762
|
-
|
|
18763
|
-
|
|
18764
|
-
|
|
18765
|
-
):
|
|
18766
|
-
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
18767
|
-
super(__dataclass__cls, self).__delattr__(name)
|
|
18730
|
+
__repr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__repr__"
|
|
18731
|
+
if '__repr__' in __dataclass__cls.__dict__:
|
|
18732
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __repr__ in class {__dataclass__cls.__name__}")
|
|
18733
|
+
setattr(__dataclass__cls, '__repr__', __repr__)
|
|
18768
18734
|
|
|
18769
|
-
|
|
18770
|
-
if '__delattr__' in __dataclass__cls.__dict__:
|
|
18771
|
-
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
18772
|
-
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
18735
|
+
return _process_dataclass
|
|
18773
18736
|
|
|
18774
|
-
def __hash__(self):
|
|
18775
|
-
return hash((
|
|
18776
|
-
self.v,
|
|
18777
|
-
))
|
|
18778
18737
|
|
|
18779
|
-
|
|
18780
|
-
|
|
18738
|
+
@_register(
|
|
18739
|
+
plan_repr=(
|
|
18740
|
+
"Plans(tup=(CopyPlan(fields=('type', 'old_content', 'new_content', 'move_path')), EqPlan(fields=('type', 'old_c"
|
|
18741
|
+
"ontent', 'new_content', 'move_path')), HashPlan(action='set_none', fields=None, cache=None), InitPlan(fields=("
|
|
18742
|
+
"InitPlan.Field(name='type', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=N"
|
|
18743
|
+
"one, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), I"
|
|
18744
|
+
"nitPlan.Field(name='old_content', annotation=OpRef(name='init.fields.1.annotation'), default=OpRef(name='init."
|
|
18745
|
+
"fields.1.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=Non"
|
|
18746
|
+
"e, validate=None, check_type=None), InitPlan.Field(name='new_content', annotation=OpRef(name='init.fields.2.an"
|
|
18747
|
+
"notation'), default=OpRef(name='init.fields.2.default'), default_factory=None, init=True, override=False, fiel"
|
|
18748
|
+
"d_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='move_path', anno"
|
|
18749
|
+
"tation=OpRef(name='init.fields.3.annotation'), default=OpRef(name='init.fields.3.default'), default_factory=No"
|
|
18750
|
+
"ne, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), s"
|
|
18751
|
+
"elf_param='self', std_params=('type', 'old_content', 'new_content', 'move_path'), kw_only_params=(), frozen=Fa"
|
|
18752
|
+
"lse, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='"
|
|
18753
|
+
"type', kw_only=False, fn=None), ReprPlan.Field(name='old_content', kw_only=False, fn=None), ReprPlan.Field(nam"
|
|
18754
|
+
"e='new_content', kw_only=False, fn=None), ReprPlan.Field(name='move_path', kw_only=False, fn=None)), id=False,"
|
|
18755
|
+
" terse=False, default_fn=None)))"
|
|
18756
|
+
),
|
|
18757
|
+
plan_repr_sha1='08ed71763cbffe119aa76fffc962ebb7b49e0133',
|
|
18758
|
+
op_ref_idents=(
|
|
18759
|
+
'__dataclass__init__fields__0__annotation',
|
|
18760
|
+
'__dataclass__init__fields__1__annotation',
|
|
18761
|
+
'__dataclass__init__fields__1__default',
|
|
18762
|
+
'__dataclass__init__fields__2__annotation',
|
|
18763
|
+
'__dataclass__init__fields__2__default',
|
|
18764
|
+
'__dataclass__init__fields__3__annotation',
|
|
18765
|
+
'__dataclass__init__fields__3__default',
|
|
18766
|
+
),
|
|
18767
|
+
cls_names=(
|
|
18768
|
+
('ommlds.minichain.text.applypatch', 'FileChange'),
|
|
18769
|
+
),
|
|
18770
|
+
)
|
|
18771
|
+
def _process_dataclass__08ed71763cbffe119aa76fffc962ebb7b49e0133():
|
|
18772
|
+
def _process_dataclass(
|
|
18773
|
+
*,
|
|
18774
|
+
__dataclass__cls,
|
|
18775
|
+
__dataclass__init__fields__0__annotation,
|
|
18776
|
+
__dataclass__init__fields__1__annotation,
|
|
18777
|
+
__dataclass__init__fields__1__default,
|
|
18778
|
+
__dataclass__init__fields__2__annotation,
|
|
18779
|
+
__dataclass__init__fields__2__default,
|
|
18780
|
+
__dataclass__init__fields__3__annotation,
|
|
18781
|
+
__dataclass__init__fields__3__default,
|
|
18782
|
+
__dataclass__FieldFnValidationError, # noqa
|
|
18783
|
+
__dataclass__FieldTypeValidationError, # noqa
|
|
18784
|
+
__dataclass__FnValidationError, # noqa
|
|
18785
|
+
__dataclass__FrozenInstanceError=dataclasses.FrozenInstanceError, # noqa
|
|
18786
|
+
__dataclass__FunctionType=types.FunctionType, # noqa
|
|
18787
|
+
__dataclass__HAS_DEFAULT_FACTORY=dataclasses._HAS_DEFAULT_FACTORY, # noqa
|
|
18788
|
+
__dataclass__MISSING=dataclasses.MISSING, # noqa
|
|
18789
|
+
__dataclass__None=None, # noqa
|
|
18790
|
+
__dataclass__TypeError=TypeError, # noqa
|
|
18791
|
+
__dataclass___recursive_repr=reprlib.recursive_repr, # noqa
|
|
18792
|
+
__dataclass__isinstance=isinstance, # noqa
|
|
18793
|
+
__dataclass__object_setattr=object.__setattr__, # noqa
|
|
18794
|
+
__dataclass__property=property, # noqa
|
|
18795
|
+
):
|
|
18796
|
+
def __copy__(self):
|
|
18797
|
+
if self.__class__ is not __dataclass__cls:
|
|
18798
|
+
raise TypeError(self)
|
|
18799
|
+
return __dataclass__cls( # noqa
|
|
18800
|
+
type=self.type,
|
|
18801
|
+
old_content=self.old_content,
|
|
18802
|
+
new_content=self.new_content,
|
|
18803
|
+
move_path=self.move_path,
|
|
18804
|
+
)
|
|
18805
|
+
|
|
18806
|
+
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
18807
|
+
if '__copy__' in __dataclass__cls.__dict__:
|
|
18808
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __copy__ in class {__dataclass__cls.__name__}")
|
|
18809
|
+
setattr(__dataclass__cls, '__copy__', __copy__)
|
|
18810
|
+
|
|
18811
|
+
def __eq__(self, other):
|
|
18812
|
+
if self is other:
|
|
18813
|
+
return True
|
|
18814
|
+
if self.__class__ is not other.__class__:
|
|
18815
|
+
return NotImplemented
|
|
18816
|
+
return (
|
|
18817
|
+
self.type == other.type and
|
|
18818
|
+
self.old_content == other.old_content and
|
|
18819
|
+
self.new_content == other.new_content and
|
|
18820
|
+
self.move_path == other.move_path
|
|
18821
|
+
)
|
|
18822
|
+
|
|
18823
|
+
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
18824
|
+
if '__eq__' in __dataclass__cls.__dict__:
|
|
18825
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
18826
|
+
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
18827
|
+
|
|
18828
|
+
setattr(__dataclass__cls, '__hash__', None)
|
|
18781
18829
|
|
|
18782
18830
|
def __init__(
|
|
18783
18831
|
self,
|
|
18784
|
-
|
|
18832
|
+
type: __dataclass__init__fields__0__annotation,
|
|
18833
|
+
old_content: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
18834
|
+
new_content: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
18835
|
+
move_path: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
18785
18836
|
) -> __dataclass__None:
|
|
18786
|
-
|
|
18837
|
+
self.type = type
|
|
18838
|
+
self.old_content = old_content
|
|
18839
|
+
self.new_content = new_content
|
|
18840
|
+
self.move_path = move_path
|
|
18787
18841
|
|
|
18788
18842
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
18789
18843
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -18793,8 +18847,10 @@ def _process_dataclass__10841bf976c6bfcd0f71cfa59b935fcc98fe5d92():
|
|
|
18793
18847
|
@__dataclass___recursive_repr()
|
|
18794
18848
|
def __repr__(self):
|
|
18795
18849
|
parts = []
|
|
18796
|
-
|
|
18797
|
-
|
|
18850
|
+
parts.append(f"type={self.type!r}")
|
|
18851
|
+
parts.append(f"old_content={self.old_content!r}")
|
|
18852
|
+
parts.append(f"new_content={self.new_content!r}")
|
|
18853
|
+
parts.append(f"move_path={self.move_path!r}")
|
|
18798
18854
|
return (
|
|
18799
18855
|
f"{self.__class__.__qualname__}("
|
|
18800
18856
|
f"{', '.join(parts)}"
|
|
@@ -18811,43 +18867,52 @@ def _process_dataclass__10841bf976c6bfcd0f71cfa59b935fcc98fe5d92():
|
|
|
18811
18867
|
|
|
18812
18868
|
@_register(
|
|
18813
18869
|
plan_repr=(
|
|
18814
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
18815
|
-
", '
|
|
18816
|
-
"
|
|
18817
|
-
"
|
|
18818
|
-
"
|
|
18819
|
-
"
|
|
18820
|
-
"
|
|
18821
|
-
"
|
|
18822
|
-
"=
|
|
18823
|
-
"
|
|
18824
|
-
"
|
|
18825
|
-
"
|
|
18826
|
-
"
|
|
18870
|
+
"Plans(tup=(CopyPlan(fields=('current_files', 'lines', 'index', 'patch', 'fuzz')), EqPlan(fields=('current_file"
|
|
18871
|
+
"s', 'lines', 'index', 'patch', 'fuzz')), HashPlan(action='set_none', fields=None, cache=None), InitPlan(fields"
|
|
18872
|
+
"=(InitPlan.Field(name='current_files', annotation=OpRef(name='init.fields.0.annotation'), default=None, defaul"
|
|
18873
|
+
"t_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_ty"
|
|
18874
|
+
"pe=None), InitPlan.Field(name='lines', annotation=OpRef(name='init.fields.1.annotation'), default=None, defaul"
|
|
18875
|
+
"t_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_ty"
|
|
18876
|
+
"pe=None), InitPlan.Field(name='index', annotation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='"
|
|
18877
|
+
"init.fields.2.default'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerc"
|
|
18878
|
+
"e=None, validate=None, check_type=None), InitPlan.Field(name='patch', annotation=OpRef(name='init.fields.3.ann"
|
|
18879
|
+
"otation'), default=None, default_factory=OpRef(name='init.fields.3.default_factory'), init=True, override=Fals"
|
|
18880
|
+
"e, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='fuzz', an"
|
|
18881
|
+
"notation=OpRef(name='init.fields.4.annotation'), default=OpRef(name='init.fields.4.default'), default_factory="
|
|
18882
|
+
"None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)),"
|
|
18883
|
+
" self_param='self', std_params=('current_files', 'lines', 'index', 'patch', 'fuzz'), kw_only_params=(), frozen"
|
|
18884
|
+
"=False, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(nam"
|
|
18885
|
+
"e='current_files', kw_only=False, fn=None), ReprPlan.Field(name='lines', kw_only=False, fn=None), ReprPlan.Fie"
|
|
18886
|
+
"ld(name='index', kw_only=False, fn=None), ReprPlan.Field(name='patch', kw_only=False, fn=None), ReprPlan.Field"
|
|
18887
|
+
"(name='fuzz', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
18827
18888
|
),
|
|
18828
|
-
plan_repr_sha1='
|
|
18889
|
+
plan_repr_sha1='b92d453cb05ec45f21af65005f00df3f007e04b8',
|
|
18829
18890
|
op_ref_idents=(
|
|
18830
18891
|
'__dataclass__init__fields__0__annotation',
|
|
18831
|
-
'__dataclass__init__fields__0__default',
|
|
18832
18892
|
'__dataclass__init__fields__1__annotation',
|
|
18833
|
-
'__dataclass__init__fields__1__default_factory',
|
|
18834
18893
|
'__dataclass__init__fields__2__annotation',
|
|
18835
|
-
'
|
|
18894
|
+
'__dataclass__init__fields__2__default',
|
|
18895
|
+
'__dataclass__init__fields__3__annotation',
|
|
18896
|
+
'__dataclass__init__fields__3__default_factory',
|
|
18897
|
+
'__dataclass__init__fields__4__annotation',
|
|
18898
|
+
'__dataclass__init__fields__4__default',
|
|
18836
18899
|
),
|
|
18837
18900
|
cls_names=(
|
|
18838
|
-
('ommlds.minichain.text.applypatch', '
|
|
18901
|
+
('ommlds.minichain.text.applypatch', 'Parser'),
|
|
18839
18902
|
),
|
|
18840
18903
|
)
|
|
18841
|
-
def
|
|
18904
|
+
def _process_dataclass__b92d453cb05ec45f21af65005f00df3f007e04b8():
|
|
18842
18905
|
def _process_dataclass(
|
|
18843
18906
|
*,
|
|
18844
18907
|
__dataclass__cls,
|
|
18845
18908
|
__dataclass__init__fields__0__annotation,
|
|
18846
|
-
__dataclass__init__fields__0__default,
|
|
18847
18909
|
__dataclass__init__fields__1__annotation,
|
|
18848
|
-
__dataclass__init__fields__1__default_factory,
|
|
18849
18910
|
__dataclass__init__fields__2__annotation,
|
|
18850
|
-
|
|
18911
|
+
__dataclass__init__fields__2__default,
|
|
18912
|
+
__dataclass__init__fields__3__annotation,
|
|
18913
|
+
__dataclass__init__fields__3__default_factory,
|
|
18914
|
+
__dataclass__init__fields__4__annotation,
|
|
18915
|
+
__dataclass__init__fields__4__default,
|
|
18851
18916
|
__dataclass__FieldFnValidationError, # noqa
|
|
18852
18917
|
__dataclass__FieldTypeValidationError, # noqa
|
|
18853
18918
|
__dataclass__FnValidationError, # noqa
|
|
@@ -18866,9 +18931,11 @@ def _process_dataclass__c017e31222f3a81bbf35abf261881763aa9c217b():
|
|
|
18866
18931
|
if self.__class__ is not __dataclass__cls:
|
|
18867
18932
|
raise TypeError(self)
|
|
18868
18933
|
return __dataclass__cls( # noqa
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
|
|
18934
|
+
current_files=self.current_files,
|
|
18935
|
+
lines=self.lines,
|
|
18936
|
+
index=self.index,
|
|
18937
|
+
patch=self.patch,
|
|
18938
|
+
fuzz=self.fuzz,
|
|
18872
18939
|
)
|
|
18873
18940
|
|
|
18874
18941
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -18882,9 +18949,11 @@ def _process_dataclass__c017e31222f3a81bbf35abf261881763aa9c217b():
|
|
|
18882
18949
|
if self.__class__ is not other.__class__:
|
|
18883
18950
|
return NotImplemented
|
|
18884
18951
|
return (
|
|
18885
|
-
self.
|
|
18886
|
-
self.
|
|
18887
|
-
self.
|
|
18952
|
+
self.current_files == other.current_files and
|
|
18953
|
+
self.lines == other.lines and
|
|
18954
|
+
self.index == other.index and
|
|
18955
|
+
self.patch == other.patch and
|
|
18956
|
+
self.fuzz == other.fuzz
|
|
18888
18957
|
)
|
|
18889
18958
|
|
|
18890
18959
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -18896,17 +18965,19 @@ def _process_dataclass__c017e31222f3a81bbf35abf261881763aa9c217b():
|
|
|
18896
18965
|
|
|
18897
18966
|
def __init__(
|
|
18898
18967
|
self,
|
|
18899
|
-
|
|
18900
|
-
|
|
18901
|
-
|
|
18968
|
+
current_files: __dataclass__init__fields__0__annotation,
|
|
18969
|
+
lines: __dataclass__init__fields__1__annotation,
|
|
18970
|
+
index: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
18971
|
+
patch: __dataclass__init__fields__3__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
18972
|
+
fuzz: __dataclass__init__fields__4__annotation = __dataclass__init__fields__4__default,
|
|
18902
18973
|
) -> __dataclass__None:
|
|
18903
|
-
if
|
|
18904
|
-
|
|
18905
|
-
|
|
18906
|
-
|
|
18907
|
-
self.
|
|
18908
|
-
self.
|
|
18909
|
-
self.
|
|
18974
|
+
if patch is __dataclass__HAS_DEFAULT_FACTORY:
|
|
18975
|
+
patch = __dataclass__init__fields__3__default_factory()
|
|
18976
|
+
self.current_files = current_files
|
|
18977
|
+
self.lines = lines
|
|
18978
|
+
self.index = index
|
|
18979
|
+
self.patch = patch
|
|
18980
|
+
self.fuzz = fuzz
|
|
18910
18981
|
|
|
18911
18982
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
18912
18983
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -18916,9 +18987,11 @@ def _process_dataclass__c017e31222f3a81bbf35abf261881763aa9c217b():
|
|
|
18916
18987
|
@__dataclass___recursive_repr()
|
|
18917
18988
|
def __repr__(self):
|
|
18918
18989
|
parts = []
|
|
18919
|
-
parts.append(f"
|
|
18920
|
-
parts.append(f"
|
|
18921
|
-
parts.append(f"
|
|
18990
|
+
parts.append(f"current_files={self.current_files!r}")
|
|
18991
|
+
parts.append(f"lines={self.lines!r}")
|
|
18992
|
+
parts.append(f"index={self.index!r}")
|
|
18993
|
+
parts.append(f"patch={self.patch!r}")
|
|
18994
|
+
parts.append(f"fuzz={self.fuzz!r}")
|
|
18922
18995
|
return (
|
|
18923
18996
|
f"{self.__class__.__qualname__}("
|
|
18924
18997
|
f"{', '.join(parts)}"
|
|
@@ -18935,24 +19008,24 @@ def _process_dataclass__c017e31222f3a81bbf35abf261881763aa9c217b():
|
|
|
18935
19008
|
|
|
18936
19009
|
@_register(
|
|
18937
19010
|
plan_repr=(
|
|
18938
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
18939
|
-
", cache=None), InitPlan(fields=(InitPlan.Field(name='
|
|
19011
|
+
"Plans(tup=(CopyPlan(fields=('actions',)), EqPlan(fields=('actions',)), HashPlan(action='set_none', fields=None"
|
|
19012
|
+
", cache=None), InitPlan(fields=(InitPlan.Field(name='actions', annotation=OpRef(name='init.fields.0.annotation"
|
|
18940
19013
|
"'), default=None, default_factory=OpRef(name='init.fields.0.default_factory'), init=True, override=False, fiel"
|
|
18941
|
-
"d_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None),), self_param='self', std_params=('
|
|
18942
|
-
"
|
|
18943
|
-
"eprPlan(fields=(ReprPlan.Field(name='
|
|
19014
|
+
"d_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None),), self_param='self', std_params=('act"
|
|
19015
|
+
"ions',), kw_only_params=(), frozen=False, slots=False, post_init_params=None, init_fns=(), validate_fns=()), R"
|
|
19016
|
+
"eprPlan(fields=(ReprPlan.Field(name='actions', kw_only=False, fn=None),), id=False, terse=False, default_fn=No"
|
|
18944
19017
|
"ne)))"
|
|
18945
19018
|
),
|
|
18946
|
-
plan_repr_sha1='
|
|
19019
|
+
plan_repr_sha1='00bdcdd6e2f18731e9c63b5db7cefb1ee7e98dc9',
|
|
18947
19020
|
op_ref_idents=(
|
|
18948
19021
|
'__dataclass__init__fields__0__annotation',
|
|
18949
19022
|
'__dataclass__init__fields__0__default_factory',
|
|
18950
19023
|
),
|
|
18951
19024
|
cls_names=(
|
|
18952
|
-
('ommlds.minichain.text.applypatch', '
|
|
19025
|
+
('ommlds.minichain.text.applypatch', 'Patch'),
|
|
18953
19026
|
),
|
|
18954
19027
|
)
|
|
18955
|
-
def
|
|
19028
|
+
def _process_dataclass__00bdcdd6e2f18731e9c63b5db7cefb1ee7e98dc9():
|
|
18956
19029
|
def _process_dataclass(
|
|
18957
19030
|
*,
|
|
18958
19031
|
__dataclass__cls,
|
|
@@ -18976,7 +19049,7 @@ def _process_dataclass__c0973292edf861e47cf17a1263882af0811cb98c():
|
|
|
18976
19049
|
if self.__class__ is not __dataclass__cls:
|
|
18977
19050
|
raise TypeError(self)
|
|
18978
19051
|
return __dataclass__cls( # noqa
|
|
18979
|
-
|
|
19052
|
+
actions=self.actions,
|
|
18980
19053
|
)
|
|
18981
19054
|
|
|
18982
19055
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -18990,7 +19063,7 @@ def _process_dataclass__c0973292edf861e47cf17a1263882af0811cb98c():
|
|
|
18990
19063
|
if self.__class__ is not other.__class__:
|
|
18991
19064
|
return NotImplemented
|
|
18992
19065
|
return (
|
|
18993
|
-
self.
|
|
19066
|
+
self.actions == other.actions
|
|
18994
19067
|
)
|
|
18995
19068
|
|
|
18996
19069
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -19002,11 +19075,11 @@ def _process_dataclass__c0973292edf861e47cf17a1263882af0811cb98c():
|
|
|
19002
19075
|
|
|
19003
19076
|
def __init__(
|
|
19004
19077
|
self,
|
|
19005
|
-
|
|
19078
|
+
actions: __dataclass__init__fields__0__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
19006
19079
|
) -> __dataclass__None:
|
|
19007
|
-
if
|
|
19008
|
-
|
|
19009
|
-
self.
|
|
19080
|
+
if actions is __dataclass__HAS_DEFAULT_FACTORY:
|
|
19081
|
+
actions = __dataclass__init__fields__0__default_factory()
|
|
19082
|
+
self.actions = actions
|
|
19010
19083
|
|
|
19011
19084
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
19012
19085
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -19016,7 +19089,7 @@ def _process_dataclass__c0973292edf861e47cf17a1263882af0811cb98c():
|
|
|
19016
19089
|
@__dataclass___recursive_repr()
|
|
19017
19090
|
def __repr__(self):
|
|
19018
19091
|
parts = []
|
|
19019
|
-
parts.append(f"
|
|
19092
|
+
parts.append(f"actions={self.actions!r}")
|
|
19020
19093
|
return (
|
|
19021
19094
|
f"{self.__class__.__qualname__}("
|
|
19022
19095
|
f"{', '.join(parts)}"
|
|
@@ -19033,38 +19106,37 @@ def _process_dataclass__c0973292edf861e47cf17a1263882af0811cb98c():
|
|
|
19033
19106
|
|
|
19034
19107
|
@_register(
|
|
19035
19108
|
plan_repr=(
|
|
19036
|
-
"Plans(tup=(CopyPlan(fields=('type', '
|
|
19037
|
-
"
|
|
19038
|
-
"
|
|
19039
|
-
"
|
|
19040
|
-
"
|
|
19041
|
-
"
|
|
19042
|
-
"
|
|
19043
|
-
"
|
|
19044
|
-
"
|
|
19045
|
-
"
|
|
19046
|
-
"
|
|
19047
|
-
"
|
|
19048
|
-
"
|
|
19049
|
-
"
|
|
19050
|
-
"
|
|
19051
|
-
" terse=False, default_fn=None)))"
|
|
19109
|
+
"Plans(tup=(CopyPlan(fields=('type', 'new_file', 'chunks', 'move_path')), EqPlan(fields=('type', 'new_file', 'c"
|
|
19110
|
+
"hunks', 'move_path')), HashPlan(action='set_none', fields=None, cache=None), InitPlan(fields=(InitPlan.Field(n"
|
|
19111
|
+
"ame='type', annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, "
|
|
19112
|
+
"override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(na"
|
|
19113
|
+
"me='new_file', annotation=OpRef(name='init.fields.1.annotation'), default=OpRef(name='init.fields.1.default'),"
|
|
19114
|
+
" default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, c"
|
|
19115
|
+
"heck_type=None), InitPlan.Field(name='chunks', annotation=OpRef(name='init.fields.2.annotation'), default=None"
|
|
19116
|
+
", default_factory=OpRef(name='init.fields.2.default_factory'), init=True, override=False, field_type=FieldType"
|
|
19117
|
+
".INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='move_path', annotation=OpRef(nam"
|
|
19118
|
+
"e='init.fields.3.annotation'), default=OpRef(name='init.fields.3.default'), default_factory=None, init=True, o"
|
|
19119
|
+
"verride=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self'"
|
|
19120
|
+
", std_params=('type', 'new_file', 'chunks', 'move_path'), kw_only_params=(), frozen=False, slots=False, post_i"
|
|
19121
|
+
"nit_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='type', kw_only=False, fn"
|
|
19122
|
+
"=None), ReprPlan.Field(name='new_file', kw_only=False, fn=None), ReprPlan.Field(name='chunks', kw_only=False, "
|
|
19123
|
+
"fn=None), ReprPlan.Field(name='move_path', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
19052
19124
|
),
|
|
19053
|
-
plan_repr_sha1='
|
|
19125
|
+
plan_repr_sha1='f7473f8f73f3d63ddea853bd4a405abd76cf2b14',
|
|
19054
19126
|
op_ref_idents=(
|
|
19055
19127
|
'__dataclass__init__fields__0__annotation',
|
|
19056
19128
|
'__dataclass__init__fields__1__annotation',
|
|
19057
19129
|
'__dataclass__init__fields__1__default',
|
|
19058
19130
|
'__dataclass__init__fields__2__annotation',
|
|
19059
|
-
'
|
|
19131
|
+
'__dataclass__init__fields__2__default_factory',
|
|
19060
19132
|
'__dataclass__init__fields__3__annotation',
|
|
19061
19133
|
'__dataclass__init__fields__3__default',
|
|
19062
19134
|
),
|
|
19063
19135
|
cls_names=(
|
|
19064
|
-
('ommlds.minichain.text.applypatch', '
|
|
19136
|
+
('ommlds.minichain.text.applypatch', 'PatchAction'),
|
|
19065
19137
|
),
|
|
19066
19138
|
)
|
|
19067
|
-
def
|
|
19139
|
+
def _process_dataclass__f7473f8f73f3d63ddea853bd4a405abd76cf2b14():
|
|
19068
19140
|
def _process_dataclass(
|
|
19069
19141
|
*,
|
|
19070
19142
|
__dataclass__cls,
|
|
@@ -19072,7 +19144,7 @@ def _process_dataclass__08ed71763cbffe119aa76fffc962ebb7b49e0133():
|
|
|
19072
19144
|
__dataclass__init__fields__1__annotation,
|
|
19073
19145
|
__dataclass__init__fields__1__default,
|
|
19074
19146
|
__dataclass__init__fields__2__annotation,
|
|
19075
|
-
|
|
19147
|
+
__dataclass__init__fields__2__default_factory,
|
|
19076
19148
|
__dataclass__init__fields__3__annotation,
|
|
19077
19149
|
__dataclass__init__fields__3__default,
|
|
19078
19150
|
__dataclass__FieldFnValidationError, # noqa
|
|
@@ -19094,8 +19166,8 @@ def _process_dataclass__08ed71763cbffe119aa76fffc962ebb7b49e0133():
|
|
|
19094
19166
|
raise TypeError(self)
|
|
19095
19167
|
return __dataclass__cls( # noqa
|
|
19096
19168
|
type=self.type,
|
|
19097
|
-
|
|
19098
|
-
|
|
19169
|
+
new_file=self.new_file,
|
|
19170
|
+
chunks=self.chunks,
|
|
19099
19171
|
move_path=self.move_path,
|
|
19100
19172
|
)
|
|
19101
19173
|
|
|
@@ -19111,8 +19183,8 @@ def _process_dataclass__08ed71763cbffe119aa76fffc962ebb7b49e0133():
|
|
|
19111
19183
|
return NotImplemented
|
|
19112
19184
|
return (
|
|
19113
19185
|
self.type == other.type and
|
|
19114
|
-
self.
|
|
19115
|
-
self.
|
|
19186
|
+
self.new_file == other.new_file and
|
|
19187
|
+
self.chunks == other.chunks and
|
|
19116
19188
|
self.move_path == other.move_path
|
|
19117
19189
|
)
|
|
19118
19190
|
|
|
@@ -19126,13 +19198,15 @@ def _process_dataclass__08ed71763cbffe119aa76fffc962ebb7b49e0133():
|
|
|
19126
19198
|
def __init__(
|
|
19127
19199
|
self,
|
|
19128
19200
|
type: __dataclass__init__fields__0__annotation,
|
|
19129
|
-
|
|
19130
|
-
|
|
19201
|
+
new_file: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
19202
|
+
chunks: __dataclass__init__fields__2__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
19131
19203
|
move_path: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
19132
19204
|
) -> __dataclass__None:
|
|
19205
|
+
if chunks is __dataclass__HAS_DEFAULT_FACTORY:
|
|
19206
|
+
chunks = __dataclass__init__fields__2__default_factory()
|
|
19133
19207
|
self.type = type
|
|
19134
|
-
self.
|
|
19135
|
-
self.
|
|
19208
|
+
self.new_file = new_file
|
|
19209
|
+
self.chunks = chunks
|
|
19136
19210
|
self.move_path = move_path
|
|
19137
19211
|
|
|
19138
19212
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
@@ -19144,8 +19218,8 @@ def _process_dataclass__08ed71763cbffe119aa76fffc962ebb7b49e0133():
|
|
|
19144
19218
|
def __repr__(self):
|
|
19145
19219
|
parts = []
|
|
19146
19220
|
parts.append(f"type={self.type!r}")
|
|
19147
|
-
parts.append(f"
|
|
19148
|
-
parts.append(f"
|
|
19221
|
+
parts.append(f"new_file={self.new_file!r}")
|
|
19222
|
+
parts.append(f"chunks={self.chunks!r}")
|
|
19149
19223
|
parts.append(f"move_path={self.move_path!r}")
|
|
19150
19224
|
return (
|
|
19151
19225
|
f"{self.__class__.__qualname__}("
|
|
@@ -19163,52 +19237,43 @@ def _process_dataclass__08ed71763cbffe119aa76fffc962ebb7b49e0133():
|
|
|
19163
19237
|
|
|
19164
19238
|
@_register(
|
|
19165
19239
|
plan_repr=(
|
|
19166
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
19167
|
-
"
|
|
19168
|
-
"
|
|
19169
|
-
"
|
|
19170
|
-
"
|
|
19171
|
-
"
|
|
19172
|
-
"
|
|
19173
|
-
"init.fields.2.
|
|
19174
|
-
"e=None, validate=None, check_type=None), InitPlan.Field(name='patch', annotation=OpRef(name='init.fields.3.ann"
|
|
19175
|
-
"otation'), default=None, default_factory=OpRef(name='init.fields.3.default_factory'), init=True, override=Fals"
|
|
19176
|
-
"e, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='fuzz', an"
|
|
19177
|
-
"notation=OpRef(name='init.fields.4.annotation'), default=OpRef(name='init.fields.4.default'), default_factory="
|
|
19240
|
+
"Plans(tup=(CopyPlan(fields=('content', 'tool_calls', 'reasoning_content')), EqPlan(fields=('content', 'tool_ca"
|
|
19241
|
+
"lls', 'reasoning_content')), HashPlan(action='set_none', fields=None, cache=None), InitPlan(fields=(InitPlan.F"
|
|
19242
|
+
"ield(name='content', annotation=OpRef(name='init.fields.0.annotation'), default=OpRef(name='init.fields.0.defa"
|
|
19243
|
+
"ult'), default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=N"
|
|
19244
|
+
"one, check_type=None), InitPlan.Field(name='tool_calls', annotation=OpRef(name='init.fields.1.annotation'), de"
|
|
19245
|
+
"fault=None, default_factory=OpRef(name='init.fields.1.default_factory'), init=True, override=False, field_type"
|
|
19246
|
+
"=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='reasoning_content', an"
|
|
19247
|
+
"notation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_factory="
|
|
19178
19248
|
"None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)),"
|
|
19179
|
-
" self_param='self', std_params=('
|
|
19180
|
-
"
|
|
19181
|
-
"
|
|
19182
|
-
"
|
|
19183
|
-
"(name='fuzz', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
19249
|
+
" self_param='self', std_params=('content', 'tool_calls', 'reasoning_content'), kw_only_params=(), frozen=False"
|
|
19250
|
+
", slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='con"
|
|
19251
|
+
"tent', kw_only=False, fn=None), ReprPlan.Field(name='tool_calls', kw_only=False, fn=None), ReprPlan.Field(name"
|
|
19252
|
+
"='reasoning_content', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
19184
19253
|
),
|
|
19185
|
-
plan_repr_sha1='
|
|
19254
|
+
plan_repr_sha1='b776b6d80e5ca64f228627161435152ae282463b',
|
|
19186
19255
|
op_ref_idents=(
|
|
19187
19256
|
'__dataclass__init__fields__0__annotation',
|
|
19257
|
+
'__dataclass__init__fields__0__default',
|
|
19188
19258
|
'__dataclass__init__fields__1__annotation',
|
|
19259
|
+
'__dataclass__init__fields__1__default_factory',
|
|
19189
19260
|
'__dataclass__init__fields__2__annotation',
|
|
19190
19261
|
'__dataclass__init__fields__2__default',
|
|
19191
|
-
'__dataclass__init__fields__3__annotation',
|
|
19192
|
-
'__dataclass__init__fields__3__default_factory',
|
|
19193
|
-
'__dataclass__init__fields__4__annotation',
|
|
19194
|
-
'__dataclass__init__fields__4__default',
|
|
19195
19262
|
),
|
|
19196
19263
|
cls_names=(
|
|
19197
|
-
('ommlds.minichain.text.
|
|
19264
|
+
('ommlds.minichain.text.toolparsing.llamacpp.hermes2', 'ChatMsg'),
|
|
19198
19265
|
),
|
|
19199
19266
|
)
|
|
19200
|
-
def
|
|
19267
|
+
def _process_dataclass__b776b6d80e5ca64f228627161435152ae282463b():
|
|
19201
19268
|
def _process_dataclass(
|
|
19202
19269
|
*,
|
|
19203
19270
|
__dataclass__cls,
|
|
19204
19271
|
__dataclass__init__fields__0__annotation,
|
|
19272
|
+
__dataclass__init__fields__0__default,
|
|
19205
19273
|
__dataclass__init__fields__1__annotation,
|
|
19274
|
+
__dataclass__init__fields__1__default_factory,
|
|
19206
19275
|
__dataclass__init__fields__2__annotation,
|
|
19207
19276
|
__dataclass__init__fields__2__default,
|
|
19208
|
-
__dataclass__init__fields__3__annotation,
|
|
19209
|
-
__dataclass__init__fields__3__default_factory,
|
|
19210
|
-
__dataclass__init__fields__4__annotation,
|
|
19211
|
-
__dataclass__init__fields__4__default,
|
|
19212
19277
|
__dataclass__FieldFnValidationError, # noqa
|
|
19213
19278
|
__dataclass__FieldTypeValidationError, # noqa
|
|
19214
19279
|
__dataclass__FnValidationError, # noqa
|
|
@@ -19227,11 +19292,9 @@ def _process_dataclass__b92d453cb05ec45f21af65005f00df3f007e04b8():
|
|
|
19227
19292
|
if self.__class__ is not __dataclass__cls:
|
|
19228
19293
|
raise TypeError(self)
|
|
19229
19294
|
return __dataclass__cls( # noqa
|
|
19230
|
-
|
|
19231
|
-
|
|
19232
|
-
|
|
19233
|
-
patch=self.patch,
|
|
19234
|
-
fuzz=self.fuzz,
|
|
19295
|
+
content=self.content,
|
|
19296
|
+
tool_calls=self.tool_calls,
|
|
19297
|
+
reasoning_content=self.reasoning_content,
|
|
19235
19298
|
)
|
|
19236
19299
|
|
|
19237
19300
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -19245,11 +19308,9 @@ def _process_dataclass__b92d453cb05ec45f21af65005f00df3f007e04b8():
|
|
|
19245
19308
|
if self.__class__ is not other.__class__:
|
|
19246
19309
|
return NotImplemented
|
|
19247
19310
|
return (
|
|
19248
|
-
self.
|
|
19249
|
-
self.
|
|
19250
|
-
self.
|
|
19251
|
-
self.patch == other.patch and
|
|
19252
|
-
self.fuzz == other.fuzz
|
|
19311
|
+
self.content == other.content and
|
|
19312
|
+
self.tool_calls == other.tool_calls and
|
|
19313
|
+
self.reasoning_content == other.reasoning_content
|
|
19253
19314
|
)
|
|
19254
19315
|
|
|
19255
19316
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -19261,19 +19322,15 @@ def _process_dataclass__b92d453cb05ec45f21af65005f00df3f007e04b8():
|
|
|
19261
19322
|
|
|
19262
19323
|
def __init__(
|
|
19263
19324
|
self,
|
|
19264
|
-
|
|
19265
|
-
|
|
19266
|
-
|
|
19267
|
-
patch: __dataclass__init__fields__3__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
19268
|
-
fuzz: __dataclass__init__fields__4__annotation = __dataclass__init__fields__4__default,
|
|
19325
|
+
content: __dataclass__init__fields__0__annotation = __dataclass__init__fields__0__default,
|
|
19326
|
+
tool_calls: __dataclass__init__fields__1__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
19327
|
+
reasoning_content: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
19269
19328
|
) -> __dataclass__None:
|
|
19270
|
-
if
|
|
19271
|
-
|
|
19272
|
-
self.
|
|
19273
|
-
self.
|
|
19274
|
-
self.
|
|
19275
|
-
self.patch = patch
|
|
19276
|
-
self.fuzz = fuzz
|
|
19329
|
+
if tool_calls is __dataclass__HAS_DEFAULT_FACTORY:
|
|
19330
|
+
tool_calls = __dataclass__init__fields__1__default_factory()
|
|
19331
|
+
self.content = content
|
|
19332
|
+
self.tool_calls = tool_calls
|
|
19333
|
+
self.reasoning_content = reasoning_content
|
|
19277
19334
|
|
|
19278
19335
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
19279
19336
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -19283,11 +19340,9 @@ def _process_dataclass__b92d453cb05ec45f21af65005f00df3f007e04b8():
|
|
|
19283
19340
|
@__dataclass___recursive_repr()
|
|
19284
19341
|
def __repr__(self):
|
|
19285
19342
|
parts = []
|
|
19286
|
-
parts.append(f"
|
|
19287
|
-
parts.append(f"
|
|
19288
|
-
parts.append(f"
|
|
19289
|
-
parts.append(f"patch={self.patch!r}")
|
|
19290
|
-
parts.append(f"fuzz={self.fuzz!r}")
|
|
19343
|
+
parts.append(f"content={self.content!r}")
|
|
19344
|
+
parts.append(f"tool_calls={self.tool_calls!r}")
|
|
19345
|
+
parts.append(f"reasoning_content={self.reasoning_content!r}")
|
|
19291
19346
|
return (
|
|
19292
19347
|
f"{self.__class__.__qualname__}("
|
|
19293
19348
|
f"{', '.join(parts)}"
|
|
@@ -19304,29 +19359,38 @@ def _process_dataclass__b92d453cb05ec45f21af65005f00df3f007e04b8():
|
|
|
19304
19359
|
|
|
19305
19360
|
@_register(
|
|
19306
19361
|
plan_repr=(
|
|
19307
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
19308
|
-
", cache=None), InitPlan(fields=(InitPlan.Field(name='
|
|
19309
|
-
"'), default=None, default_factory=
|
|
19310
|
-
"
|
|
19311
|
-
"
|
|
19312
|
-
"
|
|
19313
|
-
"
|
|
19362
|
+
"Plans(tup=(CopyPlan(fields=('name', 'arguments', 'id')), EqPlan(fields=('name', 'arguments', 'id')), HashPlan("
|
|
19363
|
+
"action='set_none', fields=None, cache=None), InitPlan(fields=(InitPlan.Field(name='name', annotation=OpRef(nam"
|
|
19364
|
+
"e='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, field_type=Field"
|
|
19365
|
+
"Type.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='arguments', annotation=OpRef"
|
|
19366
|
+
"(name='init.fields.1.annotation'), default=None, default_factory=None, init=True, override=False, field_type=F"
|
|
19367
|
+
"ieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='id', annotation=OpRef(na"
|
|
19368
|
+
"me='init.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_factory=None, init=True, "
|
|
19369
|
+
"override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self"
|
|
19370
|
+
"', std_params=('name', 'arguments', 'id'), kw_only_params=(), frozen=False, slots=False, post_init_params=None"
|
|
19371
|
+
", init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='name', kw_only=False, fn=None), ReprPla"
|
|
19372
|
+
"n.Field(name='arguments', kw_only=False, fn=None), ReprPlan.Field(name='id', kw_only=False, fn=None)), id=Fals"
|
|
19373
|
+
"e, terse=False, default_fn=None)))"
|
|
19314
19374
|
),
|
|
19315
|
-
plan_repr_sha1='
|
|
19375
|
+
plan_repr_sha1='3d6d34f0c6b17b808a0f4afd043a0fd6b13a3c0c',
|
|
19316
19376
|
op_ref_idents=(
|
|
19317
19377
|
'__dataclass__init__fields__0__annotation',
|
|
19318
|
-
'
|
|
19378
|
+
'__dataclass__init__fields__1__annotation',
|
|
19379
|
+
'__dataclass__init__fields__2__annotation',
|
|
19380
|
+
'__dataclass__init__fields__2__default',
|
|
19319
19381
|
),
|
|
19320
19382
|
cls_names=(
|
|
19321
|
-
('ommlds.minichain.text.
|
|
19383
|
+
('ommlds.minichain.text.toolparsing.llamacpp.hermes2', 'ChatToolCall'),
|
|
19322
19384
|
),
|
|
19323
19385
|
)
|
|
19324
|
-
def
|
|
19386
|
+
def _process_dataclass__3d6d34f0c6b17b808a0f4afd043a0fd6b13a3c0c():
|
|
19325
19387
|
def _process_dataclass(
|
|
19326
19388
|
*,
|
|
19327
19389
|
__dataclass__cls,
|
|
19328
19390
|
__dataclass__init__fields__0__annotation,
|
|
19329
|
-
|
|
19391
|
+
__dataclass__init__fields__1__annotation,
|
|
19392
|
+
__dataclass__init__fields__2__annotation,
|
|
19393
|
+
__dataclass__init__fields__2__default,
|
|
19330
19394
|
__dataclass__FieldFnValidationError, # noqa
|
|
19331
19395
|
__dataclass__FieldTypeValidationError, # noqa
|
|
19332
19396
|
__dataclass__FnValidationError, # noqa
|
|
@@ -19345,7 +19409,9 @@ def _process_dataclass__00bdcdd6e2f18731e9c63b5db7cefb1ee7e98dc9():
|
|
|
19345
19409
|
if self.__class__ is not __dataclass__cls:
|
|
19346
19410
|
raise TypeError(self)
|
|
19347
19411
|
return __dataclass__cls( # noqa
|
|
19348
|
-
|
|
19412
|
+
name=self.name,
|
|
19413
|
+
arguments=self.arguments,
|
|
19414
|
+
id=self.id,
|
|
19349
19415
|
)
|
|
19350
19416
|
|
|
19351
19417
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -19359,7 +19425,9 @@ def _process_dataclass__00bdcdd6e2f18731e9c63b5db7cefb1ee7e98dc9():
|
|
|
19359
19425
|
if self.__class__ is not other.__class__:
|
|
19360
19426
|
return NotImplemented
|
|
19361
19427
|
return (
|
|
19362
|
-
self.
|
|
19428
|
+
self.name == other.name and
|
|
19429
|
+
self.arguments == other.arguments and
|
|
19430
|
+
self.id == other.id
|
|
19363
19431
|
)
|
|
19364
19432
|
|
|
19365
19433
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -19371,11 +19439,13 @@ def _process_dataclass__00bdcdd6e2f18731e9c63b5db7cefb1ee7e98dc9():
|
|
|
19371
19439
|
|
|
19372
19440
|
def __init__(
|
|
19373
19441
|
self,
|
|
19374
|
-
|
|
19442
|
+
name: __dataclass__init__fields__0__annotation,
|
|
19443
|
+
arguments: __dataclass__init__fields__1__annotation,
|
|
19444
|
+
id: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
19375
19445
|
) -> __dataclass__None:
|
|
19376
|
-
|
|
19377
|
-
|
|
19378
|
-
self.
|
|
19446
|
+
self.name = name
|
|
19447
|
+
self.arguments = arguments
|
|
19448
|
+
self.id = id
|
|
19379
19449
|
|
|
19380
19450
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
19381
19451
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -19385,7 +19455,9 @@ def _process_dataclass__00bdcdd6e2f18731e9c63b5db7cefb1ee7e98dc9():
|
|
|
19385
19455
|
@__dataclass___recursive_repr()
|
|
19386
19456
|
def __repr__(self):
|
|
19387
19457
|
parts = []
|
|
19388
|
-
parts.append(f"
|
|
19458
|
+
parts.append(f"name={self.name!r}")
|
|
19459
|
+
parts.append(f"arguments={self.arguments!r}")
|
|
19460
|
+
parts.append(f"id={self.id!r}")
|
|
19389
19461
|
return (
|
|
19390
19462
|
f"{self.__class__.__qualname__}("
|
|
19391
19463
|
f"{', '.join(parts)}"
|
|
@@ -19402,47 +19474,28 @@ def _process_dataclass__00bdcdd6e2f18731e9c63b5db7cefb1ee7e98dc9():
|
|
|
19402
19474
|
|
|
19403
19475
|
@_register(
|
|
19404
19476
|
plan_repr=(
|
|
19405
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
19406
|
-
"
|
|
19407
|
-
"
|
|
19408
|
-
"
|
|
19409
|
-
"
|
|
19410
|
-
"
|
|
19411
|
-
"
|
|
19412
|
-
", default_factory=OpRef(name='init.fields.2.default_factory'), init=True, override=False, field_type=FieldType"
|
|
19413
|
-
".INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='move_path', annotation=OpRef(nam"
|
|
19414
|
-
"e='init.fields.3.annotation'), default=OpRef(name='init.fields.3.default'), default_factory=None, init=True, o"
|
|
19415
|
-
"verride=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self'"
|
|
19416
|
-
", std_params=('type', 'new_file', 'chunks', 'move_path'), kw_only_params=(), frozen=False, slots=False, post_i"
|
|
19417
|
-
"nit_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='type', kw_only=False, fn"
|
|
19418
|
-
"=None), ReprPlan.Field(name='new_file', kw_only=False, fn=None), ReprPlan.Field(name='chunks', kw_only=False, "
|
|
19419
|
-
"fn=None), ReprPlan.Field(name='move_path', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
19477
|
+
"Plans(tup=(CopyPlan(fields=('et',)), EqPlan(fields=('et',)), FrozenPlan(fields=('et',), allow_dynamic_dunder_a"
|
|
19478
|
+
"ttrs=False), HashPlan(action='add', fields=('et',), cache=False), InitPlan(fields=(InitPlan.Field(name='et', a"
|
|
19479
|
+
"nnotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=Fals"
|
|
19480
|
+
"e, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None),), self_param='self', std_param"
|
|
19481
|
+
"s=('et',), kw_only_params=(), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), "
|
|
19482
|
+
"ReprPlan(fields=(ReprPlan.Field(name='et', kw_only=False, fn=None),), id=False, terse=False, default_fn=None))"
|
|
19483
|
+
")"
|
|
19420
19484
|
),
|
|
19421
|
-
plan_repr_sha1='
|
|
19485
|
+
plan_repr_sha1='d1dcd40f048e6560420787a4291f3f9d415c2cf3',
|
|
19422
19486
|
op_ref_idents=(
|
|
19423
19487
|
'__dataclass__init__fields__0__annotation',
|
|
19424
|
-
'__dataclass__init__fields__1__annotation',
|
|
19425
|
-
'__dataclass__init__fields__1__default',
|
|
19426
|
-
'__dataclass__init__fields__2__annotation',
|
|
19427
|
-
'__dataclass__init__fields__2__default_factory',
|
|
19428
|
-
'__dataclass__init__fields__3__annotation',
|
|
19429
|
-
'__dataclass__init__fields__3__default',
|
|
19430
19488
|
),
|
|
19431
19489
|
cls_names=(
|
|
19432
|
-
('ommlds.minichain.
|
|
19490
|
+
('ommlds.minichain.vectors._marshal', '_VectorMarshaler'),
|
|
19491
|
+
('ommlds.minichain.vectors._marshal', '_VectorUnmarshaler'),
|
|
19433
19492
|
),
|
|
19434
19493
|
)
|
|
19435
|
-
def
|
|
19494
|
+
def _process_dataclass__d1dcd40f048e6560420787a4291f3f9d415c2cf3():
|
|
19436
19495
|
def _process_dataclass(
|
|
19437
19496
|
*,
|
|
19438
19497
|
__dataclass__cls,
|
|
19439
19498
|
__dataclass__init__fields__0__annotation,
|
|
19440
|
-
__dataclass__init__fields__1__annotation,
|
|
19441
|
-
__dataclass__init__fields__1__default,
|
|
19442
|
-
__dataclass__init__fields__2__annotation,
|
|
19443
|
-
__dataclass__init__fields__2__default_factory,
|
|
19444
|
-
__dataclass__init__fields__3__annotation,
|
|
19445
|
-
__dataclass__init__fields__3__default,
|
|
19446
19499
|
__dataclass__FieldFnValidationError, # noqa
|
|
19447
19500
|
__dataclass__FieldTypeValidationError, # noqa
|
|
19448
19501
|
__dataclass__FnValidationError, # noqa
|
|
@@ -19461,10 +19514,7 @@ def _process_dataclass__f7473f8f73f3d63ddea853bd4a405abd76cf2b14():
|
|
|
19461
19514
|
if self.__class__ is not __dataclass__cls:
|
|
19462
19515
|
raise TypeError(self)
|
|
19463
19516
|
return __dataclass__cls( # noqa
|
|
19464
|
-
|
|
19465
|
-
new_file=self.new_file,
|
|
19466
|
-
chunks=self.chunks,
|
|
19467
|
-
move_path=self.move_path,
|
|
19517
|
+
et=self.et,
|
|
19468
19518
|
)
|
|
19469
19519
|
|
|
19470
19520
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -19478,10 +19528,7 @@ def _process_dataclass__f7473f8f73f3d63ddea853bd4a405abd76cf2b14():
|
|
|
19478
19528
|
if self.__class__ is not other.__class__:
|
|
19479
19529
|
return NotImplemented
|
|
19480
19530
|
return (
|
|
19481
|
-
self.
|
|
19482
|
-
self.new_file == other.new_file and
|
|
19483
|
-
self.chunks == other.chunks and
|
|
19484
|
-
self.move_path == other.move_path
|
|
19531
|
+
self.et == other.et
|
|
19485
19532
|
)
|
|
19486
19533
|
|
|
19487
19534
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -19489,21 +19536,53 @@ def _process_dataclass__f7473f8f73f3d63ddea853bd4a405abd76cf2b14():
|
|
|
19489
19536
|
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
19490
19537
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
19491
19538
|
|
|
19492
|
-
|
|
19539
|
+
__dataclass___setattr_frozen_fields = {
|
|
19540
|
+
'et',
|
|
19541
|
+
}
|
|
19542
|
+
|
|
19543
|
+
def __setattr__(self, name, value):
|
|
19544
|
+
if (
|
|
19545
|
+
type(self) is __dataclass__cls
|
|
19546
|
+
or name in __dataclass___setattr_frozen_fields
|
|
19547
|
+
):
|
|
19548
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
19549
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
19550
|
+
|
|
19551
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
19552
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
19553
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
19554
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
19555
|
+
|
|
19556
|
+
__dataclass___delattr_frozen_fields = {
|
|
19557
|
+
'et',
|
|
19558
|
+
}
|
|
19559
|
+
|
|
19560
|
+
def __delattr__(self, name):
|
|
19561
|
+
if (
|
|
19562
|
+
type(self) is __dataclass__cls
|
|
19563
|
+
or name in __dataclass___delattr_frozen_fields
|
|
19564
|
+
):
|
|
19565
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
19566
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
19567
|
+
|
|
19568
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
19569
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
19570
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
19571
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
19572
|
+
|
|
19573
|
+
def __hash__(self):
|
|
19574
|
+
return hash((
|
|
19575
|
+
self.et,
|
|
19576
|
+
))
|
|
19577
|
+
|
|
19578
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
19579
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
19493
19580
|
|
|
19494
19581
|
def __init__(
|
|
19495
19582
|
self,
|
|
19496
|
-
|
|
19497
|
-
new_file: __dataclass__init__fields__1__annotation = __dataclass__init__fields__1__default,
|
|
19498
|
-
chunks: __dataclass__init__fields__2__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
19499
|
-
move_path: __dataclass__init__fields__3__annotation = __dataclass__init__fields__3__default,
|
|
19583
|
+
et: __dataclass__init__fields__0__annotation,
|
|
19500
19584
|
) -> __dataclass__None:
|
|
19501
|
-
|
|
19502
|
-
chunks = __dataclass__init__fields__2__default_factory()
|
|
19503
|
-
self.type = type
|
|
19504
|
-
self.new_file = new_file
|
|
19505
|
-
self.chunks = chunks
|
|
19506
|
-
self.move_path = move_path
|
|
19585
|
+
__dataclass__object_setattr(self, 'et', et)
|
|
19507
19586
|
|
|
19508
19587
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
19509
19588
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -19513,10 +19592,7 @@ def _process_dataclass__f7473f8f73f3d63ddea853bd4a405abd76cf2b14():
|
|
|
19513
19592
|
@__dataclass___recursive_repr()
|
|
19514
19593
|
def __repr__(self):
|
|
19515
19594
|
parts = []
|
|
19516
|
-
parts.append(f"
|
|
19517
|
-
parts.append(f"new_file={self.new_file!r}")
|
|
19518
|
-
parts.append(f"chunks={self.chunks!r}")
|
|
19519
|
-
parts.append(f"move_path={self.move_path!r}")
|
|
19595
|
+
parts.append(f"et={self.et!r}")
|
|
19520
19596
|
return (
|
|
19521
19597
|
f"{self.__class__.__qualname__}("
|
|
19522
19598
|
f"{', '.join(parts)}"
|
|
@@ -19533,43 +19609,26 @@ def _process_dataclass__f7473f8f73f3d63ddea853bd4a405abd76cf2b14():
|
|
|
19533
19609
|
|
|
19534
19610
|
@_register(
|
|
19535
19611
|
plan_repr=(
|
|
19536
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
19537
|
-
"
|
|
19538
|
-
"
|
|
19539
|
-
"
|
|
19540
|
-
"
|
|
19541
|
-
"
|
|
19542
|
-
"=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='reasoning_content', an"
|
|
19543
|
-
"notation=OpRef(name='init.fields.2.annotation'), default=OpRef(name='init.fields.2.default'), default_factory="
|
|
19544
|
-
"None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)),"
|
|
19545
|
-
" self_param='self', std_params=('content', 'tool_calls', 'reasoning_content'), kw_only_params=(), frozen=False"
|
|
19546
|
-
", slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='con"
|
|
19547
|
-
"tent', kw_only=False, fn=None), ReprPlan.Field(name='tool_calls', kw_only=False, fn=None), ReprPlan.Field(name"
|
|
19548
|
-
"='reasoning_content', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
19612
|
+
"Plans(tup=(CopyPlan(fields=('e',)), EqPlan(fields=('e',)), FrozenPlan(fields=('e',), allow_dynamic_dunder_attr"
|
|
19613
|
+
"s=False), HashPlan(action='add', fields=('e',), cache=False), InitPlan(fields=(InitPlan.Field(name='e', annota"
|
|
19614
|
+
"tion=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=False, fi"
|
|
19615
|
+
"eld_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None),), self_param='self', std_params=('e"
|
|
19616
|
+
"',), kw_only_params=(), frozen=True, slots=False, post_init_params=None, init_fns=(), validate_fns=()), ReprPl"
|
|
19617
|
+
"an(fields=(ReprPlan.Field(name='e', kw_only=False, fn=None),), id=False, terse=False, default_fn=None)))"
|
|
19549
19618
|
),
|
|
19550
|
-
plan_repr_sha1='
|
|
19619
|
+
plan_repr_sha1='09d620230085f2ec30d46bc47d392ca3f53879f5',
|
|
19551
19620
|
op_ref_idents=(
|
|
19552
19621
|
'__dataclass__init__fields__0__annotation',
|
|
19553
|
-
'__dataclass__init__fields__0__default',
|
|
19554
|
-
'__dataclass__init__fields__1__annotation',
|
|
19555
|
-
'__dataclass__init__fields__1__default_factory',
|
|
19556
|
-
'__dataclass__init__fields__2__annotation',
|
|
19557
|
-
'__dataclass__init__fields__2__default',
|
|
19558
19622
|
),
|
|
19559
19623
|
cls_names=(
|
|
19560
|
-
('ommlds.minichain.
|
|
19624
|
+
('ommlds.minichain.wrappers.firstinwins', 'FirstInWinsServiceCancelledError'),
|
|
19561
19625
|
),
|
|
19562
19626
|
)
|
|
19563
|
-
def
|
|
19627
|
+
def _process_dataclass__09d620230085f2ec30d46bc47d392ca3f53879f5():
|
|
19564
19628
|
def _process_dataclass(
|
|
19565
19629
|
*,
|
|
19566
19630
|
__dataclass__cls,
|
|
19567
19631
|
__dataclass__init__fields__0__annotation,
|
|
19568
|
-
__dataclass__init__fields__0__default,
|
|
19569
|
-
__dataclass__init__fields__1__annotation,
|
|
19570
|
-
__dataclass__init__fields__1__default_factory,
|
|
19571
|
-
__dataclass__init__fields__2__annotation,
|
|
19572
|
-
__dataclass__init__fields__2__default,
|
|
19573
19632
|
__dataclass__FieldFnValidationError, # noqa
|
|
19574
19633
|
__dataclass__FieldTypeValidationError, # noqa
|
|
19575
19634
|
__dataclass__FnValidationError, # noqa
|
|
@@ -19588,9 +19647,7 @@ def _process_dataclass__b776b6d80e5ca64f228627161435152ae282463b():
|
|
|
19588
19647
|
if self.__class__ is not __dataclass__cls:
|
|
19589
19648
|
raise TypeError(self)
|
|
19590
19649
|
return __dataclass__cls( # noqa
|
|
19591
|
-
|
|
19592
|
-
tool_calls=self.tool_calls,
|
|
19593
|
-
reasoning_content=self.reasoning_content,
|
|
19650
|
+
e=self.e,
|
|
19594
19651
|
)
|
|
19595
19652
|
|
|
19596
19653
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -19604,9 +19661,7 @@ def _process_dataclass__b776b6d80e5ca64f228627161435152ae282463b():
|
|
|
19604
19661
|
if self.__class__ is not other.__class__:
|
|
19605
19662
|
return NotImplemented
|
|
19606
19663
|
return (
|
|
19607
|
-
self.
|
|
19608
|
-
self.tool_calls == other.tool_calls and
|
|
19609
|
-
self.reasoning_content == other.reasoning_content
|
|
19664
|
+
self.e == other.e
|
|
19610
19665
|
)
|
|
19611
19666
|
|
|
19612
19667
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -19614,19 +19669,53 @@ def _process_dataclass__b776b6d80e5ca64f228627161435152ae282463b():
|
|
|
19614
19669
|
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
19615
19670
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
19616
19671
|
|
|
19617
|
-
|
|
19672
|
+
__dataclass___setattr_frozen_fields = {
|
|
19673
|
+
'e',
|
|
19674
|
+
}
|
|
19675
|
+
|
|
19676
|
+
def __setattr__(self, name, value):
|
|
19677
|
+
if (
|
|
19678
|
+
type(self) is __dataclass__cls
|
|
19679
|
+
or name in __dataclass___setattr_frozen_fields
|
|
19680
|
+
):
|
|
19681
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
19682
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
19683
|
+
|
|
19684
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
19685
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
19686
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
19687
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
19688
|
+
|
|
19689
|
+
__dataclass___delattr_frozen_fields = {
|
|
19690
|
+
'e',
|
|
19691
|
+
}
|
|
19692
|
+
|
|
19693
|
+
def __delattr__(self, name):
|
|
19694
|
+
if (
|
|
19695
|
+
type(self) is __dataclass__cls
|
|
19696
|
+
or name in __dataclass___delattr_frozen_fields
|
|
19697
|
+
):
|
|
19698
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
19699
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
19700
|
+
|
|
19701
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
19702
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
19703
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
19704
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
19705
|
+
|
|
19706
|
+
def __hash__(self):
|
|
19707
|
+
return hash((
|
|
19708
|
+
self.e,
|
|
19709
|
+
))
|
|
19710
|
+
|
|
19711
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
19712
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
19618
19713
|
|
|
19619
19714
|
def __init__(
|
|
19620
19715
|
self,
|
|
19621
|
-
|
|
19622
|
-
tool_calls: __dataclass__init__fields__1__annotation = __dataclass__HAS_DEFAULT_FACTORY,
|
|
19623
|
-
reasoning_content: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
19716
|
+
e: __dataclass__init__fields__0__annotation,
|
|
19624
19717
|
) -> __dataclass__None:
|
|
19625
|
-
|
|
19626
|
-
tool_calls = __dataclass__init__fields__1__default_factory()
|
|
19627
|
-
self.content = content
|
|
19628
|
-
self.tool_calls = tool_calls
|
|
19629
|
-
self.reasoning_content = reasoning_content
|
|
19718
|
+
__dataclass__object_setattr(self, 'e', e)
|
|
19630
19719
|
|
|
19631
19720
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
19632
19721
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -19636,9 +19725,7 @@ def _process_dataclass__b776b6d80e5ca64f228627161435152ae282463b():
|
|
|
19636
19725
|
@__dataclass___recursive_repr()
|
|
19637
19726
|
def __repr__(self):
|
|
19638
19727
|
parts = []
|
|
19639
|
-
parts.append(f"
|
|
19640
|
-
parts.append(f"tool_calls={self.tool_calls!r}")
|
|
19641
|
-
parts.append(f"reasoning_content={self.reasoning_content!r}")
|
|
19728
|
+
parts.append(f"e={self.e!r}")
|
|
19642
19729
|
return (
|
|
19643
19730
|
f"{self.__class__.__qualname__}("
|
|
19644
19731
|
f"{', '.join(parts)}"
|
|
@@ -19655,20 +19742,23 @@ def _process_dataclass__b776b6d80e5ca64f228627161435152ae282463b():
|
|
|
19655
19742
|
|
|
19656
19743
|
@_register(
|
|
19657
19744
|
plan_repr=(
|
|
19658
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
19659
|
-
"
|
|
19660
|
-
"
|
|
19661
|
-
"
|
|
19662
|
-
"(name='init.fields.
|
|
19663
|
-
"
|
|
19664
|
-
"
|
|
19665
|
-
"override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None
|
|
19666
|
-
"
|
|
19667
|
-
",
|
|
19668
|
-
"
|
|
19669
|
-
"
|
|
19745
|
+
"Plans(tup=(CopyPlan(fields=('first_in_wins_service', 'response_service', 'service_exceptions')), EqPlan(fields"
|
|
19746
|
+
"=('first_in_wins_service', 'response_service', 'service_exceptions')), FrozenPlan(fields=('first_in_wins_servi"
|
|
19747
|
+
"ce', 'response_service', 'service_exceptions'), allow_dynamic_dunder_attrs=False), HashPlan(action='add', fiel"
|
|
19748
|
+
"ds=('first_in_wins_service', 'response_service', 'service_exceptions'), cache=False), InitPlan(fields=(InitPla"
|
|
19749
|
+
"n.Field(name='first_in_wins_service', annotation=OpRef(name='init.fields.0.annotation'), default=None, default"
|
|
19750
|
+
"_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_typ"
|
|
19751
|
+
"e=None), InitPlan.Field(name='response_service', annotation=OpRef(name='init.fields.1.annotation'), default=No"
|
|
19752
|
+
"ne, default_factory=None, init=True, override=False, field_type=FieldType.INSTANCE, coerce=None, validate=None"
|
|
19753
|
+
", check_type=None), InitPlan.Field(name='service_exceptions', annotation=OpRef(name='init.fields.2.annotation'"
|
|
19754
|
+
"), default=OpRef(name='init.fields.2.default'), default_factory=None, init=True, override=False, field_type=Fi"
|
|
19755
|
+
"eldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std_params=('first_in_wins"
|
|
19756
|
+
"_service', 'response_service', 'service_exceptions'), kw_only_params=(), frozen=True, slots=False, post_init_p"
|
|
19757
|
+
"arams=None, init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='first_in_wins_service', kw_on"
|
|
19758
|
+
"ly=False, fn=None), ReprPlan.Field(name='response_service', kw_only=False, fn=None), ReprPlan.Field(name='serv"
|
|
19759
|
+
"ice_exceptions', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
19670
19760
|
),
|
|
19671
|
-
plan_repr_sha1='
|
|
19761
|
+
plan_repr_sha1='338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab',
|
|
19672
19762
|
op_ref_idents=(
|
|
19673
19763
|
'__dataclass__init__fields__0__annotation',
|
|
19674
19764
|
'__dataclass__init__fields__1__annotation',
|
|
@@ -19676,10 +19766,10 @@ def _process_dataclass__b776b6d80e5ca64f228627161435152ae282463b():
|
|
|
19676
19766
|
'__dataclass__init__fields__2__default',
|
|
19677
19767
|
),
|
|
19678
19768
|
cls_names=(
|
|
19679
|
-
('ommlds.minichain.
|
|
19769
|
+
('ommlds.minichain.wrappers.firstinwins', 'FirstInWinsServiceOutput'),
|
|
19680
19770
|
),
|
|
19681
19771
|
)
|
|
19682
|
-
def
|
|
19772
|
+
def _process_dataclass__338ef6c7e8d95c07d43101aa3fb2e5001c70b0ab():
|
|
19683
19773
|
def _process_dataclass(
|
|
19684
19774
|
*,
|
|
19685
19775
|
__dataclass__cls,
|
|
@@ -19705,9 +19795,9 @@ def _process_dataclass__3d6d34f0c6b17b808a0f4afd043a0fd6b13a3c0c():
|
|
|
19705
19795
|
if self.__class__ is not __dataclass__cls:
|
|
19706
19796
|
raise TypeError(self)
|
|
19707
19797
|
return __dataclass__cls( # noqa
|
|
19708
|
-
|
|
19709
|
-
|
|
19710
|
-
|
|
19798
|
+
first_in_wins_service=self.first_in_wins_service,
|
|
19799
|
+
response_service=self.response_service,
|
|
19800
|
+
service_exceptions=self.service_exceptions,
|
|
19711
19801
|
)
|
|
19712
19802
|
|
|
19713
19803
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -19721,9 +19811,9 @@ def _process_dataclass__3d6d34f0c6b17b808a0f4afd043a0fd6b13a3c0c():
|
|
|
19721
19811
|
if self.__class__ is not other.__class__:
|
|
19722
19812
|
return NotImplemented
|
|
19723
19813
|
return (
|
|
19724
|
-
self.
|
|
19725
|
-
self.
|
|
19726
|
-
self.
|
|
19814
|
+
self.first_in_wins_service == other.first_in_wins_service and
|
|
19815
|
+
self.response_service == other.response_service and
|
|
19816
|
+
self.service_exceptions == other.service_exceptions
|
|
19727
19817
|
)
|
|
19728
19818
|
|
|
19729
19819
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -19731,17 +19821,63 @@ def _process_dataclass__3d6d34f0c6b17b808a0f4afd043a0fd6b13a3c0c():
|
|
|
19731
19821
|
raise __dataclass__TypeError(f"Cannot overwrite attribute __eq__ in class {__dataclass__cls.__name__}")
|
|
19732
19822
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
19733
19823
|
|
|
19734
|
-
|
|
19824
|
+
__dataclass___setattr_frozen_fields = {
|
|
19825
|
+
'first_in_wins_service',
|
|
19826
|
+
'response_service',
|
|
19827
|
+
'service_exceptions',
|
|
19828
|
+
}
|
|
19829
|
+
|
|
19830
|
+
def __setattr__(self, name, value):
|
|
19831
|
+
if (
|
|
19832
|
+
type(self) is __dataclass__cls
|
|
19833
|
+
or name in __dataclass___setattr_frozen_fields
|
|
19834
|
+
):
|
|
19835
|
+
raise __dataclass__FrozenInstanceError(f"cannot assign to field {name!r}")
|
|
19836
|
+
super(__dataclass__cls, self).__setattr__(name, value)
|
|
19837
|
+
|
|
19838
|
+
__setattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__setattr__"
|
|
19839
|
+
if '__setattr__' in __dataclass__cls.__dict__:
|
|
19840
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __setattr__ in class {__dataclass__cls.__name__}")
|
|
19841
|
+
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
19842
|
+
|
|
19843
|
+
__dataclass___delattr_frozen_fields = {
|
|
19844
|
+
'first_in_wins_service',
|
|
19845
|
+
'response_service',
|
|
19846
|
+
'service_exceptions',
|
|
19847
|
+
}
|
|
19848
|
+
|
|
19849
|
+
def __delattr__(self, name):
|
|
19850
|
+
if (
|
|
19851
|
+
type(self) is __dataclass__cls
|
|
19852
|
+
or name in __dataclass___delattr_frozen_fields
|
|
19853
|
+
):
|
|
19854
|
+
raise __dataclass__FrozenInstanceError(f"cannot delete field {name!r}")
|
|
19855
|
+
super(__dataclass__cls, self).__delattr__(name)
|
|
19856
|
+
|
|
19857
|
+
__delattr__.__qualname__ = f"{__dataclass__cls.__qualname__}.__delattr__"
|
|
19858
|
+
if '__delattr__' in __dataclass__cls.__dict__:
|
|
19859
|
+
raise __dataclass__TypeError(f"Cannot overwrite attribute __delattr__ in class {__dataclass__cls.__name__}")
|
|
19860
|
+
setattr(__dataclass__cls, '__delattr__', __delattr__)
|
|
19861
|
+
|
|
19862
|
+
def __hash__(self):
|
|
19863
|
+
return hash((
|
|
19864
|
+
self.first_in_wins_service,
|
|
19865
|
+
self.response_service,
|
|
19866
|
+
self.service_exceptions,
|
|
19867
|
+
))
|
|
19868
|
+
|
|
19869
|
+
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
19870
|
+
setattr(__dataclass__cls, '__hash__', __hash__)
|
|
19735
19871
|
|
|
19736
19872
|
def __init__(
|
|
19737
19873
|
self,
|
|
19738
|
-
|
|
19739
|
-
|
|
19740
|
-
|
|
19874
|
+
first_in_wins_service: __dataclass__init__fields__0__annotation,
|
|
19875
|
+
response_service: __dataclass__init__fields__1__annotation,
|
|
19876
|
+
service_exceptions: __dataclass__init__fields__2__annotation = __dataclass__init__fields__2__default,
|
|
19741
19877
|
) -> __dataclass__None:
|
|
19742
|
-
self
|
|
19743
|
-
self
|
|
19744
|
-
self
|
|
19878
|
+
__dataclass__object_setattr(self, 'first_in_wins_service', first_in_wins_service)
|
|
19879
|
+
__dataclass__object_setattr(self, 'response_service', response_service)
|
|
19880
|
+
__dataclass__object_setattr(self, 'service_exceptions', service_exceptions)
|
|
19745
19881
|
|
|
19746
19882
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
19747
19883
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -19751,9 +19887,9 @@ def _process_dataclass__3d6d34f0c6b17b808a0f4afd043a0fd6b13a3c0c():
|
|
|
19751
19887
|
@__dataclass___recursive_repr()
|
|
19752
19888
|
def __repr__(self):
|
|
19753
19889
|
parts = []
|
|
19754
|
-
parts.append(f"
|
|
19755
|
-
parts.append(f"
|
|
19756
|
-
parts.append(f"
|
|
19890
|
+
parts.append(f"first_in_wins_service={self.first_in_wins_service!r}")
|
|
19891
|
+
parts.append(f"response_service={self.response_service!r}")
|
|
19892
|
+
parts.append(f"service_exceptions={self.service_exceptions!r}")
|
|
19757
19893
|
return (
|
|
19758
19894
|
f"{self.__class__.__qualname__}("
|
|
19759
19895
|
f"{', '.join(parts)}"
|
|
@@ -19770,28 +19906,32 @@ def _process_dataclass__3d6d34f0c6b17b808a0f4afd043a0fd6b13a3c0c():
|
|
|
19770
19906
|
|
|
19771
19907
|
@_register(
|
|
19772
19908
|
plan_repr=(
|
|
19773
|
-
"Plans(tup=(CopyPlan(fields=('
|
|
19774
|
-
"
|
|
19775
|
-
"
|
|
19776
|
-
"
|
|
19777
|
-
"
|
|
19778
|
-
"
|
|
19779
|
-
")"
|
|
19909
|
+
"Plans(tup=(CopyPlan(fields=('retry_service', 'num_retries')), EqPlan(fields=('retry_service', 'num_retries')),"
|
|
19910
|
+
" FrozenPlan(fields=('retry_service', 'num_retries'), allow_dynamic_dunder_attrs=False), HashPlan(action='add',"
|
|
19911
|
+
" fields=('retry_service', 'num_retries'), cache=False), InitPlan(fields=(InitPlan.Field(name='retry_service', "
|
|
19912
|
+
"annotation=OpRef(name='init.fields.0.annotation'), default=None, default_factory=None, init=True, override=Fal"
|
|
19913
|
+
"se, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None), InitPlan.Field(name='num_retr"
|
|
19914
|
+
"ies', annotation=OpRef(name='init.fields.1.annotation'), default=None, default_factory=None, init=True, overri"
|
|
19915
|
+
"de=False, field_type=FieldType.INSTANCE, coerce=None, validate=None, check_type=None)), self_param='self', std"
|
|
19916
|
+
"_params=('retry_service', 'num_retries'), kw_only_params=(), frozen=True, slots=False, post_init_params=None, "
|
|
19917
|
+
"init_fns=(), validate_fns=()), ReprPlan(fields=(ReprPlan.Field(name='retry_service', kw_only=False, fn=None), "
|
|
19918
|
+
"ReprPlan.Field(name='num_retries', kw_only=False, fn=None)), id=False, terse=False, default_fn=None)))"
|
|
19780
19919
|
),
|
|
19781
|
-
plan_repr_sha1='
|
|
19920
|
+
plan_repr_sha1='ef4a3cb4e4ef425f9b346f3232271cb4f7f5e97e',
|
|
19782
19921
|
op_ref_idents=(
|
|
19783
19922
|
'__dataclass__init__fields__0__annotation',
|
|
19923
|
+
'__dataclass__init__fields__1__annotation',
|
|
19784
19924
|
),
|
|
19785
19925
|
cls_names=(
|
|
19786
|
-
('ommlds.minichain.
|
|
19787
|
-
('ommlds.minichain.vectors._marshal', '_VectorUnmarshaler'),
|
|
19926
|
+
('ommlds.minichain.wrappers.retry', 'RetryServiceOutput'),
|
|
19788
19927
|
),
|
|
19789
19928
|
)
|
|
19790
|
-
def
|
|
19929
|
+
def _process_dataclass__ef4a3cb4e4ef425f9b346f3232271cb4f7f5e97e():
|
|
19791
19930
|
def _process_dataclass(
|
|
19792
19931
|
*,
|
|
19793
19932
|
__dataclass__cls,
|
|
19794
19933
|
__dataclass__init__fields__0__annotation,
|
|
19934
|
+
__dataclass__init__fields__1__annotation,
|
|
19795
19935
|
__dataclass__FieldFnValidationError, # noqa
|
|
19796
19936
|
__dataclass__FieldTypeValidationError, # noqa
|
|
19797
19937
|
__dataclass__FnValidationError, # noqa
|
|
@@ -19810,7 +19950,8 @@ def _process_dataclass__d1dcd40f048e6560420787a4291f3f9d415c2cf3():
|
|
|
19810
19950
|
if self.__class__ is not __dataclass__cls:
|
|
19811
19951
|
raise TypeError(self)
|
|
19812
19952
|
return __dataclass__cls( # noqa
|
|
19813
|
-
|
|
19953
|
+
retry_service=self.retry_service,
|
|
19954
|
+
num_retries=self.num_retries,
|
|
19814
19955
|
)
|
|
19815
19956
|
|
|
19816
19957
|
__copy__.__qualname__ = f"{__dataclass__cls.__qualname__}.__copy__"
|
|
@@ -19824,7 +19965,8 @@ def _process_dataclass__d1dcd40f048e6560420787a4291f3f9d415c2cf3():
|
|
|
19824
19965
|
if self.__class__ is not other.__class__:
|
|
19825
19966
|
return NotImplemented
|
|
19826
19967
|
return (
|
|
19827
|
-
self.
|
|
19968
|
+
self.retry_service == other.retry_service and
|
|
19969
|
+
self.num_retries == other.num_retries
|
|
19828
19970
|
)
|
|
19829
19971
|
|
|
19830
19972
|
__eq__.__qualname__ = f"{__dataclass__cls.__qualname__}.__eq__"
|
|
@@ -19833,7 +19975,8 @@ def _process_dataclass__d1dcd40f048e6560420787a4291f3f9d415c2cf3():
|
|
|
19833
19975
|
setattr(__dataclass__cls, '__eq__', __eq__)
|
|
19834
19976
|
|
|
19835
19977
|
__dataclass___setattr_frozen_fields = {
|
|
19836
|
-
'
|
|
19978
|
+
'retry_service',
|
|
19979
|
+
'num_retries',
|
|
19837
19980
|
}
|
|
19838
19981
|
|
|
19839
19982
|
def __setattr__(self, name, value):
|
|
@@ -19850,7 +19993,8 @@ def _process_dataclass__d1dcd40f048e6560420787a4291f3f9d415c2cf3():
|
|
|
19850
19993
|
setattr(__dataclass__cls, '__setattr__', __setattr__)
|
|
19851
19994
|
|
|
19852
19995
|
__dataclass___delattr_frozen_fields = {
|
|
19853
|
-
'
|
|
19996
|
+
'retry_service',
|
|
19997
|
+
'num_retries',
|
|
19854
19998
|
}
|
|
19855
19999
|
|
|
19856
20000
|
def __delattr__(self, name):
|
|
@@ -19868,7 +20012,8 @@ def _process_dataclass__d1dcd40f048e6560420787a4291f3f9d415c2cf3():
|
|
|
19868
20012
|
|
|
19869
20013
|
def __hash__(self):
|
|
19870
20014
|
return hash((
|
|
19871
|
-
self.
|
|
20015
|
+
self.retry_service,
|
|
20016
|
+
self.num_retries,
|
|
19872
20017
|
))
|
|
19873
20018
|
|
|
19874
20019
|
__hash__.__qualname__ = f"{__dataclass__cls.__qualname__}.__hash__"
|
|
@@ -19876,9 +20021,11 @@ def _process_dataclass__d1dcd40f048e6560420787a4291f3f9d415c2cf3():
|
|
|
19876
20021
|
|
|
19877
20022
|
def __init__(
|
|
19878
20023
|
self,
|
|
19879
|
-
|
|
20024
|
+
retry_service: __dataclass__init__fields__0__annotation,
|
|
20025
|
+
num_retries: __dataclass__init__fields__1__annotation,
|
|
19880
20026
|
) -> __dataclass__None:
|
|
19881
|
-
__dataclass__object_setattr(self, '
|
|
20027
|
+
__dataclass__object_setattr(self, 'retry_service', retry_service)
|
|
20028
|
+
__dataclass__object_setattr(self, 'num_retries', num_retries)
|
|
19882
20029
|
|
|
19883
20030
|
__init__.__qualname__ = f"{__dataclass__cls.__qualname__}.__init__"
|
|
19884
20031
|
if '__init__' in __dataclass__cls.__dict__:
|
|
@@ -19888,7 +20035,8 @@ def _process_dataclass__d1dcd40f048e6560420787a4291f3f9d415c2cf3():
|
|
|
19888
20035
|
@__dataclass___recursive_repr()
|
|
19889
20036
|
def __repr__(self):
|
|
19890
20037
|
parts = []
|
|
19891
|
-
parts.append(f"
|
|
20038
|
+
parts.append(f"retry_service={self.retry_service!r}")
|
|
20039
|
+
parts.append(f"num_retries={self.num_retries!r}")
|
|
19892
20040
|
return (
|
|
19893
20041
|
f"{self.__class__.__qualname__}("
|
|
19894
20042
|
f"{', '.join(parts)}"
|