Add __repr__ to VBC

this is the thing the Sentry SDK uses; having it available may come in handy
when debugging
This commit is contained in:
Klaas van Schelven
2024-04-15 20:01:47 +02:00
parent f236dea0bf
commit f52bac2745
2 changed files with 3 additions and 9 deletions

View File

@@ -18,3 +18,6 @@ class VolumeBasedCondition(object):
def __eq__(self, other):
return self.__dict__ == other.__dict__
def __repr__(self):
return f"VolumeBasedCondition.from_dict({self.to_dict()})"

View File

@@ -886,10 +886,6 @@ select {
margin-top: 1.5rem;
}
.mb-1 {
margin-bottom: 0.25rem;
}
.block {
display: block;
}
@@ -1435,11 +1431,6 @@ select {
color: rgb(30 41 59 / var(--tw-text-opacity));
}
.text-slate-700 {
--tw-text-opacity: 1;
color: rgb(51 65 85 / var(--tw-text-opacity));
}
.underline {
text-decoration-line: underline;
}