AlternateKeyInfo Class
Alternate key metadata for a Dataverse table.
Constructor
AlternateKeyInfo(metadata_id: str = '', schema_name: str = '', key_attributes: ~typing.List[str] = <factory>, status: str = '')
Parameters
| Name | Description |
|---|---|
|
metadata_id
Required
|
Key metadata GUID. |
|
schema_name
Required
|
Key schema name. |
|
key_attributes
|
List of column logical names that compose the key. Default value: <factory>
|
|
status
Required
|
Index creation status ( |
Methods
| from_api_response |
Create from raw EntityKeyMetadata API response. |
from_api_response
Create from raw EntityKeyMetadata API response.
from_api_response(response_data: Dict[str, Any]) -> AlternateKeyInfo
Parameters
| Name | Description |
|---|---|
|
response_data
Required
|
Raw key metadata dictionary from the Web API. |
Returns
| Type | Description |
|---|---|
Attributes
key_attributes
key_attributes: List[str]
metadata_id
metadata_id: str = ''
schema_name
schema_name: str = ''
status
status: str = ''