annotated-logger 1.2.1__tar.gz → 1.2.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.
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/PKG-INFO +6 -5
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/annotated_logger/__init__.py +2 -2
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/pyproject.toml +2 -2
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/.gitignore +0 -0
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/LICENSE.txt +0 -0
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/README.md +0 -0
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/annotated_logger/filter.py +0 -0
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/annotated_logger/mocks.py +0 -0
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/annotated_logger/plugins.py +0 -0
- {annotated_logger-1.2.1 → annotated_logger-1.2.2}/annotated_logger/py.typed +0 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: annotated-logger
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: A decorator that logs the start and end of a function as well as providing an optional logger with annotations
|
|
5
|
-
Project-URL: Homepage, https://github.com/github/
|
|
5
|
+
Project-URL: Homepage, https://github.com/github/annotated-logger
|
|
6
6
|
Author-email: Vuln Mgmt Eng <security+vulnmgmteng@github.com>
|
|
7
|
-
License: MIT
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE.txt
|
|
8
9
|
Keywords: annotation,decorator,logging
|
|
9
10
|
Requires-Python: >=3.6
|
|
10
11
|
Requires-Dist: makefun
|
|
11
12
|
Requires-Dist: pychoir
|
|
12
|
-
Requires-Dist: python-json-logger
|
|
13
|
+
Requires-Dist: python-json-logger>=3.1.0
|
|
13
14
|
Requires-Dist: requests
|
|
14
15
|
Description-Content-Type: text/markdown
|
|
15
16
|
|
|
@@ -34,7 +34,7 @@ if TYPE_CHECKING: # pragma: no cover
|
|
|
34
34
|
# https://test.pypi.org/project/annotated-logger/
|
|
35
35
|
# The dev versions in testpypi can then be pulled in to whatever project needed
|
|
36
36
|
# the new feature.
|
|
37
|
-
VERSION = "1.2.
|
|
37
|
+
VERSION = "1.2.2" # pragma: no mutate
|
|
38
38
|
|
|
39
39
|
T = TypeVar("T")
|
|
40
40
|
P = ParamSpec("P")
|
|
@@ -109,7 +109,7 @@ DEFAULT_LOGGING_CONFIG = {
|
|
|
109
109
|
},
|
|
110
110
|
"formatters": {
|
|
111
111
|
"annotated_formatter": {
|
|
112
|
-
"class": "pythonjsonlogger.
|
|
112
|
+
"class": "pythonjsonlogger.json.JsonFormatter", # pragma: no mutate
|
|
113
113
|
"format": "{created} {levelname} {name} {message}", # pragma: no mutate
|
|
114
114
|
"style": "{",
|
|
115
115
|
},
|
|
@@ -19,7 +19,7 @@ keywords = [
|
|
|
19
19
|
]
|
|
20
20
|
dependencies = [
|
|
21
21
|
"makefun",
|
|
22
|
-
"python-json-logger",
|
|
22
|
+
"python-json-logger>=3.1.0",
|
|
23
23
|
"requests",
|
|
24
24
|
# The mock makes use of this, but we really should separate the mock out into it's own package
|
|
25
25
|
# That would allow the mock to be included in dev, not in prod
|
|
@@ -30,7 +30,7 @@ dependencies = [
|
|
|
30
30
|
annotated_logger = "annotated_logger.mocks"
|
|
31
31
|
|
|
32
32
|
[project.urls]
|
|
33
|
-
Homepage = "https://github.com/github/
|
|
33
|
+
Homepage = "https://github.com/github/annotated-logger"
|
|
34
34
|
|
|
35
35
|
[tool.hatch.version]
|
|
36
36
|
path = "annotated_logger/__init__.py"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|