File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ class ConnectorBuildOptions(BaseModel):
3434 )
3535
3636
37+ class SuggestedStreams (BaseModel ):
38+ """Suggested streams from metadata.yaml."""
39+
40+ streams : list [str ] = Field (
41+ default = [],
42+ description = "List of suggested streams for the connector" ,
43+ )
44+
3745class ConnectorMetadata (BaseModel ):
3846 """Connector metadata from metadata.yaml."""
3947
@@ -47,9 +55,9 @@ class ConnectorMetadata(BaseModel):
4755 description = "List of tags for the connector" ,
4856 )
4957
50- suggestedStreams : list [ str ] | None = Field (
51- None ,
52- description = "List of suggested streams for the connector" ,
58+ suggestedStreams : SuggestedStreams | None = Field (
59+ default = None ,
60+ description = "Suggested streams for the connector" ,
5361 )
5462
5563 @property
You can’t perform that action at this time.
0 commit comments