Skip to content

Commit 60e91a1

Browse files
fix(19-default-global-errors): set value from None to empty dictionary (#20)
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
1 parent dd25d11 commit 60e91a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apimatic_core/configurations/global_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(
2626
self, http_client_configuration=HttpClientConfiguration()
2727
):
2828
self._http_client_configuration = http_client_configuration
29-
self._global_errors = None
29+
self._global_errors = {}
3030
self._global_headers = {}
3131
self._additional_headers = {}
3232
self._auth_managers = {}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='apimatic-core',
15-
version='0.1.2',
15+
version='0.1.3',
1616
description='A library that contains core logic and utilities for '
1717
'consuming REST APIs using Python SDKs generated by APIMatic.',
1818
long_description=long_description,

0 commit comments

Comments
 (0)