From 15991b858db76eca6a05d16b9539a9528a7b6d99 Mon Sep 17 00:00:00 2001 From: gabriel ruttner Date: Tue, 29 Oct 2024 10:13:25 -0400 Subject: [PATCH] fix: num rep --- hatchet_sdk/compute/managed_compute.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hatchet_sdk/compute/managed_compute.py b/hatchet_sdk/compute/managed_compute.py index b5e9efa3..4c2c0a25 100644 --- a/hatchet_sdk/compute/managed_compute.py +++ b/hatchet_sdk/compute/managed_compute.py @@ -66,7 +66,7 @@ def get_compute_configs( if key not in map: map[key] = ManagedWorkerCreateRequestRuntimeConfig( actions=[], - num_replicas=1, + num_replicas=compute.num_replicas, cpu_kind=compute.cpu_kind, cpus=compute.cpus, memory_mb=compute.memory_mb, diff --git a/pyproject.toml b/pyproject.toml index b6a6adfa..b4adea2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hatchet-sdk" -version = "0.40.0a8" +version = "0.40.0a9" description = "" authors = ["Alexander Belanger "] readme = "README.md"