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.
Files changed (26) hide show
  1. {watchdock_errors-0.3.0/src/watchdock_errors.egg-info → watchdock_errors-0.3.1}/PKG-INFO +1 -1
  2. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/config.py +10 -6
  3. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1/src/watchdock_errors.egg-info}/PKG-INFO +1 -1
  4. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/scm_file_list.json +10 -10
  5. watchdock_errors-0.3.1/src/watchdock_errors.egg-info/scm_version.json +8 -0
  6. watchdock_errors-0.3.0/src/watchdock_errors.egg-info/scm_version.json +0 -8
  7. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/.github/workflows/ci.yml +0 -0
  8. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/.github/workflows/release.yml +0 -0
  9. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/.gitignore +0 -0
  10. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/README.md +0 -0
  11. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/pyproject.toml +0 -0
  12. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/setup.cfg +0 -0
  13. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/__init__.py +0 -0
  14. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/client.py +0 -0
  15. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/event.py +0 -0
  16. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/__init__.py +0 -0
  17. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/django.py +0 -0
  18. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/integrations/fastapi.py +0 -0
  19. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors/utils.py +0 -0
  20. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/SOURCES.txt +0 -0
  21. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/dependency_links.txt +0 -0
  22. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/requires.txt +0 -0
  23. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/src/watchdock_errors.egg-info/top_level.txt +0 -0
  24. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/tests/test_client.py +0 -0
  25. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/tests/test_event.py +0 -0
  26. {watchdock_errors-0.3.0 → watchdock_errors-0.3.1}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: watchdock-errors
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Application error tracking SDK for the Watchdock platform
5
5
  License: MIT
6
6
  Keywords: error-tracking,observability,watchdock
@@ -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
- return __version__
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: watchdock-errors
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Application error tracking SDK for the Watchdock platform
5
5
  License: MIT
6
6
  Keywords: error-tracking,observability,watchdock
@@ -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
- ".github/workflows/ci.yml",
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
  }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.3.1",
3
+ "distance": 0,
4
+ "node": "g1150220284b230c25b3e407265277e351f14b2f7",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-07-23"
8
+ }
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.3.0",
3
- "distance": 0,
4
- "node": "g711d547840b425c8a17c295e36cd0e731bdadbc4",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-07-22"
8
- }