Skip to content

Commit

Permalink
File CDK: Improve stream config appearance (#32420)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter authored Nov 14, 2023
1 parent edd3780 commit f8b0b3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ class ValidationPolicy(Enum):
class FileBasedStreamConfig(BaseModel):
name: str = Field(title="Name", description="The name of the stream.")
globs: Optional[List[str]] = Field(
default=["**"],
title="Globs",
description='The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>.',
order=1,
)
legacy_prefix: Optional[str] = Field(
title="Legacy Prefix",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
"description": 'The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href="https://en.wikipedia.org/wiki/Glob_(programming)">here</a>.',
"type": "array",
"items": {"type": "string"},
"order": 1,
"default": ["**"],
},
"legacy_prefix": {
"title": "Legacy Prefix",
Expand Down

0 comments on commit f8b0b3e

Please sign in to comment.