From 625d61255e6e4805dcf456efb30a0e2fca0cb640 Mon Sep 17 00:00:00 2001 From: Catherine Noll Date: Mon, 12 Dec 2022 19:50:14 -0500 Subject: [PATCH] Allow top-level `schemas` key for inline stream schemas --- .../sources/declarative/manifest_declarative_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/manifest_declarative_source.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/manifest_declarative_source.py index a8ca572b42b6..88fe7294c5fa 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/declarative/manifest_declarative_source.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/manifest_declarative_source.py @@ -40,7 +40,7 @@ class ConcreteDeclarativeSource(JsonSchemaMixin): class ManifestDeclarativeSource(DeclarativeSource): """Declarative source defined by a manifest of low-code components that define source connector behavior""" - VALID_TOP_LEVEL_FIELDS = {"check", "definitions", "spec", "streams", "version"} + VALID_TOP_LEVEL_FIELDS = {"check", "definitions", "schemas", "spec", "streams", "version"} def __init__(self, source_config: ConnectionDefinition, debug: bool = False): """