automizor 0.4.1__py3-none-any.whl → 0.4.2__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.
- automizor/__init__.py +1 -1
- automizor/log/_log.py +3 -1
- {automizor-0.4.1.dist-info → automizor-0.4.2.dist-info}/METADATA +1 -1
- {automizor-0.4.1.dist-info → automizor-0.4.2.dist-info}/RECORD +7 -7
- {automizor-0.4.1.dist-info → automizor-0.4.2.dist-info}/LICENSE +0 -0
- {automizor-0.4.1.dist-info → automizor-0.4.2.dist-info}/WHEEL +0 -0
- {automizor-0.4.1.dist-info → automizor-0.4.2.dist-info}/top_level.txt +0 -0
automizor/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
version = "0.4.
|
1
|
+
version = "0.4.2"
|
automizor/log/_log.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import json
|
2
2
|
import os
|
3
|
+
from datetime import datetime, timezone
|
3
4
|
from typing import Dict, List, Union
|
4
5
|
|
5
6
|
LOG_LEVELS = {
|
@@ -85,7 +86,8 @@ class Log:
|
|
85
86
|
except json.JSONDecodeError:
|
86
87
|
pass
|
87
88
|
|
88
|
-
|
89
|
+
timestamp = datetime.now(timezone.utc).isoformat()
|
90
|
+
data.append({"level": level, "msg": msg, "timestamp": timestamp})
|
89
91
|
|
90
92
|
with open(file_path, "w", encoding="utf-8") as file:
|
91
93
|
json.dump(data, file, ensure_ascii=False)
|
@@ -1,17 +1,17 @@
|
|
1
|
-
automizor/__init__.py,sha256=
|
1
|
+
automizor/__init__.py,sha256=OHlqRD04Kvw_CFYmiIVx7UuOJRTQKtAx1Bl4rkUYHJE,18
|
2
2
|
automizor/exceptions.py,sha256=P5imySIOtG3ZIk2kh41Yod4RnlgTj7Vf0P3M-RuxQJs,1382
|
3
3
|
automizor/job/__init__.py,sha256=DNRuT6cyPQBaPRG4vNalCmEvcJQl-73b5ZDFOfNOwIg,1019
|
4
4
|
automizor/job/_job.py,sha256=_-ehqPwJdY89mWm3_VAuh7KRJdv-8iUu6iMAzwGLHM0,5235
|
5
5
|
automizor/log/__init__.py,sha256=SVCIoKAQfXMIb99_204dgSqFSHO9T74RXpTZq33akKc,1978
|
6
|
-
automizor/log/_log.py,sha256=
|
6
|
+
automizor/log/_log.py,sha256=ByMGrQGvcEXs3vV6HpO__3VXnwig6JNecwkEzLlD9zw,2774
|
7
7
|
automizor/storage/__init__.py,sha256=bEY2R0Vk0cqscKYNnX-MM222XrxbLXOvOSBDgFmVPLo,3984
|
8
8
|
automizor/storage/_storage.py,sha256=DXcARkFZ3edoDRrDiR02zkO7LmGkRtcKTHmgPsal0lc,10989
|
9
9
|
automizor/utils/__init__.py,sha256=2trRoR5lljYKbYdxmioSlvzajjQM0Wnoq3bvF9lEZ6w,811
|
10
10
|
automizor/vault/__init__.py,sha256=UjRiW3J0R9ABXc1gXIPyS3cqNCwMWxx0l-C0PsIg7R0,1699
|
11
11
|
automizor/vault/_container.py,sha256=-2y7kASigoIVAebuQBk-0R_sI4gfmvjsMLuMg_tR1xA,1945
|
12
12
|
automizor/vault/_vault.py,sha256=uRsjOjzsstZpYwJoHNg_cpv803Dzo4T2oF6hwiG3Eww,4688
|
13
|
-
automizor-0.4.
|
14
|
-
automizor-0.4.
|
15
|
-
automizor-0.4.
|
16
|
-
automizor-0.4.
|
17
|
-
automizor-0.4.
|
13
|
+
automizor-0.4.2.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
14
|
+
automizor-0.4.2.dist-info/METADATA,sha256=Sg3qP54-DPptnimiQ-bh0mbAlSK12Ve9TeQU-DFS_oA,668
|
15
|
+
automizor-0.4.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
16
|
+
automizor-0.4.2.dist-info/top_level.txt,sha256=gScDy4I3tP6BMYAsTAlBXrxVh3E00zV0UioxwXJOI3Y,10
|
17
|
+
automizor-0.4.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|