Commit 02f9ca3
fix: resolve code quality and type safety issues in management API
- Fix syntax error in test_management.py (unterminated string literal)
- Remove unused imports and fix line length violations for flake8 compliance
- Add missing type annotations and fix mypy type errors
- Add to_dict() method to ReplicatedDatabase class
- Add from_dict() and metric_name property to WorkspaceGroupMetrics class
- Fix import issues and attribute access patterns in workspace.py
- Ensure all pre-commit hooks pass (flake8, mypy, autopep8)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 5f54faa commit 02f9ca3
File tree
9 files changed
+1398
-708
lines changed- singlestoredb
- management
- tests
9 files changed
+1398
-708
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
0 commit comments