Skip to content

Commit 3ec9b4e

Browse files
authored
low-code CDK: update desciption of 'version' in manifest file (#38611)
1 parent 751b7af commit 3ec9b4e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_component_schema.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ properties:
2121
"$ref": "#/definitions/DeclarativeStream"
2222
version:
2323
type: string
24+
description: The version of the Airbyte CDK used to build and test the source.
2425
schemas:
2526
"$ref": "#/definitions/Schemas"
2627
definitions:

airbyte-cdk/python/airbyte_cdk/sources/declarative/models/declarative_component_schema.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -874,11 +874,7 @@ class CursorPagination(BaseModel):
874874
cursor_value: str = Field(
875875
...,
876876
description='Value of the cursor defining the next page to fetch.',
877-
examples=[
878-
'{{ headers.link.next.cursor }}',
879-
"{{ last_record['key'] }}",
880-
"{{ response['nextPage'] }}",
881-
],
877+
examples=['{{ headers.link.next.cursor }}', "{{ last_record['key'] }}", "{{ response['nextPage'] }}"],
882878
title='Cursor Value',
883879
)
884880
page_size: Optional[int] = Field(None, description='The number of records to include in each pages.', examples=[100], title='Page Size')
@@ -1090,7 +1086,7 @@ class Config:
10901086
type: Literal['DeclarativeSource']
10911087
check: CheckStream
10921088
streams: List[DeclarativeStream]
1093-
version: str
1089+
version: str = Field(..., description='The version of the CDK used to build and test the source.')
10941090
schemas: Optional[Schemas] = None
10951091
definitions: Optional[Dict[str, Any]] = None
10961092
spec: Optional[Spec] = None

0 commit comments

Comments
 (0)