Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use MergePythonSDK.accounting.model.expense import Expense #8

Open
shahabnz opened this issue Jun 8, 2023 · 0 comments
Open

Comments

@shahabnz
Copy link

shahabnz commented Jun 8, 2023

Hi,

I am using following code:

from MergePythonSDK.accounting.api.expenses_api import ExpensesApi

    with ApiClient(self.configuration) as api_client:
        api_instance = ExpensesApi(api_client)
        #api_response = api_instance.expenses_list(cursor = cursor) if cursor else api_instance.expenses_list()

This is causing following error:

from MergePythonSDK.accounting.api.expenses_api import ExpensesApi
File "/usr/local/lib/python3.9/site-packages/MergePythonSDK/accounting/api/expenses_api.py", line 25, in <module>
from MergePythonSDK.accounting.model.expense import Expense
File "/usr/local/lib/python3.9/site-packages/MergePythonSDK/accounting/model/expense.py", line 123
else:
TabError: inconsistent use of tabs and spaces in indentation

Looks like some ident issue in model expense.py file. This is blocking some of our working integration with merge api. Please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant