fix: resolve import paths, remove async context managers, clean up CLI

- Change absolute imports to relative imports in gnmi module
- Remove async context manager methods (pygnmi is synchronous)
- Remove unimplemented --depth option from CLI
- Update documentation to reflect sync-only usage
This commit is contained in:
darnodo
2025-12-31 17:44:21 +01:00
parent 8e460225c2
commit 5b3517c355
3 changed files with 4 additions and 19 deletions

View File

@@ -254,12 +254,6 @@ def discover_capabilities(
default="all",
help="Type of data to retrieve (default: all)",
)
@click.option(
"--depth", "-d",
type=int,
default=None,
help="Maximum depth to explore (not implemented yet)",
)
def discover_get(
target: str,
username: str,
@@ -268,7 +262,6 @@ def discover_get(
output: str,
path: str,
data_type: str,
depth: int | None,
):
"""
Get configuration or state data at a YANG path.