infovist-python-sdk 1.0.0__tar.gz → 1.0.2__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.
Files changed (17) hide show
  1. {infovist_python_sdk-1.0.0/src/infovist_python_sdk.egg-info → infovist_python_sdk-1.0.2}/PKG-INFO +1 -1
  2. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/pyproject.toml +1 -1
  3. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infocar/infovist/api.py +5 -4
  4. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2/src/infovist_python_sdk.egg-info}/PKG-INFO +1 -1
  5. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/LICENSE +0 -0
  6. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/README.md +0 -0
  7. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/setup.cfg +0 -0
  8. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/__init__.py +0 -0
  9. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infocar/__init__.py +0 -0
  10. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infocar/infovist/__init__.py +0 -0
  11. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infocar/infovist/apis/__init__.py +0 -0
  12. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infocar/infovist/apis/vistoria.py +0 -0
  13. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infocar/infovist/dtos/__init__.py +0 -0
  14. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infocar/infovist/dtos/vistoria.py +0 -0
  15. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infovist_python_sdk.egg-info/SOURCES.txt +0 -0
  16. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infovist_python_sdk.egg-info/dependency_links.txt +0 -0
  17. {infovist_python_sdk-1.0.0 → infovist_python_sdk-1.0.2}/src/infovist_python_sdk.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: infovist-python-sdk
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Client de comunicaçao c/ API da InfoVist
5
5
  Author-email: Filipe Coelho <filipe@fmconsult.com.br>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "infovist-python-sdk"
7
- version = "1.0.0"
7
+ version = "1.0.2"
8
8
  description = "Client de comunicaçao c/ API da InfoVist"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -8,10 +8,10 @@ class InfoVistApi(ApiBase):
8
8
 
9
9
  def __init__(self):
10
10
  try:
11
- self.api_environment = os.environ['attime.star.api.environment']
12
- self.api_email = os.environ['attime.star.api.email']
13
- self.api_password = os.environ['attime.star.api.password']
14
- self.api_token = os.environ['attime.star.api.token']
11
+ self.api_environment = os.environ['infocar.infovist.api.environment']
12
+ self.api_email = os.environ['infocar.infovist.api.email']
13
+ self.api_password = os.environ['infocar.infovist.api.password']
14
+ self.api_token = os.environ['infocar.infovist.api.token']
15
15
 
16
16
  api_sandbox_base_url = 'https://api.infovist.com.br/api/v1'
17
17
  api_live_base_url = 'https://api.infovist.com.br/api/v1'
@@ -19,6 +19,7 @@ class InfoVistApi(ApiBase):
19
19
  get_base_url = lambda env: api_live_base_url if env == 'live' else api_sandbox_base_url
20
20
 
21
21
  self.base_url = get_base_url(self.api_environment)
22
+ self.headers = {}
22
23
 
23
24
  self.__login()
24
25
  except:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: infovist-python-sdk
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Client de comunicaçao c/ API da InfoVist
5
5
  Author-email: Filipe Coelho <filipe@fmconsult.com.br>
6
6
  License: MIT License