From a0c1d5f33467ddbff7718fc8ad7477df9e5c9484 Mon Sep 17 00:00:00 2001 From: Heng Pan Date: Wed, 13 Nov 2024 17:34:56 +0000 Subject: [PATCH] make run_id mandatory --- src/py/flwr/common/typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/flwr/common/typing.py b/src/py/flwr/common/typing.py index a45d1dfcc479..8618b19cbe07 100644 --- a/src/py/flwr/common/typing.py +++ b/src/py/flwr/common/typing.py @@ -232,7 +232,7 @@ class Run: # pylint: disable=too-many-instance-attributes status: RunStatus @classmethod - def create_empty(cls, run_id: int = 0) -> "Run": + def create_empty(cls, run_id) -> "Run": """Return an empty Run instance.""" return cls( run_id=run_id,