bcpkgfox 0.17.13__tar.gz → 0.17.14__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.
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/PKG-INFO +1 -1
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox/invoke_api.py +4 -2
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/setup.py +1 -1
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/README.md +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox/clean.py +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox/cli.py +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox/login_2factor.py +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.17.13 → bcpkgfox-0.17.14}/setup.cfg +0 -0
|
@@ -170,8 +170,10 @@ def invoke_api_proc_log(link, id_robo, token):
|
|
|
170
170
|
"POST", link, json=payload, headers=headers)
|
|
171
171
|
print(f"\n{responseinsert.json()}")
|
|
172
172
|
|
|
173
|
-
def log_event(idrobo, step, status_robo, description, error_type,
|
|
173
|
+
def log_event(idrobo, step, status_robo, description, error_type, token):
|
|
174
174
|
import requests
|
|
175
|
+
headers = {
|
|
176
|
+
"x-access-token": token}
|
|
175
177
|
|
|
176
178
|
url = "https://api-4.bcfox.com.br/bcjur/log/painel"
|
|
177
179
|
|
|
@@ -183,7 +185,7 @@ def log_event(idrobo, step, status_robo, description, error_type, header):
|
|
|
183
185
|
"error_type": error_type
|
|
184
186
|
}
|
|
185
187
|
|
|
186
|
-
response = requests.post(url, json=payload, headers=
|
|
188
|
+
response = requests.post(url, json=payload, headers=headers)
|
|
187
189
|
response.raise_for_status()
|
|
188
190
|
|
|
189
191
|
def login_2fac(driver, certificate, system, token, code_timeout=60):
|
|
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
|