Skip to content

Commit 7775f4d

Browse files
Merge pull request #72 from mpb-com/allow-passing-of-include-parameter
Enable setting the $include query parameter on transaction creation
2 parents 8497fe7 + 3500782 commit 7775f4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/transaction_builder_methods.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,12 @@ def get_most_recent_line(self, member_name=None):
241241
raise Exception('No lines have been added. The {} method applies to the most recent line. To use this function, first add a line.'.format(member_name))
242242
return line[-1]
243243

244-
def create(self):
244+
def create(self, include=None):
245245
"""
246246
Create this transaction.
247247
248248
:return: TransactionModel
249249
"""
250-
include = None
251250
return self.client.create_transaction(self.create_model, include)
252251

253252
def with_line_tax_override(self, type_, reason, tax_amount, tax_date):

0 commit comments

Comments
 (0)