From b3b37a7522d0efdd1a000c3f92d260f510293e74 Mon Sep 17 00:00:00 2001 From: Irene Bandera Moreno Date: Tue, 10 Sep 2024 08:00:22 +0200 Subject: [PATCH] Fix timeout parameter default value in get_inference() method (#126) Signed-off-by: Irene Bandera --- amlip_py/amlip_py/node/FiwareNode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amlip_py/amlip_py/node/FiwareNode.py b/amlip_py/amlip_py/node/FiwareNode.py index 34599259..960cd46d 100644 --- a/amlip_py/amlip_py/node/FiwareNode.py +++ b/amlip_py/amlip_py/node/FiwareNode.py @@ -296,7 +296,7 @@ def patch_inference( def get_inference( self, - timeout=0) -> dict: + timeout=None) -> dict: """ Get inference data from the Fiware context broker. @@ -304,7 +304,7 @@ def get_inference( ---------- timeout : int Timeout in seconds for the request. - Defaults to 0 (no timeout). + Defaults to None (no timeout). Returns -------