Open jack-homan-deloitte opened 3 years ago
@jack-homan-deloitte My __repr__
is returning a string, no? It's just the object.
right but when you use repr(obj) it should return a string representation of the object that can copy and paste back to the repl to recreate it e.g.
>>> repr(BinaryOp(1, 2))
BinaryOp(1, 2)
https://github.com/ifitzsimmons/DynamoDbDataMarshalling/blob/1cc2b44fa4a065fce9ebaf9f2548bb7f5eb89b7e/MarshalDynamoDbItem.py#L93