From 78574b1a96fd163dfd7a8ed5e94886ea43298d49 Mon Sep 17 00:00:00 2001 From: unytics Date: Tue, 23 Jul 2024 19:57:37 +0000 Subject: [PATCH] v0.27: sources permit empty config --- airbyte_serverless/sources.py | 2 +- airbyte_serverless/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte_serverless/sources.py b/airbyte_serverless/sources.py index 53975c7..ea670f8 100644 --- a/airbyte_serverless/sources.py +++ b/airbyte_serverless/sources.py @@ -46,7 +46,7 @@ def add_argument(name, value): needs_config = (action != 'spec') if needs_config: - assert self.config, 'config attribute is not defined' + assert self.config is not None, 'config attribute is not defined' command += add_argument('config', self.config) needs_configured_catalog = (action == 'read') diff --git a/airbyte_serverless/version.py b/airbyte_serverless/version.py index 8e00c8a..cf3d954 100644 --- a/airbyte_serverless/version.py +++ b/airbyte_serverless/version.py @@ -1 +1 @@ -VERSION = '0.26' +VERSION = '0.27'