dasl-client 1.0.6__py3-none-any.whl → 1.0.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dasl-client might be problematic. Click here for more details.

@@ -44,24 +44,28 @@ class FieldSpec(BaseModel):
44
44
 
45
45
  Attributes:
46
46
  name (Optional[str]):
47
- comment (Optional[str]): The comment to apply to the field.
48
- var_assert (Optional[List[FieldSpec.Assert]]): A list of SQL
49
- expressions that must evaluate to true for every processed row.
50
- If the assertion is false, an operational alert is raised using
51
- 'message' for each row.
52
- var_from (Optional[str]): This field obtains its value from the source
53
- column of this name. Use this to bring in a column from some
54
- upstream table.
55
- alias (Optional[str]): This field obtains its value from the
56
- destination (transformed) column of this name. Use this to alias
57
- a column from within the same table (ie. silver table). You cannot
58
- alias a column from some upstream table.
59
- expr (Optional[str]): This field obtains its value from the given SQL
60
- expression.
61
- literal (Optional[str]): This field obtains its value from the given
62
- literal string. For other data types, use expr.
63
- join (Optional[FieldSpec.Join]): This field obtains its value from
64
- joining to another table.
47
+ The name of the field.
48
+ comment (Optional[str]):
49
+ The comment to apply to the field.
50
+ var_assert (Optional[List[FieldSpec.Assert]]):
51
+ A list of SQL expressions that must evaluate to true for every
52
+ processed row. If the assertion is false, an operational alert
53
+ is raised using 'message' for each row.
54
+ var_from (Optional[str]):
55
+ This field obtains its value from the source column of this name.
56
+ Use this to bring in a column from some upstream table.
57
+ alias (Optional[str]):
58
+ This field obtains its value from the destination (transformed)
59
+ column of this name. Use this to alias a column from within the
60
+ same table (ie. silver table). You cannot alias a column from
61
+ some upstream table.
62
+ expr (Optional[str]):
63
+ This field obtains its value from the given SQL expression.
64
+ literal (Optional[str]):
65
+ This field obtains its value from the given literal string. For
66
+ other data types, use expr.
67
+ join (Optional[FieldSpec.Join]):
68
+ This field obtains its value from joining to another table.
65
69
  """
66
70
 
67
71
  class Assert(BaseModel):
@@ -69,10 +73,12 @@ class FieldSpec(BaseModel):
69
73
  An assertion within a FieldSpec.
70
74
 
71
75
  Attributes:
72
- expr (Optional[str]): The SQL expression that must evaluate to
73
- true for every processed row.
74
- message (Optional[str]): The message to include in the operational
75
- alert if the assertion fails.
76
+ expr (Optional[str]):
77
+ The SQL expression that must evaluate to true for every
78
+ processed row.
79
+ message (Optional[str]):
80
+ The message to include in the operational alert if the
81
+ assertion fails.
76
82
  """
77
83
 
78
84
  expr: Optional[str] = None
@@ -100,13 +106,17 @@ class FieldSpec(BaseModel):
100
106
  A join expression within a FieldSpec.
101
107
 
102
108
  Attributes:
103
- with_table (Optional[str]): The table to join to.
104
- with_csv (Optional[FieldSpec.Join.WithCSV]): The CSV configuration
105
- used for the join.
106
- lhs (Optional[str]): The column in the source dataframe to join on.
107
- rhs (Optional[str]): The column in the joined table to join on.
108
- select (Optional[str]): A SQL expression to create the new field
109
- from the joined dataset.
109
+ with_table (Optional[str]):
110
+ The table to join to.
111
+ with_csv (Optional[FieldSpec.Join.WithCSV]):
112
+ The CSV configuration used for the join.
113
+ lhs (Optional[str]):
114
+ The column in the source dataframe to join on.
115
+ rhs (Optional[str]):
116
+ The column in the joined table to join on.
117
+ select (Optional[str]):
118
+ A SQL expression to create the new field from the joined
119
+ dataset.
110
120
  """
111
121
 
112
122
  class WithCSV(BaseModel):
@@ -114,7 +124,8 @@ class FieldSpec(BaseModel):
114
124
  A CSV file used for joins within a FieldSpec.
115
125
 
116
126
  Attributes:
117
- path (Optional[str]): The path to the CSV file.
127
+ path (Optional[str]):
128
+ The path to the CSV file.
118
129
  """
119
130
 
120
131
  path: Optional[str] = None
