Skip to content

Instantly share code, notes, and snippets.

@highsmallxu
Last active May 19, 2020 21:34
Show Gist options
  • Save highsmallxu/38bceca4c75f948d55f03aecd5ff467a to your computer and use it in GitHub Desktop.
Save highsmallxu/38bceca4c75f948d55f03aecd5ff467a to your computer and use it in GitHub Desktop.
trans_obj = TransactionObject(amount=1.0, receiver="xiaoxu", date="2019-01-01", sender='jojo')
trans_named_tuple = TransactionNamedTuple(amount=1.0, receiver="xiaoxu", date="2019-01-01", sender='jojo')
trans_named_tuple_typing = TransactionNamedTupleTyping(amount=1.0, receiver="xiaoxu", date="2019-01-01", sender='jojo')
trans_dataclass = TransactionDataClass(amount=1.0, receiver="xiaoxu", date="2019-01-01", sender='jojo')
trans_dataclass_slot = TransactionDataClassWithSlot(amount=1.0, receiver="xiaoxu", date="2019-01-01", sender='jojo')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment