Skip to content

Commit

Permalink
Add metadata field to low-code schema (#27094)
Browse files Browse the repository at this point in the history
* add metadata field to low-code schema

* Automated Commit - Formatting Changes

* update wording of description

* fix formatting

---------

Co-authored-by: lmossman <lmossman@users.noreply.github.com>
  • Loading branch information
lmossman and lmossman authored Jun 8, 2023
1 parent 083667a commit a2c57c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ properties:
type: object
spec:
"$ref": "#/definitions/Spec"
metadata:
type: object
description: For internal Airbyte use only - DO NOT modify manually. Used by consumers of declarative manifests for storing related metadata.
additionalProperties: true
additionalProperties: false
definitions:
AddedFieldDefinition:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,10 @@ class Config:
schemas: Optional[Schemas] = None
definitions: Optional[Dict[str, Any]] = None
spec: Optional[Spec] = None
metadata: Optional[Dict[str, Any]] = Field(
None,
description="For internal Airbyte use only - DO NOT modify manually. Used by consumers of declarative manifests for storing related metadata.",
)


class DeclarativeStream(BaseModel):
Expand Down

0 comments on commit a2c57c4

Please sign in to comment.