fix: Revert "feat(cli): Add deploy list and deploy delete subcommands" (#7116)

Reverts langchain-ai/langgraph#7106

This PR broke the `langgraph deploy` command flags.
This commit is contained in:
Andrew Nguonly
2026-03-11 10:56:31 -07:00
committed by GitHub
parent e77201cbb1
commit 7488cf2448
7 changed files with 32 additions and 543 deletions
@@ -135,28 +135,6 @@ def test_list_deployments(client):
assert result == {"ok": True}
def test_list_deployments_sends_query_params():
def handler(req: httpx.Request) -> httpx.Response:
assert req.url.path == "/v2/deployments"
assert req.url.params["name_contains"] == "my app"
return httpx.Response(200, json={"ok": True})
c = HostBackendClient("https://api.example.com", "test-key")
c._client = httpx.Client(
base_url="https://api.example.com",
transport=httpx.MockTransport(handler),
headers={"X-Api-Key": "test-key", "Accept": "application/json"},
timeout=30,
)
result = c.list_deployments("my app")
assert result == {"ok": True}
def test_delete_deployment(client):
result = client.delete_deployment("dep-123")
assert result == {"ok": True}
def test_request_push_token(client):
result = client.request_push_token("dep-123")
assert result == {"ok": True}