@@ -213,8 +224,8 @@ class FieldUtils(BaseModel):
213
224
  unreferenced_columns (Optional[FieldUtils.UnreferencedColumns]):
214
225
  Defines whether columns not referenced in the FieldSpecs should
215
226
  be preserved or omitted.
216
- json_extract (Optional[List[FieldUtils.JsonExtract]]): A list of
217
- configurations for extracting JSON fields from a column.
227
+ json_extract (Optional[List[FieldUtils.JsonExtract]]):
228
+ A list of configurations for extracting JSON fields from a column.
218
229
  """
219
230
 
220
231
  class UnreferencedColumns(BaseModel):
@@ -222,14 +233,16 @@ class FieldUtils(BaseModel):
222
233
  Configuration related to unreferenced columns.
223
234
 
224
235
  Attributes:
225
- preserve (Optional[bool]): Indicates whether columns not
226
- referenced in the FieldSpecs should be preserved.
227
- embed_column (Optional[str]): Specifies a name for a new column to
228
- contain all unreferenced fields.
229
- omit_columns (Optional[List[str]]): Lists columns to exclude from
230
- the output.
231
- duplicate_prefix (Optional[str]): Adds a prefix to resolve
232
- ambiguous duplicate field names.
236
+ preserve (Optional[bool]):
237
+ Indicates whether columns not referenced in the FieldSpecs
238
+ should be preserved.
239
+ embed_column (Optional[str]):
240
+ Specifies a name for a new column to contain all unreferenced
241
+ fields.
242
+ omit_columns (Optional[List[str]]):
243
+ Lists columns to exclude from the output.
244
+ duplicate_prefix (Optional[str]):
245
+ Adds a prefix to resolve ambiguous duplicate field names.
233
246
  """
234
247
 
235
248
  preserve: Optional[bool] = None
@@ -263,14 +276,15 @@ class FieldUtils(BaseModel):
263
276
  Configuration for extracting JSON fields from table columns.
264
277
 
265
278
  Attributes:
266
- source (Optional[str]): The column name containing JSON string(s)
267
- to extract from.
268
- omit_fields (Optional[List[str]]): Specifies high-level fields to
269
- exclude from extraction.
270
- duplicate_prefix (Optional[str]): Adds a prefix to resolve
271
- duplicate field names during extraction.
272
- embed_column (Optional[str]): Specifies a column name to store the
273
- extracted JSON object.
279
+ source (Optional[str]):
280
+ The column name containing JSON string(s) to extract from.
281
+ omit_fields (Optional[List[str]]):
282
+ Specifies high-level fields to exclude from extraction.
283
+ duplicate_prefix (Optional[str]):
284
+ Adds a prefix to resolve duplicate field names during
285
+ extraction.
286
+ embed_column (Optional[str]):
287
+ Specifies a column name to store the extracted JSON object.
274
288
  """
275
289
 
276
290
  source: Optional[str] = None
@@ -333,12 +347,13 @@ class BronzeSpec(BaseModel):
333
347
  Configuration for bronze table within a DataSource.
334
348
 
335
349
  Attributes:
336
- clustering (Optional[BronzeSpec.Clustering]): Describes optional
337
- liquid clustering configuration for the bronze table.
338
- bronze_table (Optional[str]): The name of the bronze table to create
339
- and hold the imported data.
340
- skip_bronze_loading (Optional[bool]): Indicates whether to skip the
341
- bronze loading step.
350
+ clustering (Optional[BronzeSpec.Clustering]):
351
+ Describes optional liquid clustering configuration for the
352
+ bronze table.
353
+ bronze_table (Optional[str]):
354
+ The name of the bronze table to create and hold the imported data.
355
+ skip_bronze_loading (Optional[bool]):
356
+ Indicates whether to skip the bronze loading step.
342
357
  """
343
358
 
344
359
  class Clustering(BaseModel):
@@ -346,10 +361,11 @@ class BronzeSpec(BaseModel):
346
361
  Configuration of liquid clustering for a bronze table.
347
362
 
348
363
  Attributes:
349
- column_names (Optional[List[str]]): List of column names to
350
- include in liquid clustering.
351
- time_column (Optional[str]): Name of the column that holds 'time'
352
- information for clustering.
364
+ column_names (Optional[List[str]]):
365
+ List of column names to include in liquid clustering.
366
+ time_column (Optional[str]):
367
+ Name of the column that holds 'time' information for
368
+ clustering.
353
369
  """
354
370
 
355
371
  column_names: Optional[List[str]] = None
@@ -399,12 +415,12 @@ class SilverSpec(BaseModel):
399
415
  Configuration for silver table in a DataSource.
400
416
 
401
417
  Attributes:
402
- bronze_tables (Optional[List[SilverSpec.BronzeTable]]): A list of
403
- bronze tables to be joined for silver transformation.
404
- pre_transform (Optional[SilverSpec.PreTransform]): Pretransformation
405
- configuration.
406
- transform (Optional[SilverSpec.Transform]): Transformation
407
- configuration for silver processing.
418
+ bronze_tables (Optional[List[SilverSpec.BronzeTable]]):
419
+ A list of bronze tables to be joined for silver transformation.
420
+ pre_transform (Optional[SilverSpec.PreTransform]):
421
+ Pretransformation configuration.
422
+ transform (Optional[SilverSpec.Transform]):
423
+ Transformation configuration for silver processing.
408
424
  """
409
425
 
410
426
  class BronzeTable(BaseModel):
@@ -412,12 +428,18 @@ class SilverSpec(BaseModel):
412
428
  Reference to a bronze table for a silver table.
413
429
 
414
430
  Attributes:
415
- name (Optional[str]): Name of the bronze table.
431
+ name (Optional[str]):
432
+ Name of the bronze table.
416
433
  streaming (Optional[bool]):
434
+ True if the input should be streamed from the bronze table.
417
435
  watermark (Optional[SilverSpec.BronzeTable.Watermark]):
418
- alias (Optional[str]): Alias name for the table.
419
- join_type (Optional[str]): How to join to the preceding table.
420
- join_expr (Optional[str]): The join condition expression.
436
+ Bronze table watermark.
437
+ alias (Optional[str]):
438
+ Alias name for the table.
439
+ join_type (Optional[str]):
440
+ How to join to the preceding table.
441
+ join_expr (Optional[str]):
442
+ The join condition expression.
421
443
  """
422
444
 
423
445
  class Watermark(BaseModel):
@@ -425,12 +447,12 @@ class SilverSpec(BaseModel):
425
447
  Watermark for a bronze source table within a silver table.
426
448
 
427
449
  Attributes:
428
- event_time_column (Optional[str]): Which column is the event
429
- time for the delay threshold.
430
- delay_threshold (Optional[str]): A time duration string for
431
- the watermark delay.
432
- drop_duplicates (Optional[List[str]]): Columns to pass to
433
- pyspark dropDuplicates.
450
+ event_time_column (Optional[str]):
451
+ Which column is the event time for the delay threshold.
452
+ delay_threshold (Optional[str]):
453
+ A time duration string for the watermark delay.
454
+ drop_duplicates (Optional[List[str]]):
455
+ Columns to pass to pyspark dropDuplicates.
434
456
  """
435
457
 
436
458
  event_time_column: Optional[str] = None
@@ -496,18 +518,20 @@ class SilverSpec(BaseModel):
496
518
 
497
519
  Attributes:
498
520
  use_preset (Optional[str]):
521
+ Preset to use.
499
522
  skip_pre_transform (Optional[bool]):
500
- custom (Optional[SilverSpec.PreTransform.Custom]): Custom
501
- pretransform function and options.
502
- filter (Optional[str]): A SQL filter to apply at the beginning of
503
- the preTransform phase.
504
- post_filter (Optional[str]): A SQL filter to apply at the end of
505
- the preTransform phase.
523
+ If True, skip pre-transform entirely.
524
+ custom (Optional[SilverSpec.PreTransform.Custom]):
525
+ Custom pretransform function and options.
526
+ filter (Optional[str]):
527
+ A SQL filter to apply at the beginning of the preTransform
528
+ phase.
529
+ post_filter (Optional[str]):
530
+ A SQL filter to apply at the end of the preTransform phase.
506
531
  preset_overrides (Optional[SilverSpec.PreTransform.PresetOverrides]):
507
532
  Overrides for preset filters.
508
- add_fields (Optional[List[FieldSpec]]): User defined fields to
509
- add to the transformation.
510
- utils (Optional[FieldUtils]): Utilities for handling fields.
533
+ add_fields (Optional[List[FieldSpec]]):
534
+ User defined fields to add to the transformation.
511
535
  """
512
536
 
513
537
  class Custom(BaseModel):
@@ -544,8 +568,8 @@ class SilverSpec(BaseModel):
544
568
  Overrides for the preset.
545
569
 
546
570
  Attributes:
547
- omit_fields (Optional[List[str]]): A list of fields to omit
548
- from the chosen preset.
571
+ omit_fields (Optional[List[str]]):
572
+ A list of fields to omit from the chosen preset.
549
573
  """
550
574
 
551
575
  omit_fields: Optional[List[str]] = None
@@ -574,7 +598,6 @@ class SilverSpec(BaseModel):
574
598
  post_filter: Optional[str] = None
575
599
  preset_overrides: Optional["SilverSpec.PreTransform.PresetOverrides"] = None
576
600
  add_fields: Optional[List[FieldSpec]] = None
577
- utils: Optional[FieldUtils] = None
578
601
 
579
602
  @staticmethod
580
603
  def from_api_obj(
@@ -595,7 +618,6 @@ class SilverSpec(BaseModel):
595
618
  obj.preset_overrides
596
619
  ),
597
620
  add_fields=add_fields,
598
- utils=FieldUtils.from_api_obj(obj.utils),
599
621
  )
600
622
 
601
623
  def to_api_obj(self) -> CoreV1DataSourceSpecSilverPreTransform:
@@ -611,7 +633,6 @@ class SilverSpec(BaseModel):
611
633
  post_filter=self.post_filter,
612
634
  preset_overrides=Helpers.maybe(to_api_obj, self.preset_overrides),
613
635
  add_fields=add_fields,
614
- utils=Helpers.maybe(to_api_obj, self.utils),
615
636
  )
616
637
 
617
638
  class Transform(BaseModel):
@@ -620,6 +641,7 @@ class SilverSpec(BaseModel):
620
641
 
621
642
  Attributes:
622
643
  skip_silver_transform (Optional[bool]):
644
+ If True, skip transform entirely.
623
645
  preset_overrides (Optional[SilverSpec.Transform.PresetOverrides]):
624
646
  Preset overrides for the silver transformation.
625
647
  """
@@ -629,14 +651,12 @@ class SilverSpec(BaseModel):
629
651
  Overrides for preset transform settings.
630
652
 
631
653
  Attributes:
632
- modify_tables (Optional[List[SilverSpec.Transform.
633
- PresetOverrides.ModifyTables]]): Modifications for
634
- existing tables.
635
- omit_tables (Optional[List[str]]): A list of tables to omit
636
- from the preset.
637
- add_tables (Optional[List[SilverSpec.Transform.PresetOverrides.
638
- AddTables]]): User defined tables to include in the
639
- transformation.
654
+ modify_tables (Optional[List[SilverSpec.Transform.PresetOverrides.ModifyTables]]):
655
+ Modifications forexisting tables.
656
+ omit_tables (Optional[List[str]]):
657
+ A list of tables to omit from the preset.
658
+ add_tables (Optional[List[SilverSpec.Transform.PresetOverrides.AddTables]]):
659
+ User defined tables to include in the transformation.
640
660
  """
641
661
 
642
662
  class Custom(BaseModel):
@@ -913,12 +933,12 @@ class GoldSpec(BaseModel):
913
933
  Configuration for gold table in a DataSource.
914
934
 
915
935
  Attributes:
916
- omit_tables (Optional[List[str]]): A list of tables to omit from the
917
- preset.
918
- modify_tables (Optional[List[GoldSpec.ModifyTables]]): Modifications
919
- for existing gold table definitions.
920
- add_tables (Optional[List[GoldSpec.AddTables]]): User defined tables
921
- to add to the gold configuration.
936
+ omit_tables (Optional[List[str]]):
937
+ A list of tables to omit from the preset.
938
+ modify_tables (Optional[List[GoldSpec.ModifyTables]]):
939
+ Modifications for existing gold table definitions.
940
+ add_tables (Optional[List[GoldSpec.AddTables]]):
941
+ User defined tables to add to the gold configuration.
922
942
  """
923
943
 
924
944
  class ModifyTables(BaseModel):
@@ -927,16 +947,19 @@ class GoldSpec(BaseModel):
927
947
 
928
948
  Attributes:
929
949
  name (Optional[str]):
930
- source_table (Optional[str]): Used to match against the preset's
931
- gold stanzas input fields.
932
- custom (Optional[GoldSpec.ModifyTables.Custom]): Custom function
933
- for modifying tables.
934
- omit_fields (Optional[List[str]]): A list of fields to omit.
935
- add_fields (Optional[List[FieldSpec]]): Fields to add.
936
- filter (Optional[str]): A SQL filter to apply before processing.
937
- post_filter (Optional[str]): A SQL filter to apply after
938
- processing.
939
- utils (Optional[FieldUtils]): Utilities for field handling.
950
+ Table name.
951
+ source_table (Optional[str]):
952
+ Used to match against the preset's gold stanzas input fields.
953
+ custom (Optional[GoldSpec.ModifyTables.Custom]):
954
+ Custom function for modifying tables.
955
+ omit_fields (Optional[List[str]]):
956
+ A list of fields to omit.
957
+ add_fields (Optional[List[FieldSpec]]):
958
+ Fields to add.
959
+ filter (Optional[str]):
960
+ A SQL filter to apply before processing.
961
+ post_filter (Optional[str]):
962
+ A SQL filter to apply after processing.
940
963
  """
941
964
 
942
965
  class Custom(BaseModel):
@@ -979,7 +1002,6 @@ class GoldSpec(BaseModel):
979
1002
  add_fields: Optional[List[FieldSpec]] = None
980
1003
  filter: Optional[str] = None
981
1004
  post_filter: Optional[str] = None
982
- utils: Optional[FieldUtils] = None
983
1005
 
984
1006
  @staticmethod
985
1007
  def from_api_obj(
@@ -998,7 +1020,6 @@ class GoldSpec(BaseModel):
998
1020
  add_fields=add_fields,
999
1021
  filter=obj.filter,
1000
1022
  post_filter=obj.post_filter,
1001
- utils=FieldUtils.from_api_obj(obj.utils),
1002
1023
  )
1003
1024
 
1004
1025
  def to_api_obj(
@@ -1016,7 +1037,6 @@ class GoldSpec(BaseModel):
1016
1037
  add_fields=add_fields,
1017
1038
  filter=self.filter,
1018
1039
  post_filter=self.post_filter,
1019
- utils=Helpers.maybe(to_api_obj, self.utils),
1020
1040
  )
1021
1041
 
1022
1042
  class AddTables(BaseModel):
@@ -1024,19 +1044,18 @@ class GoldSpec(BaseModel):
1024
1044
  Tables to add during gold table transformation.
1025
1045
 
1026
1046
  Attributes:
1027
- custom (Optional[GoldSpec.AddTables.Custom]): Custom function for
1028
- adding tables.
1029
- name (Optional[str]): The name of the table to add.
1030
- source_table (Optional[str]): The source table/dataframe for the
1031
- gold table.
1032
- filter (Optional[str]): A SQL filter to apply.
1033
- post_filter (Optional[str]): A SQL filter to apply after
1034
- processing.
1035
- override_liquid_columns (Optional[List[str]]): Columns to override
1036
- in the preset.
1037
- fields (Optional[List[FieldSpec]]): Field specifications for the
1038
- new table.
1039
- utils (Optional[FieldUtils]): Utilities for field handling.
1047
+ custom (Optional[GoldSpec.AddTables.Custom]):
1048
+ Custom function for adding tables.
1049
+ name (Optional[str]):
1050
+ The name of the table to add.
1051
+ source_table (Optional[str]):
1052
+ The source table/dataframe for the gold table.
1053
+ filter (Optional[str]):
1054
+ A SQL filter to apply.
1055
+ post_filter (Optional[str]):
1056
+ A SQL filter to apply after processing.
1057
+ fields (Optional[List[FieldSpec]]):
1058
+ Field specifications for the new table.
1040
1059
  """
1041
1060
 
1042
1061
  class Custom(BaseModel):
@@ -1077,9 +1096,7 @@ class GoldSpec(BaseModel):
1077
1096
  custom: Optional["GoldSpec.AddTables.Custom"] = None
1078
1097
  filter: Optional[str] = None
1079
1098
  post_filter: Optional[str] = None
1080
- override_liquid_columns: Optional[List[str]] = None
1081
1099
  fields: Optional[List[FieldSpec]] = None
1082
- utils: Optional[FieldUtils] = None
1083
1100
 
1084
1101
  @staticmethod
1085
1102
  def from_api_obj(
@@ -1096,9 +1113,7 @@ class GoldSpec(BaseModel):
1096
1113
  source_table=obj.source_table,
1097
1114
  filter=obj.filter,
1098
1115
  post_filter=obj.post_filter,
1099
- override_liquid_columns=obj.override_liquid_columns,
1100
1116
  fields=fields,
1101
- utils=FieldUtils.from_api_obj(obj.utils),
1102
1117
  )
1103
1118
 
1104
1119
  def to_api_obj(self) -> CoreV1DataSourceSpecGoldPresetOverridesAddTablesInner:
@@ -1112,9 +1127,7 @@ class GoldSpec(BaseModel):
1112
1127
  source_table=self.source_table,
1113
1128
  filter=self.filter,
1114
1129
  post_filter=self.post_filter,
1115
- override_liquid_columns=self.override_liquid_columns,
1116
1130
  fields=fields,
1117
- utils=Helpers.maybe(to_api_obj, self.utils),
1118
1131
  )
1119
1132
 
1120
1133
  omit_tables: Optional[List[str]] = None
@@ -1167,20 +1180,28 @@ class DataSource(BaseModel):
1167
1180
  A DataSource resource.
1168
1181
 
1169
1182
  Attributes:
1170
- metadata (Optional[Metadata]): Standard object metadata.
1171
- source (Optional[str]): The name of the originator of the data.
1172
- source_type (Optional[str]): The type of data being imported.
1173
- schedule (Optional[Schedule]): The schedule for data ingestion.
1174
- custom (Optional[DataSource.CustomNotebook]): A custom notebook for
1175
- the datasource.
1176
- use_preset (Optional[str]): The name of the preset to use for this
1177
- data source.
1178
- autoloader (Optional[DataSource.Autoloader]): Autoloader configuration.
1179
- bronze (Optional[BronzeSpec]): Bronze table configuration.
1180
- silver (Optional[SilverSpec]): Silver transformation configuration.
1181
- gold (Optional[GoldSpec]): Gold transformation configuration.
1182
- status (Optional[ResourceStatus]): The current status of the
1183
- datasource.
1183
+ metadata (Optional[Metadata]):
1184
+ Standard object metadata.
1185
+ source (Optional[str]):
1186
+ The name of the originator of the data.
1187
+ source_type (Optional[str]):
1188
+ The type of data being imported.
1189
+ schedule (Optional[Schedule]):
1190
+ The schedule for data ingestion.
1191
+ custom (Optional[DataSource.CustomNotebook]):
1192
+ A custom notebook for the datasource.
1193
+ use_preset (Optional[str]):
1194
+ The name of the preset to use for this data source.
1195
+ autoloader (Optional[DataSource.Autoloader]):
1196
+ Autoloader configuration.
1197
+ bronze (Optional[BronzeSpec]):
1198
+ Bronze table configuration.
1199
+ silver (Optional[SilverSpec]):
1200
+ Silver transformation configuration.
1201
+ gold (Optional[GoldSpec]):
1202
+ Gold transformation configuration.
1203
+ status (Optional[ResourceStatus]):
1204
+ The current status of the datasource.
1184
1205
  """
1185
1206
 
1186
1207
  class CustomNotebook(BaseModel):
@@ -1188,8 +1209,8 @@ class DataSource(BaseModel):
1188
1209
  A custom notebook for generating data.
1189
1210
 
1190
1211
  Attributes:
1191
- notebook (Optional[str]): Path to the notebook in the Databricks
1192
- workspace.
1212
+ notebook (Optional[str]):
1213
+ Path to the notebook in the Databricks workspace.
1193
1214
  """
1194
1215
 
1195
1216
  notebook: Optional[str] = None
@@ -1214,11 +1235,12 @@ class DataSource(BaseModel):
1214
1235
  Autoloader configuration for the DataSource.
1215
1236
 
1216
1237
  Attributes:
1217
- format (Optional[str]): The format of the data (e.g., json,
1218
- parquet, csv, etc.).
1219
- location (str): External location for the volume in Unity Catalog.
1220
- schema_file (Optional[str]): An optional file containing the
1221
- schema of the data source.
1238
+ format (Optional[str]):
1239
+ The format of the data (e.g., json, parquet, csv, etc.).
1240
+ location (str):
1241
+ External location for the volume in Unity Catalog.
1242
+ schema_file (Optional[str]):
1243
+ An optional file containing the schema of the data source.
1222
1244
  cloud_files (Optional[DataSource.Autoloader.CloudFiles]):
1223
1245
  CloudFiles configuration.
1224
1246
  """