bcpkgfox 0.17.12__tar.gz → 0.17.13__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.
Potentially problematic release.
This version of bcpkgfox might be problematic. Click here for more details.
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/PKG-INFO +1 -1
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox/invoke_api.py +16 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/setup.py +1 -1
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/README.md +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox/clean.py +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox/cli.py +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox/login_2factor.py +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.17.12 → bcpkgfox-0.17.13}/setup.cfg +0 -0
|
@@ -170,6 +170,22 @@ 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, header):
|
|
174
|
+
import requests
|
|
175
|
+
|
|
176
|
+
url = "https://api-4.bcfox.com.br/bcjur/log/painel"
|
|
177
|
+
|
|
178
|
+
payload = {
|
|
179
|
+
"id": idrobo,
|
|
180
|
+
"step": step,
|
|
181
|
+
"status": status_robo,
|
|
182
|
+
"description": description,
|
|
183
|
+
"error_type": error_type
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
response = requests.post(url, json=payload, headers=header)
|
|
187
|
+
response.raise_for_status()
|
|
188
|
+
|
|
173
189
|
def login_2fac(driver, certificate, system, token, code_timeout=60):
|
|
174
190
|
import requests
|
|
175
191
|
import pyautogui
|
|
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
|