diff --git a/samples/sample_mapper/mapper.py b/samples/sample_mapper/mapper.py index 0a7899d37..67052bbe4 100644 --- a/samples/sample_mapper/mapper.py +++ b/samples/sample_mapper/mapper.py @@ -40,6 +40,7 @@ class StreamTransform(InlineMapper): ), ), required=True, + title="Stream Maps", description="Stream maps", ), ).to_dict() diff --git a/samples/sample_tap_bigquery/__init__.py b/samples/sample_tap_bigquery/__init__.py index 098be2525..ad0d3c3cb 100644 --- a/samples/sample_tap_bigquery/__init__.py +++ b/samples/sample_tap_bigquery/__init__.py @@ -52,6 +52,7 @@ class TapBigQuery(SQLTap): "project_id", th.StringType, required=True, + title="Project ID", description="GCP Project", ), ).to_dict() diff --git a/samples/sample_tap_csv/sample_tap_csv.py b/samples/sample_tap_csv/sample_tap_csv.py index 71c8b3d1d..ed469c9ee 100644 --- a/samples/sample_tap_csv/sample_tap_csv.py +++ b/samples/sample_tap_csv/sample_tap_csv.py @@ -19,30 +19,35 @@ class SampleTapCSV(FolderTap): "delimiter", th.StringType, default=",", + title="Delimiter", description="Field delimiter character.", ), th.Property( "quotechar", th.StringType, default='"', + title="Quote Character", description="Quote character.", ), th.Property( "escapechar", th.StringType, default=None, + title="Escape Character", description="Escape character.", ), th.Property( "doublequote", th.BooleanType, default=True, + title="Double Quote", description="Whether quotechar inside a field should be doubled.", ), th.Property( "lineterminator", th.StringType, default="\r\n", + title="Line Terminator", description="Line terminator character.", ), ).to_dict() diff --git a/samples/sample_tap_dummy_json/tap_dummyjson/tap.py b/samples/sample_tap_dummy_json/tap_dummyjson/tap.py index b352d0172..40b1f0169 100644 --- a/samples/sample_tap_dummy_json/tap_dummyjson/tap.py +++ b/samples/sample_tap_dummy_json/tap_dummyjson/tap.py @@ -14,6 +14,7 @@ class TapDummyJSON(Tap): "username", th.StringType, required=True, + title="DummyJSON Username", description="Username for the API service", ), th.Property( @@ -21,16 +22,19 @@ class TapDummyJSON(Tap): th.StringType, required=True, secret=True, # Flag config as protected. + title="DummyJSON Password", description="Password for the API service", ), th.Property( "start_date", th.DateTimeType, + title="Start Date", description="The earliest record date to sync", ), th.Property( "api_url", th.StringType, + title="API URL", default="https://dummyjson.com", description="The base url for the API service", ), diff --git a/samples/sample_tap_gitlab/gitlab_tap.py b/samples/sample_tap_gitlab/gitlab_tap.py index 952e406ae..56164fc2c 100644 --- a/samples/sample_tap_gitlab/gitlab_tap.py +++ b/samples/sample_tap_gitlab/gitlab_tap.py @@ -34,10 +34,14 @@ class SampleTapGitlab(Tap): name: str = "sample-tap-gitlab" config_jsonschema = PropertiesList( - Property("auth_token", StringType, required=True, secret=True), - Property("project_ids", ArrayType(StringType), required=True), - Property("group_ids", ArrayType(StringType), required=True), - Property("start_date", DateTimeType, required=True), + Property( + "auth_token", StringType, required=True, secret=True, title="Auth Token" + ), + Property( + "project_ids", ArrayType(StringType), required=True, title="Project IDs" + ), + Property("group_ids", ArrayType(StringType), required=True, title="Group IDs"), + Property("start_date", DateTimeType, required=True, title="Start Date"), ).to_dict() def discover_streams(self) -> list[Stream]: diff --git a/samples/sample_tap_sqlite/__init__.py b/samples/sample_tap_sqlite/__init__.py index 51add7136..2215cbfe7 100644 --- a/samples/sample_tap_sqlite/__init__.py +++ b/samples/sample_tap_sqlite/__init__.py @@ -48,6 +48,7 @@ class SQLiteTap(SQLTap): th.Property( DB_PATH_CONFIG, th.StringType, + title="Database Path", description="The path to your SQLite database file(s).", required=True, examples=["./path/to/my.db", "/absolute/path/to/my.db"], diff --git a/samples/sample_target_csv/csv_target.py b/samples/sample_target_csv/csv_target.py index d52b76f48..6e800970c 100644 --- a/samples/sample_target_csv/csv_target.py +++ b/samples/sample_target_csv/csv_target.py @@ -12,7 +12,9 @@ class SampleTargetCSV(Target): name = "target-csv" config_jsonschema = th.PropertiesList( - th.Property("target_folder", th.StringType, required=True), - th.Property("file_naming_scheme", th.StringType), + th.Property( + "target_folder", th.StringType, required=True, title="Target Folder" + ), + th.Property("file_naming_scheme", th.StringType, title="File Naming Scheme"), ).to_dict() default_sink_class = SampleCSVTargetSink diff --git a/samples/sample_target_parquet/parquet_target.py b/samples/sample_target_parquet/parquet_target.py index d8c8f7a74..f0cda3d4d 100644 --- a/samples/sample_target_parquet/parquet_target.py +++ b/samples/sample_target_parquet/parquet_target.py @@ -12,8 +12,8 @@ class SampleTargetParquet(Target): name = "sample-target-parquet" config_jsonschema = th.PropertiesList( - th.Property("filepath", th.StringType), - th.Property("file_naming_scheme", th.StringType), + th.Property("filepath", th.StringType, title="Output File Path"), + th.Property("file_naming_scheme", th.StringType, title="File Naming Scheme"), ).to_dict() default_sink_class = SampleParquetTargetSink diff --git a/samples/sample_target_sqlite/__init__.py b/samples/sample_target_sqlite/__init__.py index d296c5fb0..0e1062642 100644 --- a/samples/sample_target_sqlite/__init__.py +++ b/samples/sample_target_sqlite/__init__.py @@ -51,6 +51,7 @@ class SQLiteTarget(SQLTarget): th.Property( DB_PATH_CONFIG, th.StringType, + title="Database Path", description="The path to your SQLite database file(s).", required=True, ),