diff options
| author | Roberto Bertó <463349+robertoberto@users.noreply.github.com> | 2026-05-19 03:15:55 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-19 03:15:55 -0300 |
| commit | 294d060ac1557ed70cab7a12f97d930f9dc4baf9 (patch) | |
| tree | 25e03a160fb1dc05a27a9118a7a6f573f0ffd123 /pyvyos/utils | |
| parent | ffd5ba16eb1ada42a582db4ac8bdaf29f66a868f (diff) | |
| parent | 6071528289e4a8b11a772433c33851136d30f133 (diff) | |
| download | pyvyos-294d060ac1557ed70cab7a12f97d930f9dc4baf9.tar.gz pyvyos-294d060ac1557ed70cab7a12f97d930f9dc4baf9.zip | |
Merge pull request #31 from vyos-contrib/release/v0.4.0-cleanupv0.4.0
Release v0.4.0 — cleanup and consolidation
Diffstat (limited to 'pyvyos/utils')
| -rw-r--r-- | pyvyos/utils/__init__.py | 3 | ||||
| -rw-r--r-- | pyvyos/utils/ids.py | 14 |
2 files changed, 1 insertions, 16 deletions
diff --git a/pyvyos/utils/__init__.py b/pyvyos/utils/__init__.py index adff044..6290fc1 100644 --- a/pyvyos/utils/__init__.py +++ b/pyvyos/utils/__init__.py @@ -1,8 +1,7 @@ """Utility functions for PyVyOS.""" from .json import redact_key, safe_dumps -from .ids import request_id from .paths import build_path -__all__ = ["redact_key", "safe_dumps", "request_id", "build_path"] +__all__ = ["redact_key", "safe_dumps", "build_path"] diff --git a/pyvyos/utils/ids.py b/pyvyos/utils/ids.py deleted file mode 100644 index 5807ddf..0000000 --- a/pyvyos/utils/ids.py +++ /dev/null @@ -1,14 +0,0 @@ -"""ID generation utilities.""" - -import uuid - - -def request_id() -> str: - """ - Generate a unique request ID for tracing. - - Returns: - UUID4 string formatted for logging - """ - return str(uuid.uuid4()) - |
