Skip to content

Commit

Permalink
fix(19-default-global-errors): set value from None to empty dictionary
Browse files Browse the repository at this point in the history
This commit bears the change of setting the default value of global errors from None to an empty dictionary in the global configuration class.

closes #19
  • Loading branch information
sufyankhanrao committed Nov 18, 2022
1 parent dd25d11 commit d17168f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apimatic_core/configurations/global_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(
self, http_client_configuration=HttpClientConfiguration()
):
self._http_client_configuration = http_client_configuration
self._global_errors = None
self._global_errors = {}
self._global_headers = {}
self._additional_headers = {}
self._auth_managers = {}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='apimatic-core',
version='0.1.2',
version='0.1.3',
description='A library that contains core logic and utilities for '
'consuming REST APIs using Python SDKs generated by APIMatic.',
long_description=long_description,
Expand Down

0 comments on commit d17168f

Please sign in to comment.