CompleteRegistration

class openapi_client.models.complete_registration.CompleteRegistration(**data)[source]

Bases: BaseModel

dataset_schema: List[ColumnNameAndType]
record_keys: Optional[List[StrictStr]]
latest_record_indicator: Optional[ColumnNameAndType]
partition_keys: Optional[List[Dict[str, Any]]]
sort_type: Optional[StrictStr]
dist_type: Optional[StrictStr]
sort_keys: Optional[List[StrictStr]]
dist_key: Optional[StrictStr]
primary_keys: Optional[List[StrictStr]]
unique_columns: Optional[List[StrictStr]]
is_identity_needed: Optional[StrictStr]
identity_attribute_values: Optional[List[StrictStr]]
data_conversion_params: Optional[Dict[str, Any]]
partition_key: Optional[ColumnNameAndType]
sort_key: Optional[ColumnNameAndType]
local_secondary_indexes: Optional[List[Dict[str, Any]]]
global_secondary_indexes: Optional[List[Dict[str, Any]]]
storage_type: Optional[StrictStr]
primary_key: Optional[StrictStr]
precombine_key: Optional[StrictStr]
dq_constraints: Optional[List[Dict[str, Any]]]
are_auto_constraint_suggestions_enabled: Optional[StrictBool]
model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

to_str()[source]

Returns the string representation of the model using alias

Return type:

str

to_json()[source]

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)[source]

Create an instance of CompleteRegistration from a JSON string

Return type:

Optional[Self]

to_dict()[source]

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)[source]

Create an instance of CompleteRegistration from a dict

Return type:

Optional[Self]

model_fields: ClassVar[dict[str, FieldInfo]] = {'are_auto_constraint_suggestions_enabled': FieldInfo(annotation=Union[Annotated[bool, Strict(strict=True)], NoneType], required=False, alias='AreAutoConstraintSuggestionsEnabled', alias_priority=2), 'data_conversion_params': FieldInfo(annotation=Union[Dict[str, Any], NoneType], required=False, alias='DataConversionParams', alias_priority=2), 'dataset_schema': FieldInfo(annotation=List[ColumnNameAndType], required=True, alias='DatasetSchema', alias_priority=2), 'dist_key': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DistKey', alias_priority=2), 'dist_type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='DistType', alias_priority=2), 'dq_constraints': FieldInfo(annotation=Union[List[Dict[str, Any]], NoneType], required=False, alias='DqConstraints', alias_priority=2), 'global_secondary_indexes': FieldInfo(annotation=Union[List[Dict[str, Any]], NoneType], required=False, alias='GlobalSecondaryIndexes', alias_priority=2), 'identity_attribute_values': FieldInfo(annotation=Union[List[Annotated[str, Strict(strict=True)]], NoneType], required=False, alias='IdentityAttributeValues', alias_priority=2), 'is_identity_needed': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='IsIdentityNeeded', alias_priority=2), 'latest_record_indicator': FieldInfo(annotation=Union[ColumnNameAndType, NoneType], required=False, alias='LatestRecordIndicator', alias_priority=2), 'local_secondary_indexes': FieldInfo(annotation=Union[List[Dict[str, Any]], NoneType], required=False, alias='LocalSecondaryIndexes', alias_priority=2), 'partition_key': FieldInfo(annotation=Union[ColumnNameAndType, NoneType], required=False, alias='PartitionKey', alias_priority=2), 'partition_keys': FieldInfo(annotation=Union[List[Dict[str, Any]], NoneType], required=False, alias='PartitionKeys', alias_priority=2), 'precombine_key': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='PrecombineKey', alias_priority=2), 'primary_key': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='PrimaryKey', alias_priority=2), 'primary_keys': FieldInfo(annotation=Union[List[Annotated[str, Strict(strict=True)]], NoneType], required=False, alias='PrimaryKeys', alias_priority=2), 'record_keys': FieldInfo(annotation=Union[List[Annotated[str, Strict(strict=True)]], NoneType], required=False, alias='RecordKeys', alias_priority=2), 'sort_key': FieldInfo(annotation=Union[ColumnNameAndType, NoneType], required=False, alias='SortKey', alias_priority=2), 'sort_keys': FieldInfo(annotation=Union[List[Annotated[str, Strict(strict=True)]], NoneType], required=False, alias='SortKeys', alias_priority=2), 'sort_type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='SortType', alias_priority=2), 'storage_type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, alias='StorageType', alias_priority=2), 'unique_columns': FieldInfo(annotation=Union[List[Annotated[str, Strict(strict=True)]], NoneType], required=False, alias='UniqueColumns', alias_priority=2)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

model_post_init(__context)

This function is meant to behave like a BaseModel method to initialise private attributes.

It takes context as an argument since that’s what pydantic-core passes when calling it.

Parameters:
  • self (BaseModel) – The BaseModel instance.

  • __context (Any) – The context.

Return type:

None