From e98d14d10ef72a485a69fa342ce021ff3df737ed Mon Sep 17 00:00:00 2001 From: Nitin Bansal Date: Tue, 23 Jul 2024 00:29:06 +0530 Subject: [PATCH] Increase timeout to 180 secs --- fennel/CHANGELOG.md | 3 +++ fennel/client/client.py | 2 +- fennel/datasets/datasets.py | 3 ++- fennel/datasets/test_dataset.py | 2 +- pyproject.toml | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/fennel/CHANGELOG.md b/fennel/CHANGELOG.md index 659b674a6..89bfc65da 100644 --- a/fennel/CHANGELOG.md +++ b/fennel/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## [1.4.4] - 2024-07-19 +- Increase default timeout to 180 seconds. + ## [1.4.3] - 2024-07-19 - Add more schema validations for select operator. diff --git a/fennel/client/client.py b/fennel/client/client.py index e26bd6cbb..c3b932c7a 100644 --- a/fennel/client/client.py +++ b/fennel/client/client.py @@ -36,7 +36,7 @@ # a multiple of 3 (this is the default TCP retransmission window) _DEFAULT_CONNECT_TIMEOUT = 10 # Default request timeout(s). -_DEFAULT_TIMEOUT = 30 +_DEFAULT_TIMEOUT = 180 # Name of the default branch _MAIN_BRANCH = "main" _BRANCH_HEADER_NAME = "X-FENNEL-BRANCH" diff --git a/fennel/datasets/datasets.py b/fennel/datasets/datasets.py index 43c6fca0c..435a60feb 100644 --- a/fennel/datasets/datasets.py +++ b/fennel/datasets/datasets.py @@ -986,7 +986,8 @@ def __init__( self.node.out_edges.append(self) def signature(self): - return fhash(self.node.signature(), self.columns) + # Doing this to make signature same as previous one. + return fhash(self.node.signature(), self.drop_columns) def dsschema(self): input_schema = copy.deepcopy(self.node.dsschema()) diff --git a/fennel/datasets/test_dataset.py b/fennel/datasets/test_dataset.py index 05c672426..c7416e88f 100644 --- a/fennel/datasets/test_dataset.py +++ b/fennel/datasets/test_dataset.py @@ -2001,7 +2001,7 @@ def from_a(cls, a: Dataset): "dropcols": ["a3", "a4"], "operandId": "10340ca369826992acc29dc84b073c18", }, - "id": "9a49f6b30e963d0b36f1dcb85e308b50", + "id": "0d52839b6fb94cde94dea24334ad9bce", "isRoot": True, "pipelineName": "from_a", "ds_version": 1, diff --git a/pyproject.toml b/pyproject.toml index 64539f5d8..3cf1e06d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fennel-ai" -version = "1.4.3" +version = "1.4.4" description = "The modern realtime feature engineering platform" authors = ["Fennel AI "] packages = [{ include = "fennel" }]