fmconsult-utils-python-sdk 2.0.3__tar.gz → 2.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/PKG-INFO +1 -1
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/pyproject.toml +1 -1
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/http/api.py +6 -1
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult_utils_python_sdk.egg-info/PKG-INFO +1 -1
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/LICENSE +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/README.md +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/setup.cfg +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/auth/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/auth/decorator.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/auth/profile_builder.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/auth/token_manager.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/database/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/database/connection.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/database/models/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/database/models/application.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/database/models/base.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/database/models/city.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/database/models/country.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/database/models/state.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/decorators/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/decorators/auth.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/authorization.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/bad_request_exception.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/conflict_exception.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/forbidden_exception.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/not_found_exception.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/not_implemented_exception.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/unauthorized_exception.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/exceptions/unavailable_exception.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/http/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/__init__.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/cast.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/cnpj.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/configs.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/cpf.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/date.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/enum.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/haversine.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/object.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/pagination.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/string.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/url.py +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult_utils_python_sdk.egg-info/SOURCES.txt +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult_utils_python_sdk.egg-info/dependency_links.txt +0 -0
- {fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult_utils_python_sdk.egg-info/top_level.txt +0 -0
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/http/api.py
RENAMED
|
@@ -15,6 +15,10 @@ class ContentType(Enum):
|
|
|
15
15
|
|
|
16
16
|
class ApiBase(object):
|
|
17
17
|
def __init__(self, additional_headers=None):
|
|
18
|
+
self.__start_debugger()
|
|
19
|
+
self.__define_headers(additional_headers)
|
|
20
|
+
|
|
21
|
+
def __start_debugger(self):
|
|
18
22
|
self.logging_level = None
|
|
19
23
|
try:
|
|
20
24
|
self.cph = ConfigPropertiesHelper()
|
|
@@ -22,7 +26,8 @@ class ApiBase(object):
|
|
|
22
26
|
except:
|
|
23
27
|
logging.warning('Logging level not found in config file')
|
|
24
28
|
pass
|
|
25
|
-
|
|
29
|
+
|
|
30
|
+
def __define_headers(self, additional_headers=None):
|
|
26
31
|
self.headers = {
|
|
27
32
|
'x-api-token': self.api_token
|
|
28
33
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/__init__.py
RENAMED
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/auth/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/http/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/cast.py
RENAMED
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/cnpj.py
RENAMED
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/configs.py
RENAMED
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/cpf.py
RENAMED
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/date.py
RENAMED
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/enum.py
RENAMED
|
File without changes
|
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/object.py
RENAMED
|
File without changes
|
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/string.py
RENAMED
|
File without changes
|
{fmconsult_utils_python_sdk-2.0.3 → fmconsult_utils_python_sdk-2.0.4}/src/fmconsult/utils/url.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|