parent
8bf8dc8946
commit
1167f016fe
@ -1,16 +1,16 @@
|
|||||||
#from shapeless import shapeless
|
# #from shapeless import shapeless
|
||||||
|
|
||||||
#@shapeless
|
# #@shapeless
|
||||||
class ErrorArtifact:
|
# class ErrorArtifact:
|
||||||
def __init__(
|
# def __init__(
|
||||||
self,
|
# self,
|
||||||
value
|
# value
|
||||||
):
|
# ):
|
||||||
self.value = value
|
# self.value = value
|
||||||
|
|
||||||
def __add__(self, other):
|
# def __add__(self, other):
|
||||||
return ErrorArtififact(self.value + other.value)
|
# return ErrorArtififact(self.value + other.value)
|
||||||
|
|
||||||
def to_text(self) -> str:
|
# def to_text(self) -> str:
|
||||||
return self.value
|
# return self.value
|
||||||
|
|
Loading…
Reference in new issue