Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Pull req for fixing in Python 3.7 #12

Merged
merged 2 commits into from
Oct 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ynab_client/api/accounts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_account_by_id_with_http_info(self, budget_id, account_id, **kwargs): #
files=local_var_files,
response_type='AccountResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -225,7 +225,7 @@ def get_accounts_with_http_info(self, budget_id, **kwargs): # noqa: E501
files=local_var_files,
response_type='AccountsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
6 changes: 3 additions & 3 deletions ynab_client/api/budgets_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_budget_by_id_with_http_info(self, budget_id, **kwargs): # noqa: E501
files=local_var_files,
response_type='BudgetDetailResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -221,7 +221,7 @@ def get_budget_settings_by_id_with_http_info(self, budget_id, **kwargs): # noqa
files=local_var_files,
response_type='BudgetSettingsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -308,7 +308,7 @@ def get_budgets_with_http_info(self, **kwargs): # noqa: E501
files=local_var_files,
response_type='BudgetSummaryResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
4 changes: 2 additions & 2 deletions ynab_client/api/categories_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def get_categories_with_http_info(self, budget_id, **kwargs): # noqa: E501
files=local_var_files,
response_type='CategoriesResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -225,7 +225,7 @@ def get_category_by_id_with_http_info(self, budget_id, category_id, **kwargs):
files=local_var_files,
response_type='CategoryResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
4 changes: 2 additions & 2 deletions ynab_client/api/months_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_budget_month_with_http_info(self, budget_id, month, **kwargs): # noqa:
files=local_var_files,
response_type='MonthDetailResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -225,7 +225,7 @@ def get_budget_months_with_http_info(self, budget_id, **kwargs): # noqa: E501
files=local_var_files,
response_type='MonthSummariesResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
6 changes: 3 additions & 3 deletions ynab_client/api/payee_locations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_payee_location_by_id_with_http_info(self, budget_id, payee_location_id,
files=local_var_files,
response_type='PayeeLocationResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -225,7 +225,7 @@ def get_payee_locations_with_http_info(self, budget_id, **kwargs): # noqa: E501
files=local_var_files,
response_type='PayeeLocationsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -328,7 +328,7 @@ def get_payee_locations_by_payee_with_http_info(self, budget_id, payee_id, **kwa
files=local_var_files,
response_type='PayeeLocationsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
4 changes: 2 additions & 2 deletions ynab_client/api/payees_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_payee_by_id_with_http_info(self, budget_id, payee_id, **kwargs): # noqa
files=local_var_files,
response_type='PayeeResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -225,7 +225,7 @@ def get_payees_with_http_info(self, budget_id, **kwargs): # noqa: E501
files=local_var_files,
response_type='PayeesResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
4 changes: 2 additions & 2 deletions ynab_client/api/scheduled_transactions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def get_scheduled_transaction_by_id_with_http_info(self, budget_id, scheduled_tr
files=local_var_files,
response_type='ScheduledTransactionResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -225,7 +225,7 @@ def get_scheduled_transactions_with_http_info(self, budget_id, **kwargs): # noq
files=local_var_files,
response_type='ScheduledTransactionsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
16 changes: 8 additions & 8 deletions ynab_client/api/transactions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def bulk_create_transactions_with_http_info(self, budget_id, transactions, **kwa
files=local_var_files,
response_type='BulkResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -233,7 +233,7 @@ def create_transaction_with_http_info(self, budget_id, transaction, **kwargs):
files=local_var_files,
response_type='TransactionResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -336,7 +336,7 @@ def get_transactions_with_http_info(self, budget_id, **kwargs): # noqa: E501
files=local_var_files,
response_type='TransactionsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -447,7 +447,7 @@ def get_transactions_by_account_with_http_info(self, budget_id, account_id, **kw
files=local_var_files,
response_type='TransactionsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -558,7 +558,7 @@ def get_transactions_by_category_with_http_info(self, budget_id, category_id, **
files=local_var_files,
response_type='HybridTransactionsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -661,7 +661,7 @@ def get_transactions_by_id_with_http_info(self, budget_id, transaction_id, **kwa
files=local_var_files,
response_type='TransactionResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -772,7 +772,7 @@ def get_transactions_by_payee_with_http_info(self, budget_id, payee_id, **kwargs
files=local_var_files,
response_type='HybridTransactionsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down Expand Up @@ -883,7 +883,7 @@ def update_transaction_with_http_info(self, budget_id, transaction_id, transacti
files=local_var_files,
response_type='TransactionResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
2 changes: 1 addition & 1 deletion ynab_client/api/user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def get_user_with_http_info(self, **kwargs): # noqa: E501
files=local_var_files,
response_type='UserResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
is_async=params.get('is_async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
Expand Down
4 changes: 2 additions & 2 deletions ynab_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def __deserialize(self, data, klass):
def call_api(self, resource_path, method,
path_params=None, query_params=None, header_params=None,
body=None, post_params=None, files=None,
response_type=None, auth_settings=None, async=None,
response_type=None, auth_settings=None, is_async=None,
_return_http_data_only=None, collection_formats=None,
_preload_content=True, _request_timeout=None):
"""Makes the HTTP request (synchronous) and returns deserialized data.
Expand Down Expand Up @@ -313,7 +313,7 @@ def call_api(self, resource_path, method,
If parameter async is False or missing,
then the method will return the response directly.
"""
if not async:
if not is_async:
return self.__call_api(resource_path, method,
path_params, query_params, header_params,
body, post_params, files,
Expand Down