Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26223,9 +26223,11 @@ components:
description: Schema defining the structure and columns of the reference table.
properties:
fields:
description: The schema fields.
description: The schema fields. Maximum of 200 columns.
items:
$ref: "#/components/schemas/CreateTableRequestDataAttributesSchemaFieldsItems"
maxItems: 200
minItems: 1
type: array
primary_keys:
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
Expand Down Expand Up @@ -26488,13 +26490,14 @@ components:
description: Upload configuration specifying how data is uploaded by the user, and properties of the table to associate the upload with.
properties:
headers:
description: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file.
description: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file. Maximum of 200 columns.
example:
- "field_1"
- "field_2"
items:
description: A column header name from the CSV file.
type: string
maxItems: 200
type: array
part_count:
description: Number of parts to split the file into for multipart upload.
Expand Down Expand Up @@ -80962,9 +80965,11 @@ components:
description: Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed.
properties:
fields:
description: The schema fields.
description: The schema fields. Maximum of 200 columns.
items:
$ref: "#/components/schemas/PatchTableRequestDataAttributesSchemaFieldsItems"
maxItems: 200
minItems: 1
type: array
primary_keys:
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows. Primary keys cannot be changed after table creation.
Expand Down Expand Up @@ -110124,9 +110129,11 @@ components:
description: Schema defining the structure and columns of the reference table.
properties:
fields:
description: The schema fields.
description: The schema fields. Maximum of 200 columns.
items:
$ref: "#/components/schemas/TableResultV2DataAttributesSchemaFieldsItems"
maxItems: 200
minItems: 1
type: array
primary_keys:
description: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@


class CreateTableRequestDataAttributesSchema(ModelNormal):
validations = {
"fields": {
"max_items": 200,
"min_items": 1,
},
}

@cached_property
def openapi_types(_):
from datadog_api_client.v2.model.create_table_request_data_attributes_schema_fields_items import (
Expand All @@ -40,7 +47,7 @@ def __init__(
"""
Schema defining the structure and columns of the reference table.

:param fields: The schema fields.
:param fields: The schema fields. Maximum of 200 columns.
:type fields: [CreateTableRequestDataAttributesSchemaFieldsItems]

:param primary_keys: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

class CreateUploadRequestDataAttributes(ModelNormal):
validations = {
"headers": {
"max_items": 200,
},
"part_count": {
"inclusive_maximum": 20,
},
Expand All @@ -38,7 +41,7 @@ def __init__(self_, headers: List[str], part_count: int, part_size: int, table_n
"""
Upload configuration specifying how data is uploaded by the user, and properties of the table to associate the upload with.

:param headers: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file.
:param headers: The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file. Maximum of 200 columns.
:type headers: [str]

:param part_count: Number of parts to split the file into for multipart upload.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@


class PatchTableRequestDataAttributesSchema(ModelNormal):
validations = {
"fields": {
"max_items": 200,
"min_items": 1,
},
}

@cached_property
def openapi_types(_):
from datadog_api_client.v2.model.patch_table_request_data_attributes_schema_fields_items import (
Expand All @@ -40,7 +47,7 @@ def __init__(
"""
Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed.

:param fields: The schema fields.
:param fields: The schema fields. Maximum of 200 columns.
:type fields: [PatchTableRequestDataAttributesSchemaFieldsItems]

:param primary_keys: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows. Primary keys cannot be changed after table creation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@


class TableResultV2DataAttributesSchema(ModelNormal):
validations = {
"fields": {
"max_items": 200,
"min_items": 1,
},
}

@cached_property
def openapi_types(_):
from datadog_api_client.v2.model.table_result_v2_data_attributes_schema_fields_items import (
Expand All @@ -38,7 +45,7 @@ def __init__(self_, fields: List[TableResultV2DataAttributesSchemaFieldsItems],
"""
Schema defining the structure and columns of the reference table.

:param fields: The schema fields.
:param fields: The schema fields. Maximum of 200 columns.
:type fields: [TableResultV2DataAttributesSchemaFieldsItems]

:param primary_keys: List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
Expand Down
Loading