fix the type of field Transaction.investments
This commit is contained in:
parent
0936e1dfc4
commit
9eb42b48e4
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ class Transaction(BaseObject):
|
||||||
country = StringField('Country of transaction')
|
country = StringField('Country of transaction')
|
||||||
|
|
||||||
# Financial arbitrations
|
# Financial arbitrations
|
||||||
investments = Field('List of investments related to the transaction', default=[])
|
investments = Field('List of investments related to the transaction', list, default=[])
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "<Transaction date=%r label=%r amount=%r>" % (self.date, self.label, self.amount)
|
return "<Transaction date=%r label=%r amount=%r>" % (self.date, self.label, self.amount)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue