dasl-client 1.0.7__py3-none-any.whl → 1.0.11__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,17 +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.
533
+ add_fields (Optional[List[FieldSpec]]):
534
+ User defined fields to add to the transformation.
510
535
  """
511
536
 
512
537
  class Custom(BaseModel):
@@ -543,8 +568,8 @@ class SilverSpec(BaseModel):
543
568
  Overrides for the preset.
544
569
 
545
570
  Attributes:
546
- omit_fields (Optional[List[str]]): A list of fields to omit
547
- from the chosen preset.
571
+ omit_fields (Optional[List[str]]):
572
+ A list of fields to omit from the chosen preset.
548
573
  """
549
574
 
550
575
  omit_fields: Optional[List[str]] = None
@@ -616,6 +641,7 @@ class SilverSpec(BaseModel):
616
641
 
617
642
  Attributes:
618
643
  skip_silver_transform (Optional[bool]):
644
+ If True, skip transform entirely.
619
645
  preset_overrides (Optional[SilverSpec.Transform.PresetOverrides]):
620
646
  Preset overrides for the silver transformation.
621
647
  """
@@ -625,14 +651,12 @@ class SilverSpec(BaseModel):
625
651
  Overrides for preset transform settings.
626
652
 
627
653
  Attributes:
628
- modify_tables (Optional[List[SilverSpec.Transform.
629
- PresetOverrides.ModifyTables]]): Modifications for
630
- existing tables.
631
- omit_tables (Optional[List[str]]): A list of tables to omit
632
- from the preset.
633
- add_tables (Optional[List[SilverSpec.Transform.PresetOverrides.
634
- AddTables]]): User defined tables to include in the
635
- 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.
636
660
  """
637
661
 
638
662
  class Custom(BaseModel):
@@ -909,12 +933,12 @@ class GoldSpec(BaseModel):
909
933
  Configuration for gold table in a DataSource.
910
934
 
911
935
  Attributes:
912
- omit_tables (Optional[List[str]]): A list of tables to omit from the
913
- preset.
914
- modify_tables (Optional[List[GoldSpec.ModifyTables]]): Modifications
915
- for existing gold table definitions.
916
- add_tables (Optional[List[GoldSpec.AddTables]]): User defined tables
917
- 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.
918
942
  """
919
943
 
920
944
  class ModifyTables(BaseModel):
@@ -923,15 +947,19 @@ class GoldSpec(BaseModel):
923
947
 
924
948
  Attributes:
925
949
  name (Optional[str]):
926
- source_table (Optional[str]): Used to match against the preset's
927
- gold stanzas input fields.
928
- custom (Optional[GoldSpec.ModifyTables.Custom]): Custom function
929
- for modifying tables.
930
- omit_fields (Optional[List[str]]): A list of fields to omit.
931
- add_fields (Optional[List[FieldSpec]]): Fields to add.
932
- filter (Optional[str]): A SQL filter to apply before processing.
933
- post_filter (Optional[str]): A SQL filter to apply after
934
- processing.
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.
935
963
  """
936
964
 
937
965
  class Custom(BaseModel):
@@ -1016,16 +1044,18 @@ class GoldSpec(BaseModel):
1016
1044
  Tables to add during gold table transformation.
1017
1045
 
1018
1046
  Attributes:
1019
- custom (Optional[GoldSpec.AddTables.Custom]): Custom function for
1020
- adding tables.
1021
- name (Optional[str]): The name of the table to add.
1022
- source_table (Optional[str]): The source table/dataframe for the
1023
- gold table.
1024
- filter (Optional[str]): A SQL filter to apply.
1025
- post_filter (Optional[str]): A SQL filter to apply after
1026
- processing.
1027
- fields (Optional[List[FieldSpec]]): Field specifications for the
1028
- new table.
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.
1029
1059
  """
1030
1060
 
1031
1061
  class Custom(BaseModel):
@@ -1150,20 +1180,28 @@ class DataSource(BaseModel):
1150
1180
  A DataSource resource.
1151
1181
 
1152
1182
  Attributes:
1153
- metadata (Optional[Metadata]): Standard object metadata.
1154
- source (Optional[str]): The name of the originator of the data.
1155
- source_type (Optional[str]): The type of data being imported.
1156
- schedule (Optional[Schedule]): The schedule for data ingestion.
1157
- custom (Optional[DataSource.CustomNotebook]): A custom notebook for
1158
- the datasource.
1159
- use_preset (Optional[str]): The name of the preset to use for this
1160
- data source.
1161
- autoloader (Optional[DataSource.Autoloader]): Autoloader configuration.
1162
- bronze (Optional[BronzeSpec]): Bronze table configuration.
1163
- silver (Optional[SilverSpec]): Silver transformation configuration.
1164
- gold (Optional[GoldSpec]): Gold transformation configuration.
1165
- status (Optional[ResourceStatus]): The current status of the
1166
- 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.
1167
1205
  """
1168
1206
 
1169
1207
  class CustomNotebook(BaseModel):
@@ -1171,8 +1209,8 @@ class DataSource(BaseModel):
1171
1209
  A custom notebook for generating data.
1172
1210
 
1173
1211
  Attributes:
1174
- notebook (Optional[str]): Path to the notebook in the Databricks
1175
- workspace.
1212
+ notebook (Optional[str]):
1213
+ Path to the notebook in the Databricks workspace.
1176
1214
  """
1177
1215
 
1178
1216
  notebook: Optional[str] = None
@@ -1197,11 +1235,12 @@ class DataSource(BaseModel):
1197
1235
  Autoloader configuration for the DataSource.
1198
1236
 
1199
1237
  Attributes:
1200
- format (Optional[str]): The format of the data (e.g., json,
1201
- parquet, csv, etc.).
1202
- location (str): External location for the volume in Unity Catalog.
1203
- schema_file (Optional[str]): An optional file containing the
1204
- 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.
1205
1244
  cloud_files (Optional[DataSource.Autoloader.CloudFiles]):
1206
1245
  CloudFiles configuration.
1207
1246
  """
dasl_client/types/dbui.py CHANGED
@@ -24,12 +24,16 @@ class Dbui(BaseModel):
24
24
  Table column details.
25
25
 
26
26
  Attributes:
27
- name (Optional[str]): The column name.
28
- type_name (Optional[str]): The name of the column type.
29
- type_detail (Optional[str]): Additional information about the
30
- column's type.
31
- position (Optional[int]): The column's index in the table.
32
- nullable (Optional[bool]): Indicates if this column is nullable.
27
+ name (Optional[str]):
28
+ The column name.
29
+ type_name (Optional[str]):
30
+ The name of the column type.
31
+ type_detail (Optional[str]):
32
+ Additional information about the column's type.
33
+ position (Optional[int]):
34
+ The column's index in the table.
35
+ nullable (Optional[bool]):
36
+ Indicates if this column is nullable.
33
37
  """
34
38
 
35
39
  name: Optional[str] = None
@@ -125,12 +129,14 @@ class TransformRequest(BaseModel):
125
129
  silver).
126
130
 
127
131
  Attributes:
128
- input (TransformRequest.Input): The input block containing the
129
- columns metadata and data.
132
+ input (TransformRequest.Input):
133
+ The input block containing the columns metadata and data.
130
134
  autoloader_input (DataSource.Autoloader):
131
- use_preset (str): Indicates which preset to use for the transforms.
132
- transforms (List[TransformRequest.Transform]): A list of transform
133
- configurations.
135
+ The autoloader input configuration.
136
+ use_preset (str):
137
+ Indicates which preset to use for the transforms.
138
+ transforms (List[TransformRequest.Transform]):
139
+ A list of transform configurations.
134
140
  """
135
141
 
136
142
  class Input(BaseModel):
@@ -138,10 +144,10 @@ class TransformRequest(BaseModel):
138
144
  Input data for the transform request.
139
145
 
140
146
  Attributes:
141
- columns (List[Dbui.TableColumnDetails]): A list of metadata about
142
- the columns.
143
- data (List[Dict[str, str]]): The data represented as a list of
144
- dictionaries.
147
+ columns (List[Dbui.TableColumnDetails]):
148
+ A list of metadata about the columns.
149
+ data (List[Dict[str, str]]):
150
+ The data represented as a list of dictionaries.
145
151
  """
146
152
 
147
153
  columns: List[Dbui.TableColumnDetails]
@@ -171,19 +177,24 @@ class TransformRequest(BaseModel):
171
177
  A transform configuration to apply to the data.
172
178
 
173
179
  Attributes:
174
- transform_type (str): The type of transform (one of
175
- SilverPreTransform, SilverTransform, Gold).
176
- use_pre_transform_preset (str): Indicates which pre-transform
177
- preset to use if requested.
178
- use_preset_table (str): Indicates which table to use within the
179
- preset's transform type for Silver and Gold.
180
+ transform_type (str):
181
+ The type of transform (one of SilverPreTransform,
182
+ SilverTransform, Gold).
183
+ use_pre_transform_preset (str):
184
+ Indicates which pre-transform preset to use if requested.
185
+ use_preset_table (str):
186
+ Indicates which table to use within the preset's transform
187
+ type for Silver and Gold.
180
188
  filter (str):
189
+ Filter expression.
181
190
  post_filter (str):
191
+ Filter expression applied after the transform.
182
192
  preset_overrides (TransformRequest.Transform.PresetOverrides):
183
193
  Overrides for the preset configuration.
184
- add_fields (List[FieldSpec]): Additional field specifications
185
- to add.
186
- utils (FieldUtils): Utility configurations for handling fields.
194
+ add_fields (List[FieldSpec]):
195
+ Additional field specifications to add.
196
+ utils (FieldUtils):
197
+ Utility configurations for handling fields.
187
198
  """
188
199
 
189
200
  class PresetOverrides(BaseModel):
@@ -191,8 +202,8 @@ class TransformRequest(BaseModel):
191
202
  Preset overrides for a transform configuration.
192
203
 
193
204
  Attributes:
194
- omit_fields (List[str]): A list of fields to omit from
195
- the preset.
205
+ omit_fields (List[str]):
206
+ A list of fields to omit from the preset.
196
207
  """
197
208
 
198
209
  omit_fields: Optional[List[str]] = None
@@ -293,8 +304,8 @@ class TransformResponse(BaseModel):
293
304
  applied on the data.
294
305
 
295
306
  Attributes:
296
- stages (List[TransformResponse.Stages]): A list of stages
297
- representing each intermediate transform step.
307
+ stages (List[TransformResponse.Stages]):
308
+ A list of stages representing each intermediate transform step.
298
309
  """
299
310
 
300
311
  class Stages(BaseModel):
@@ -302,12 +313,13 @@ class TransformResponse(BaseModel):
302
313
  A stage in the transform response.
303
314
 
304
315
  Attributes:
305
- transform_type (str): The type of transform applied in this stage
306
- (one of SilverPreTransform, SilverTransform, Gold, Input).
307
- columns (List[Dbui.TableColumnDetails]): A list of metadata about
308
- the columns returned in this stage.
309
- data (List[Dict[str, str]]): The data represented as a list
310
- of dictionaries.
316
+ transform_type (str):
317
+ The type of transform applied in this stage (one of
318
+ SilverPreTransform, SilverTransform, Gold, Input).
319
+ columns (List[Dbui.TableColumnDetails]):
320
+ A list of metadata about the columns returned in this stage.
321
+ data (List[Dict[str, str]]):
322
+ The data represented as a list of dictionaries.
311
323
  """
312
324
 
313
325
  transform_type: str