Document and reformat

This commit is contained in:
Andras Schmelczer 2022-07-11 19:16:03 +02:00
parent 44e5b66e2d
commit 7165174f4f
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
15 changed files with 136 additions and 39 deletions

View file

@ -82,4 +82,6 @@ class Trace(Generic[T], HashableBaseModel):
}
def __repr__(self) -> str:
return f"Trace[{type(self.output).__name__}]({pformat(self.dict(), indent=2, compact=True)})"
return f"""Trace[{type(self.output).__name__}]({
pformat(self.dict(), indent=2, compact=True).replace('{ ', '{', 1)
})"""