watchdock-errors 0.3.0__tar.gz → 0.3.1__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.
- {watchdock_errors-0.3.0/src/watchdock_errors.egg-info → watchdock_errors-0.3.1}/PKG-INFO +1 -1
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/config.py +10 -6
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1/src/watchdock_errors.egg-info}/PKG-INFO +1 -1
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/scm_file_list.json +10 -10
- watchdock_errors-0.3.1/src/watchdock_errors.egg-info/scm_version.json +8 -0
- watchdock_errors-0.3.0/src/watchdock_errors.egg-info/scm_version.json +0 -8
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/.github/workflows/ci.yml +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/.github/workflows/release.yml +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/.gitignore +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/README.md +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/pyproject.toml +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/setup.cfg +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/__init__.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/client.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/event.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/__init__.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/django.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/fastapi.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/utils.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/SOURCES.txt +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/dependency_links.txt +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/requires.txt +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/top_level.txt +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/tests/test_client.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/tests/test_event.py +0 -0
- {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/tests/test_utils.py +0 -0
|
@@ -3,14 +3,18 @@ from __future__ import annotations
|
|
|
3
3
|
from dataclasses import dataclass, field
|
|
4
4
|
from typing import Callable
|
|
5
5
|
|
|
6
|
-
try:
|
|
7
|
-
from ._version import version as __version__
|
|
8
|
-
except ImportError:
|
|
9
|
-
__version__ = "0.0.0"
|
|
10
|
-
|
|
11
6
|
|
|
12
7
|
def _get_version() -> str:
|
|
13
|
-
|
|
8
|
+
try:
|
|
9
|
+
from importlib.metadata import version
|
|
10
|
+
return version("watchdock-errors")
|
|
11
|
+
except Exception:
|
|
12
|
+
pass
|
|
13
|
+
try:
|
|
14
|
+
from ._version import version as _v
|
|
15
|
+
return _v
|
|
16
|
+
except ImportError:
|
|
17
|
+
return "0.0.0"
|
|
14
18
|
|
|
15
19
|
|
|
16
20
|
@dataclass
|
{watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/scm_file_list.json
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": [
|
|
3
|
-
".gitignore",
|
|
4
|
-
"README.md",
|
|
5
3
|
"pyproject.toml",
|
|
4
|
+
"README.md",
|
|
5
|
+
".gitignore",
|
|
6
|
+
".github/workflows/ci.yml",
|
|
7
|
+
".github/workflows/release.yml",
|
|
8
|
+
"tests/test_event.py",
|
|
9
|
+
"tests/test_client.py",
|
|
10
|
+
"tests/test_utils.py",
|
|
11
|
+
"src/watchdock_errors/config.py",
|
|
6
12
|
"src/watchdock_errors/event.py",
|
|
13
|
+
"src/watchdock_errors/__init__.py",
|
|
7
14
|
"src/watchdock_errors/client.py",
|
|
8
|
-
"src/watchdock_errors/config.py",
|
|
9
15
|
"src/watchdock_errors/utils.py",
|
|
10
|
-
"src/watchdock_errors/__init__.py",
|
|
11
|
-
"src/watchdock_errors/integrations/fastapi.py",
|
|
12
16
|
"src/watchdock_errors/integrations/django.py",
|
|
13
17
|
"src/watchdock_errors/integrations/__init__.py",
|
|
14
|
-
"
|
|
15
|
-
".github/workflows/release.yml",
|
|
16
|
-
"tests/test_event.py",
|
|
17
|
-
"tests/test_client.py",
|
|
18
|
-
"tests/test_utils.py"
|
|
18
|
+
"src/watchdock_errors/integrations/fastapi.py"
|
|
19
19
|
]
|
|
20
20
|
}
|
|
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
|
{watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/__init__.py
RENAMED
|
File without changes
|
{watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/django.py
RENAMED
|
File without changes
|
{watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/fastapi.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/requires.txt
RENAMED
|
File without changes
|
{watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|