CollectionsTablesPreviewTableDataBody

class pydelfini.delfini_core.models.collections_tables_preview_table_data_body.CollectionsTablesPreviewTableDataBody(parser, columns=Unset, dataview_definition=Unset, max_rows=25)[source]

Bases: object

CollectionsTablesPreviewTableDataBody model

Parameters:
parser

Example: {‘name’: ‘auto’}.

Type:

Union[‘ItemParser’, None]

columns
Type:

Union[List[‘ItemColumn’], None, Unset]

dataview_definition

PRQL or SQL code

Type:

Union[Unset, str]

max_rows

Default: 25.

Type:

Union[Unset, int]

Attributes

parser

columns

dataview_definition

max_rows

classmethod from_dict(src_dict)[source]

Create an instance of CollectionsTablesPreviewTableDataBody from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]