diff --git a/descarteslabs/core/compute/compute.py b/descarteslabs/core/compute/compute.py index 07bdc259..d78c2fe8 100644 --- a/descarteslabs/core/compute/compute.py +++ b/descarteslabs/core/compute/compute.py @@ -131,7 +131,7 @@ def get(cls, id) -> "Job": """ client = ComputeClient.get_default_client() response = client.session.get(f"/jobs/{id}") - return cls(response.json(), saved=True) + return cls(**response.json(), saved=True) @classmethod def list( @@ -169,8 +169,6 @@ def list( params["status"] = status - print("params", params) - paginator = client.iter_pages("/jobs", params=params) for data in paginator: