deeporigin-data-sdk 0.1.0a43__py3-none-any.whl → 0.1.0a44__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.
@@ -2,17 +2,870 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from typing_extensions import Required, Annotated, TypedDict
5
+ from typing import List, Union
6
+ from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
6
7
 
7
- from ..types import client_update_database_column_params
8
8
  from .._utils import PropertyInfo
9
9
 
10
- __all__ = ["ClientUpdateDatabaseColumnParams"]
10
+ __all__ = [
11
+ "ClientUpdateDatabaseColumnParams",
12
+ "Column",
13
+ "ColumnColumnBooleanBase",
14
+ "ColumnColumnDateBase",
15
+ "ColumnColumnEditorBase",
16
+ "ColumnColumnExpressionBase",
17
+ "ColumnColumnFileBase",
18
+ "ColumnColumnFileBaseConfigFile",
19
+ "ColumnColumnFloatBase",
20
+ "ColumnColumnFloatBaseConfigNumeric",
21
+ "ColumnColumnFloatBaseConfigNumericNumberFormat",
22
+ "ColumnColumnIntegerBase",
23
+ "ColumnColumnIntegerBaseConfigNumeric",
24
+ "ColumnColumnIntegerBaseConfigNumericNumberFormat",
25
+ "ColumnColumnReferenceBase",
26
+ "ColumnColumnSelectBase",
27
+ "ColumnColumnSelectBaseConfigSelect",
28
+ "ColumnColumnTextBase",
29
+ "ColumnColumnURLBase",
30
+ "ColumnColumnUserBase",
31
+ "ColumnColumnLookupBase",
32
+ "ColumnColumnLookupBaseLookupExternalColumn",
33
+ "ColumnColumnLookupBaseLookupExternalColumnColumnBooleanBase",
34
+ "ColumnColumnLookupBaseLookupExternalColumnColumnDateBase",
35
+ "ColumnColumnLookupBaseLookupExternalColumnColumnEditorBase",
36
+ "ColumnColumnLookupBaseLookupExternalColumnColumnExpressionBase",
37
+ "ColumnColumnLookupBaseLookupExternalColumnColumnFileBase",
38
+ "ColumnColumnLookupBaseLookupExternalColumnColumnFileBaseConfigFile",
39
+ "ColumnColumnLookupBaseLookupExternalColumnColumnFloatBase",
40
+ "ColumnColumnLookupBaseLookupExternalColumnColumnFloatBaseConfigNumeric",
41
+ "ColumnColumnLookupBaseLookupExternalColumnColumnFloatBaseConfigNumericNumberFormat",
42
+ "ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBase",
43
+ "ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBaseConfigNumeric",
44
+ "ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBaseConfigNumericNumberFormat",
45
+ "ColumnColumnLookupBaseLookupExternalColumnColumnReferenceBase",
46
+ "ColumnColumnLookupBaseLookupExternalColumnColumnSelectBase",
47
+ "ColumnColumnLookupBaseLookupExternalColumnColumnSelectBaseConfigSelect",
48
+ "ColumnColumnLookupBaseLookupExternalColumnColumnTextBase",
49
+ "ColumnColumnLookupBaseLookupExternalColumnColumnURLBase",
50
+ "ColumnColumnLookupBaseLookupExternalColumnColumnUserBase",
51
+ ]
11
52
 
12
53
 
13
54
  class ClientUpdateDatabaseColumnParams(TypedDict, total=False):
14
- column: Required[client_update_database_column_params.Column]
55
+ column: Required[Column]
15
56
 
16
57
  column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
17
58
 
18
59
  database_id: Required[Annotated[str, PropertyInfo(alias="databaseId")]]
60
+
61
+
62
+ class ColumnColumnBooleanBase(TypedDict, total=False):
63
+ type: Required[Literal["boolean"]]
64
+
65
+ cardinality: Literal["one", "many"]
66
+
67
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
68
+
69
+ enabled_viewers: Annotated[
70
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
71
+ PropertyInfo(alias="enabledViewers"),
72
+ ]
73
+
74
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
75
+
76
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
77
+
78
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
79
+
80
+ name: str
81
+
82
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
83
+
84
+
85
+ class ColumnColumnDateBase(TypedDict, total=False):
86
+ type: Required[Literal["date"]]
87
+
88
+ cardinality: Literal["one", "many"]
89
+
90
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
91
+
92
+ enabled_viewers: Annotated[
93
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
94
+ PropertyInfo(alias="enabledViewers"),
95
+ ]
96
+
97
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
98
+
99
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
100
+
101
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
102
+
103
+ name: str
104
+
105
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
106
+
107
+
108
+ class ColumnColumnEditorBase(TypedDict, total=False):
109
+ type: Required[Literal["editor"]]
110
+
111
+ cardinality: Literal["one", "many"]
112
+
113
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
114
+
115
+ enabled_viewers: Annotated[
116
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
117
+ PropertyInfo(alias="enabledViewers"),
118
+ ]
119
+
120
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
121
+
122
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
123
+
124
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
125
+
126
+ name: str
127
+
128
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
129
+
130
+
131
+ class ColumnColumnExpressionBase(TypedDict, total=False):
132
+ expression_code: Required[Annotated[str, PropertyInfo(alias="expressionCode")]]
133
+
134
+ expression_return_type: Required[
135
+ Annotated[Literal["text", "float", "integer"], PropertyInfo(alias="expressionReturnType")]
136
+ ]
137
+
138
+ type: Required[Literal["expression"]]
139
+
140
+ cardinality: Literal["one", "many"]
141
+
142
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
143
+
144
+ enabled_viewers: Annotated[
145
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
146
+ PropertyInfo(alias="enabledViewers"),
147
+ ]
148
+
149
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
150
+
151
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
152
+
153
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
154
+
155
+ name: str
156
+
157
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
158
+
159
+
160
+ class ColumnColumnFileBaseConfigFile(TypedDict, total=False):
161
+ allowed_extensions: Annotated[List[str], PropertyInfo(alias="allowedExtensions")]
162
+
163
+
164
+ class ColumnColumnFileBase(TypedDict, total=False):
165
+ type: Required[Literal["file"]]
166
+
167
+ cardinality: Literal["one", "many"]
168
+
169
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
170
+
171
+ config_file: Annotated[ColumnColumnFileBaseConfigFile, PropertyInfo(alias="configFile")]
172
+
173
+ enabled_viewers: Annotated[
174
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
175
+ PropertyInfo(alias="enabledViewers"),
176
+ ]
177
+
178
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
179
+
180
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
181
+
182
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
183
+
184
+ name: str
185
+
186
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
187
+
188
+
189
+ class ColumnColumnFloatBaseConfigNumericNumberFormat(TypedDict, total=False):
190
+ maximum_fraction_digits: Annotated[float, PropertyInfo(alias="maximumFractionDigits")]
191
+
192
+ maximum_significant_digits: Annotated[float, PropertyInfo(alias="maximumSignificantDigits")]
193
+
194
+ minimum_fraction_digits: Annotated[float, PropertyInfo(alias="minimumFractionDigits")]
195
+
196
+ minimum_significant_digits: Annotated[float, PropertyInfo(alias="minimumSignificantDigits")]
197
+
198
+
199
+ class ColumnColumnFloatBaseConfigNumeric(TypedDict, total=False):
200
+ number_format: Annotated[ColumnColumnFloatBaseConfigNumericNumberFormat, PropertyInfo(alias="numberFormat")]
201
+ """Options for formatting numbers, used only for display purposes."""
202
+
203
+ unit: str
204
+
205
+
206
+ class ColumnColumnFloatBase(TypedDict, total=False):
207
+ type: Required[Literal["float"]]
208
+
209
+ cardinality: Literal["one", "many"]
210
+
211
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
212
+
213
+ config_numeric: Annotated[ColumnColumnFloatBaseConfigNumeric, PropertyInfo(alias="configNumeric")]
214
+
215
+ enabled_viewers: Annotated[
216
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
217
+ PropertyInfo(alias="enabledViewers"),
218
+ ]
219
+
220
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
221
+
222
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
223
+
224
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
225
+
226
+ name: str
227
+
228
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
229
+
230
+
231
+ class ColumnColumnIntegerBaseConfigNumericNumberFormat(TypedDict, total=False):
232
+ maximum_fraction_digits: Annotated[float, PropertyInfo(alias="maximumFractionDigits")]
233
+
234
+ maximum_significant_digits: Annotated[float, PropertyInfo(alias="maximumSignificantDigits")]
235
+
236
+ minimum_fraction_digits: Annotated[float, PropertyInfo(alias="minimumFractionDigits")]
237
+
238
+ minimum_significant_digits: Annotated[float, PropertyInfo(alias="minimumSignificantDigits")]
239
+
240
+
241
+ class ColumnColumnIntegerBaseConfigNumeric(TypedDict, total=False):
242
+ number_format: Annotated[ColumnColumnIntegerBaseConfigNumericNumberFormat, PropertyInfo(alias="numberFormat")]
243
+ """Options for formatting numbers, used only for display purposes."""
244
+
245
+ unit: str
246
+
247
+
248
+ class ColumnColumnIntegerBase(TypedDict, total=False):
249
+ type: Required[Literal["integer"]]
250
+
251
+ cardinality: Literal["one", "many"]
252
+
253
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
254
+
255
+ config_numeric: Annotated[ColumnColumnIntegerBaseConfigNumeric, PropertyInfo(alias="configNumeric")]
256
+
257
+ enabled_viewers: Annotated[
258
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
259
+ PropertyInfo(alias="enabledViewers"),
260
+ ]
261
+
262
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
263
+
264
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
265
+
266
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
267
+
268
+ name: str
269
+
270
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
271
+
272
+
273
+ class ColumnColumnReferenceBase(TypedDict, total=False):
274
+ reference_database_row_id: Required[Annotated[str, PropertyInfo(alias="referenceDatabaseRowId")]]
275
+
276
+ type: Required[Literal["reference"]]
277
+
278
+ cardinality: Literal["one", "many"]
279
+
280
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
281
+
282
+ enabled_viewers: Annotated[
283
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
284
+ PropertyInfo(alias="enabledViewers"),
285
+ ]
286
+
287
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
288
+
289
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
290
+
291
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
292
+
293
+ name: str
294
+
295
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
296
+
297
+
298
+ class ColumnColumnSelectBaseConfigSelect(TypedDict, total=False):
299
+ options: Required[List[str]]
300
+
301
+ can_create: Annotated[bool, PropertyInfo(alias="canCreate")]
302
+
303
+
304
+ class ColumnColumnSelectBase(TypedDict, total=False):
305
+ config_select: Required[Annotated[ColumnColumnSelectBaseConfigSelect, PropertyInfo(alias="configSelect")]]
306
+
307
+ type: Required[Literal["select"]]
308
+
309
+ cardinality: Literal["one", "many"]
310
+
311
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
312
+
313
+ enabled_viewers: Annotated[
314
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
315
+ PropertyInfo(alias="enabledViewers"),
316
+ ]
317
+
318
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
319
+
320
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
321
+
322
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
323
+
324
+ name: str
325
+
326
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
327
+
328
+
329
+ class ColumnColumnTextBase(TypedDict, total=False):
330
+ type: Required[Literal["text"]]
331
+
332
+ cardinality: Literal["one", "many"]
333
+
334
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
335
+
336
+ enabled_viewers: Annotated[
337
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
338
+ PropertyInfo(alias="enabledViewers"),
339
+ ]
340
+
341
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
342
+
343
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
344
+
345
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
346
+
347
+ name: str
348
+
349
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
350
+
351
+
352
+ class ColumnColumnURLBase(TypedDict, total=False):
353
+ type: Required[Literal["url"]]
354
+
355
+ cardinality: Literal["one", "many"]
356
+
357
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
358
+
359
+ enabled_viewers: Annotated[
360
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
361
+ PropertyInfo(alias="enabledViewers"),
362
+ ]
363
+
364
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
365
+
366
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
367
+
368
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
369
+
370
+ name: str
371
+
372
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
373
+
374
+
375
+ class ColumnColumnUserBase(TypedDict, total=False):
376
+ type: Required[Literal["user"]]
377
+
378
+ cardinality: Literal["one", "many"]
379
+
380
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
381
+
382
+ enabled_viewers: Annotated[
383
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
384
+ PropertyInfo(alias="enabledViewers"),
385
+ ]
386
+
387
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
388
+
389
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
390
+
391
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
392
+
393
+ name: str
394
+
395
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
396
+
397
+
398
+ class ColumnColumnLookupBaseLookupExternalColumnColumnBooleanBase(TypedDict, total=False):
399
+ type: Required[Literal["boolean"]]
400
+
401
+ id: str
402
+ """Deep Origin system ID."""
403
+
404
+ cardinality: Literal["one", "many"]
405
+
406
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
407
+
408
+ enabled_viewers: Annotated[
409
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
410
+ PropertyInfo(alias="enabledViewers"),
411
+ ]
412
+
413
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
414
+
415
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
416
+
417
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
418
+
419
+ name: str
420
+
421
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
422
+
423
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
424
+
425
+
426
+ class ColumnColumnLookupBaseLookupExternalColumnColumnDateBase(TypedDict, total=False):
427
+ type: Required[Literal["date"]]
428
+
429
+ id: str
430
+ """Deep Origin system ID."""
431
+
432
+ cardinality: Literal["one", "many"]
433
+
434
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
435
+
436
+ enabled_viewers: Annotated[
437
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
438
+ PropertyInfo(alias="enabledViewers"),
439
+ ]
440
+
441
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
442
+
443
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
444
+
445
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
446
+
447
+ name: str
448
+
449
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
450
+
451
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
452
+
453
+
454
+ class ColumnColumnLookupBaseLookupExternalColumnColumnEditorBase(TypedDict, total=False):
455
+ type: Required[Literal["editor"]]
456
+
457
+ id: str
458
+ """Deep Origin system ID."""
459
+
460
+ cardinality: Literal["one", "many"]
461
+
462
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
463
+
464
+ enabled_viewers: Annotated[
465
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
466
+ PropertyInfo(alias="enabledViewers"),
467
+ ]
468
+
469
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
470
+
471
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
472
+
473
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
474
+
475
+ name: str
476
+
477
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
478
+
479
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
480
+
481
+
482
+ class ColumnColumnLookupBaseLookupExternalColumnColumnExpressionBase(TypedDict, total=False):
483
+ expression_code: Required[Annotated[str, PropertyInfo(alias="expressionCode")]]
484
+
485
+ expression_return_type: Required[
486
+ Annotated[Literal["text", "float", "integer"], PropertyInfo(alias="expressionReturnType")]
487
+ ]
488
+
489
+ type: Required[Literal["expression"]]
490
+
491
+ id: str
492
+ """Deep Origin system ID."""
493
+
494
+ cardinality: Literal["one", "many"]
495
+
496
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
497
+
498
+ enabled_viewers: Annotated[
499
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
500
+ PropertyInfo(alias="enabledViewers"),
501
+ ]
502
+
503
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
504
+
505
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
506
+
507
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
508
+
509
+ name: str
510
+
511
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
512
+
513
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
514
+
515
+
516
+ class ColumnColumnLookupBaseLookupExternalColumnColumnFileBaseConfigFile(TypedDict, total=False):
517
+ allowed_extensions: Annotated[List[str], PropertyInfo(alias="allowedExtensions")]
518
+
519
+
520
+ class ColumnColumnLookupBaseLookupExternalColumnColumnFileBase(TypedDict, total=False):
521
+ type: Required[Literal["file"]]
522
+
523
+ id: str
524
+ """Deep Origin system ID."""
525
+
526
+ cardinality: Literal["one", "many"]
527
+
528
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
529
+
530
+ config_file: Annotated[
531
+ ColumnColumnLookupBaseLookupExternalColumnColumnFileBaseConfigFile, PropertyInfo(alias="configFile")
532
+ ]
533
+
534
+ enabled_viewers: Annotated[
535
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
536
+ PropertyInfo(alias="enabledViewers"),
537
+ ]
538
+
539
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
540
+
541
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
542
+
543
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
544
+
545
+ name: str
546
+
547
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
548
+
549
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
550
+
551
+
552
+ class ColumnColumnLookupBaseLookupExternalColumnColumnFloatBaseConfigNumericNumberFormat(TypedDict, total=False):
553
+ maximum_fraction_digits: Annotated[float, PropertyInfo(alias="maximumFractionDigits")]
554
+
555
+ maximum_significant_digits: Annotated[float, PropertyInfo(alias="maximumSignificantDigits")]
556
+
557
+ minimum_fraction_digits: Annotated[float, PropertyInfo(alias="minimumFractionDigits")]
558
+
559
+ minimum_significant_digits: Annotated[float, PropertyInfo(alias="minimumSignificantDigits")]
560
+
561
+
562
+ class ColumnColumnLookupBaseLookupExternalColumnColumnFloatBaseConfigNumeric(TypedDict, total=False):
563
+ number_format: Annotated[
564
+ ColumnColumnLookupBaseLookupExternalColumnColumnFloatBaseConfigNumericNumberFormat,
565
+ PropertyInfo(alias="numberFormat"),
566
+ ]
567
+ """Options for formatting numbers, used only for display purposes."""
568
+
569
+ unit: str
570
+
571
+
572
+ class ColumnColumnLookupBaseLookupExternalColumnColumnFloatBase(TypedDict, total=False):
573
+ type: Required[Literal["float"]]
574
+
575
+ id: str
576
+ """Deep Origin system ID."""
577
+
578
+ cardinality: Literal["one", "many"]
579
+
580
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
581
+
582
+ config_numeric: Annotated[
583
+ ColumnColumnLookupBaseLookupExternalColumnColumnFloatBaseConfigNumeric, PropertyInfo(alias="configNumeric")
584
+ ]
585
+
586
+ enabled_viewers: Annotated[
587
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
588
+ PropertyInfo(alias="enabledViewers"),
589
+ ]
590
+
591
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
592
+
593
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
594
+
595
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
596
+
597
+ name: str
598
+
599
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
600
+
601
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
602
+
603
+
604
+ class ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBaseConfigNumericNumberFormat(TypedDict, total=False):
605
+ maximum_fraction_digits: Annotated[float, PropertyInfo(alias="maximumFractionDigits")]
606
+
607
+ maximum_significant_digits: Annotated[float, PropertyInfo(alias="maximumSignificantDigits")]
608
+
609
+ minimum_fraction_digits: Annotated[float, PropertyInfo(alias="minimumFractionDigits")]
610
+
611
+ minimum_significant_digits: Annotated[float, PropertyInfo(alias="minimumSignificantDigits")]
612
+
613
+
614
+ class ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBaseConfigNumeric(TypedDict, total=False):
615
+ number_format: Annotated[
616
+ ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBaseConfigNumericNumberFormat,
617
+ PropertyInfo(alias="numberFormat"),
618
+ ]
619
+ """Options for formatting numbers, used only for display purposes."""
620
+
621
+ unit: str
622
+
623
+
624
+ class ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBase(TypedDict, total=False):
625
+ type: Required[Literal["integer"]]
626
+
627
+ id: str
628
+ """Deep Origin system ID."""
629
+
630
+ cardinality: Literal["one", "many"]
631
+
632
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
633
+
634
+ config_numeric: Annotated[
635
+ ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBaseConfigNumeric, PropertyInfo(alias="configNumeric")
636
+ ]
637
+
638
+ enabled_viewers: Annotated[
639
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
640
+ PropertyInfo(alias="enabledViewers"),
641
+ ]
642
+
643
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
644
+
645
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
646
+
647
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
648
+
649
+ name: str
650
+
651
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
652
+
653
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
654
+
655
+
656
+ class ColumnColumnLookupBaseLookupExternalColumnColumnReferenceBase(TypedDict, total=False):
657
+ reference_database_row_id: Required[Annotated[str, PropertyInfo(alias="referenceDatabaseRowId")]]
658
+
659
+ type: Required[Literal["reference"]]
660
+
661
+ id: str
662
+ """Deep Origin system ID."""
663
+
664
+ cardinality: Literal["one", "many"]
665
+
666
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
667
+
668
+ enabled_viewers: Annotated[
669
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
670
+ PropertyInfo(alias="enabledViewers"),
671
+ ]
672
+
673
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
674
+
675
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
676
+
677
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
678
+
679
+ name: str
680
+
681
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
682
+
683
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
684
+
685
+
686
+ class ColumnColumnLookupBaseLookupExternalColumnColumnSelectBaseConfigSelect(TypedDict, total=False):
687
+ options: Required[List[str]]
688
+
689
+ can_create: Annotated[bool, PropertyInfo(alias="canCreate")]
690
+
691
+
692
+ class ColumnColumnLookupBaseLookupExternalColumnColumnSelectBase(TypedDict, total=False):
693
+ config_select: Required[
694
+ Annotated[
695
+ ColumnColumnLookupBaseLookupExternalColumnColumnSelectBaseConfigSelect, PropertyInfo(alias="configSelect")
696
+ ]
697
+ ]
698
+
699
+ type: Required[Literal["select"]]
700
+
701
+ id: str
702
+ """Deep Origin system ID."""
703
+
704
+ cardinality: Literal["one", "many"]
705
+
706
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
707
+
708
+ enabled_viewers: Annotated[
709
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
710
+ PropertyInfo(alias="enabledViewers"),
711
+ ]
712
+
713
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
714
+
715
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
716
+
717
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
718
+
719
+ name: str
720
+
721
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
722
+
723
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
724
+
725
+
726
+ class ColumnColumnLookupBaseLookupExternalColumnColumnTextBase(TypedDict, total=False):
727
+ type: Required[Literal["text"]]
728
+
729
+ id: str
730
+ """Deep Origin system ID."""
731
+
732
+ cardinality: Literal["one", "many"]
733
+
734
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
735
+
736
+ enabled_viewers: Annotated[
737
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
738
+ PropertyInfo(alias="enabledViewers"),
739
+ ]
740
+
741
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
742
+
743
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
744
+
745
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
746
+
747
+ name: str
748
+
749
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
750
+
751
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
752
+
753
+
754
+ class ColumnColumnLookupBaseLookupExternalColumnColumnURLBase(TypedDict, total=False):
755
+ type: Required[Literal["url"]]
756
+
757
+ id: str
758
+ """Deep Origin system ID."""
759
+
760
+ cardinality: Literal["one", "many"]
761
+
762
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
763
+
764
+ enabled_viewers: Annotated[
765
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
766
+ PropertyInfo(alias="enabledViewers"),
767
+ ]
768
+
769
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
770
+
771
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
772
+
773
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
774
+
775
+ name: str
776
+
777
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
778
+
779
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
780
+
781
+
782
+ class ColumnColumnLookupBaseLookupExternalColumnColumnUserBase(TypedDict, total=False):
783
+ type: Required[Literal["user"]]
784
+
785
+ id: str
786
+ """Deep Origin system ID."""
787
+
788
+ cardinality: Literal["one", "many"]
789
+
790
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
791
+
792
+ enabled_viewers: Annotated[
793
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
794
+ PropertyInfo(alias="enabledViewers"),
795
+ ]
796
+
797
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
798
+
799
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
800
+
801
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
802
+
803
+ name: str
804
+
805
+ parent_id: Annotated[str, PropertyInfo(alias="parentId")]
806
+
807
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
808
+
809
+
810
+ ColumnColumnLookupBaseLookupExternalColumn: TypeAlias = Union[
811
+ ColumnColumnLookupBaseLookupExternalColumnColumnBooleanBase,
812
+ ColumnColumnLookupBaseLookupExternalColumnColumnDateBase,
813
+ ColumnColumnLookupBaseLookupExternalColumnColumnEditorBase,
814
+ ColumnColumnLookupBaseLookupExternalColumnColumnExpressionBase,
815
+ ColumnColumnLookupBaseLookupExternalColumnColumnFileBase,
816
+ ColumnColumnLookupBaseLookupExternalColumnColumnFloatBase,
817
+ ColumnColumnLookupBaseLookupExternalColumnColumnIntegerBase,
818
+ ColumnColumnLookupBaseLookupExternalColumnColumnReferenceBase,
819
+ ColumnColumnLookupBaseLookupExternalColumnColumnSelectBase,
820
+ ColumnColumnLookupBaseLookupExternalColumnColumnTextBase,
821
+ ColumnColumnLookupBaseLookupExternalColumnColumnURLBase,
822
+ ColumnColumnLookupBaseLookupExternalColumnColumnUserBase,
823
+ ]
824
+
825
+
826
+ class ColumnColumnLookupBase(TypedDict, total=False):
827
+ lookup_external_column: Required[
828
+ Annotated[ColumnColumnLookupBaseLookupExternalColumn, PropertyInfo(alias="lookupExternalColumn")]
829
+ ]
830
+
831
+ lookup_external_column_id: Required[Annotated[str, PropertyInfo(alias="lookupExternalColumnId")]]
832
+
833
+ lookup_source_column_id: Required[Annotated[str, PropertyInfo(alias="lookupSourceColumnId")]]
834
+
835
+ type: Required[Literal["lookup"]]
836
+
837
+ cardinality: Literal["one", "many"]
838
+
839
+ cell_json_schema: Annotated[object, PropertyInfo(alias="cellJsonSchema")]
840
+
841
+ enabled_viewers: Annotated[
842
+ List[Literal["code", "html", "image", "molecule", "notebook", "sequence", "smiles", "spreadsheet"]],
843
+ PropertyInfo(alias="enabledViewers"),
844
+ ]
845
+
846
+ inline_viewer: Annotated[Literal["molecule2d"], PropertyInfo(alias="inlineViewer")]
847
+
848
+ is_required: Annotated[bool, PropertyInfo(alias="isRequired")]
849
+
850
+ json_field: Annotated[str, PropertyInfo(alias="jsonField")]
851
+
852
+ name: str
853
+
854
+ system_type: Annotated[Literal["name", "bodyDocument"], PropertyInfo(alias="systemType")]
855
+
856
+
857
+ Column: TypeAlias = Union[
858
+ ColumnColumnBooleanBase,
859
+ ColumnColumnDateBase,
860
+ ColumnColumnEditorBase,
861
+ ColumnColumnExpressionBase,
862
+ ColumnColumnFileBase,
863
+ ColumnColumnFloatBase,
864
+ ColumnColumnIntegerBase,
865
+ ColumnColumnReferenceBase,
866
+ ColumnColumnSelectBase,
867
+ ColumnColumnTextBase,
868
+ ColumnColumnURLBase,
869
+ ColumnColumnUserBase,
870
+ ColumnColumnLookupBase,
871
+ ]