csc-cia-stne 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl
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.
- csc_cia_stne/google_drive.py +3 -2
- {csc_cia_stne-0.1.4.dist-info → csc_cia_stne-0.1.6.dist-info}/METADATA +2 -1
- {csc_cia_stne-0.1.4.dist-info → csc_cia_stne-0.1.6.dist-info}/RECORD +6 -6
- {csc_cia_stne-0.1.4.dist-info → csc_cia_stne-0.1.6.dist-info}/WHEEL +0 -0
- {csc_cia_stne-0.1.4.dist-info → csc_cia_stne-0.1.6.dist-info}/licenses/LICENCE +0 -0
- {csc_cia_stne-0.1.4.dist-info → csc_cia_stne-0.1.6.dist-info}/top_level.txt +0 -0
csc_cia_stne/google_drive.py
CHANGED
@@ -350,15 +350,16 @@ class GoogleDrive:
|
|
350
350
|
fileId=file.get("id"), mimeType=mimeType
|
351
351
|
)
|
352
352
|
file_path = f"{path}{file["name"]}"
|
353
|
-
with open(
|
353
|
+
with open(file_path, "wb") as f:
|
354
354
|
f.write(request.execute())
|
355
355
|
return {
|
356
356
|
"success": True,
|
357
357
|
"result": file_path,
|
358
|
+
"error": None,
|
358
359
|
}
|
359
360
|
|
360
361
|
except Exception as e:
|
361
|
-
return {"success": False, "result": None}
|
362
|
+
return {"success": False, "result": None, "error": str(e)}
|
362
363
|
|
363
364
|
def download_others_files(self, file: str, path: str):
|
364
365
|
"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: csc_cia_stne
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.6
|
4
4
|
Summary: Biblioteca do time CSC-CIA utilizada no desenvolvimento de RPAs
|
5
5
|
License: MIT
|
6
6
|
Keywords: karavela,csc,cia,stone,rpa,botcity,stne
|
@@ -16,6 +16,7 @@ Requires-Dist: pydantic_settings
|
|
16
16
|
Requires-Dist: zeep
|
17
17
|
Requires-Dist: google-cloud-bigquery
|
18
18
|
Requires-Dist: google-cloud-storage
|
19
|
+
Requires-Dist: google-cloud-bigquery-storage
|
19
20
|
Requires-Dist: google-auth-oauthlib
|
20
21
|
Requires-Dist: google-auth-httplib2
|
21
22
|
Requires-Dist: google-api-python-client
|
@@ -5,7 +5,7 @@ csc_cia_stne/email.py,sha256=K0DcgxTPKa_Rz_SJekjbW8Nw_1L9s_iuDDxZ-69bZfM,8387
|
|
5
5
|
csc_cia_stne/ftp.py,sha256=M9WCaq2hm56jGyszNaPinliFaZS0BNrT7VrVPMjkMg4,10988
|
6
6
|
csc_cia_stne/gcp_bigquery.py,sha256=foq8azvvv_f7uikMDslX9RcUIrx7RAS-Sn0AGW0QFQc,7231
|
7
7
|
csc_cia_stne/gcp_bucket.py,sha256=nP77BtagZ7jQq6lS88ZEa1qshzBza6e_LvhgS3_JJJk,10268
|
8
|
-
csc_cia_stne/google_drive.py,sha256=
|
8
|
+
csc_cia_stne/google_drive.py,sha256=HJt9hT56sz7xI7KFojvpXp1m45rk-v4cNLgPPCBfOVM,16393
|
9
9
|
csc_cia_stne/karavela.py,sha256=jJCYX43D49gGuzmwwK6bN9XVnv2dXdp9iHnnV5H1LMQ,4794
|
10
10
|
csc_cia_stne/logger_json.py,sha256=CXxSCOFGMymDi8XE9SKnPKjW4D0wJLqDLnxqePS26i8,3187
|
11
11
|
csc_cia_stne/logger_rich.py,sha256=fklgkBb4rblKQd7YZ3q-eWfhGg9eflO2k2-z4pGh_yo,5201
|
@@ -36,8 +36,8 @@ csc_cia_stne/utilitarios/web_screen/__init__.py,sha256=5QcOPXKd95SvP2DoZiHS0gaU6
|
|
36
36
|
csc_cia_stne/utilitarios/web_screen/web_screen_abstract.py,sha256=PjL8Vgfj_JdKidia7RFyCkro3avYLQu4RZRos41sh3w,3241
|
37
37
|
csc_cia_stne/utilitarios/web_screen/web_screen_botcity.py,sha256=Xi5YJjl2pcxlX3OimqcBWRNXZEpAE7asyUjDJ4Oho5U,12297
|
38
38
|
csc_cia_stne/utilitarios/web_screen/web_screen_selenium.py,sha256=JLIcPJE9ZX3Pd6zG6oTRMqqUAY063UzLY3ReRlxmiSM,15581
|
39
|
-
csc_cia_stne-0.1.
|
40
|
-
csc_cia_stne-0.1.
|
41
|
-
csc_cia_stne-0.1.
|
42
|
-
csc_cia_stne-0.1.
|
43
|
-
csc_cia_stne-0.1.
|
39
|
+
csc_cia_stne-0.1.6.dist-info/licenses/LICENCE,sha256=LPGMtgKki2C3KEZP7hDhA1HBrlq5JCHkIeStUCLEMx4,1073
|
40
|
+
csc_cia_stne-0.1.6.dist-info/METADATA,sha256=BAZ4tL1AjESVs5jqb3mZlmrHLjXgO8mqYoJfEk8bGwU,1463
|
41
|
+
csc_cia_stne-0.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
42
|
+
csc_cia_stne-0.1.6.dist-info/top_level.txt,sha256=ldo7GVv3tQx5KJvwBzdZzzQmjPys2NDVVn1rv0BOF2Q,13
|
43
|
+
csc_cia_stne-0.1.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|