Skip to content

Commit 92dd417

Browse files
sadsfaegrafuls
authored andcommitted
fix: re-align with MoveStatus enum refactor
1 parent e1be671 commit 92dd417

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎CHANGELOG.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Changelog
55
0.1.16 (2026-06-02)
66
-------------------
77

8-
* Add move progress API methods: ``get_all_move_progress``, ``get_move_progress``,
9-
``create_move_progress``, ``create_move_progress_batch``, ``update_move_progress``.
8+
* Add move status API methods: ``get_all_move_status``, ``get_move_status``,
9+
``start_move_batch``, ``update_move_status``.
1010

1111
0.0.0 (2025-01-07)
1212
------------------

‎docs/usage.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ You can control certificate verification using the ``verify`` parameter:
3737
# Use a custom CA bundle file
3838
quads = QuadsApi(username, password, base_url, verify="/path/to/ca-bundle.pem")
3939
40-
Tracking Move Progress
41-
----------------------
40+
Tracking Move Status
41+
--------------------
4242

4343
Query the 12-stage provisioning pipeline for active host moves:
4444

4545
.. code-block:: python
4646
4747
with QuadsApi(username, password, base_url) as quads:
4848
# All active moves, optionally filtered by cloud or status
49-
moves = quads.get_all_move_progress(cloud="cloud02")
49+
moves = quads.get_all_move_status(cloud="cloud02")
5050
51-
# Single host progress
52-
progress = quads.get_move_progress("host01.example.com")
51+
# Single host status
52+
progress = quads.get_move_status("host01.example.com")
5353
print(f"{progress['host']}: {progress['status']}")

‎src/quads_lib/quads.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def get_moves(self, date: Optional[str] = None) -> dict:
367367
json_response = self.get(url)
368368
return json_response
369369

370-
# Move Progress
370+
# Move Status
371371
def get_all_move_status(self, cloud: Optional[str] = None, status: Optional[str] = None) -> dict:
372372
"""Retrieve all active move status records.
373373

‎tests/test_quads.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ def test_get_moves_with_date(self, mock_get):
17631763
assert str(mock_get.call_args[0][1]).endswith(f"/moves?date={date}")
17641764
assert result == expected_response
17651765

1766-
# Move Progress
1766+
# Move Status
17671767
@patch("requests.Session.request")
17681768
def test_get_all_move_status(self, mock_get):
17691769
expected_response = [

0 commit comments

Comments
 (0)