Results data classes¶
amsdal_glue.SchemaResult
dataclass
¶
Bases: ResultBase
Represents the result of a schema query operation.
Attributes:
Name | Type | Description |
---|---|---|
success |
bool
|
Indicates whether the operation was successful. |
message |
str | None
|
Optional message providing additional information about the result. |
exception |
Exception | None
|
Optional exception that was raised during the operation, if any. |
schemas |
list[Schema | None] | None
|
The schemas returned by the query operation, if any. |
amsdal_glue.DataResult
dataclass
¶
Bases: ResultBase
Represents the result of a data query operation.
Attributes:
Name | Type | Description |
---|---|---|
success |
bool
|
Indicates whether the operation was successful. |
message |
str | None
|
Optional message providing additional information about the result. |
exception |
Exception | None
|
Optional exception that was raised during the operation, if any. |
data |
list[Data] | None
|
The data returned by the query operation, if any. |
amsdal_glue.TransactionResult
dataclass
¶
Bases: ResultBase
Represents the result of a transaction operation.
Attributes:
Name | Type | Description |
---|---|---|
success |
bool
|
Indicates whether the operation was successful. |
message |
str | None
|
Optional message providing additional information about the result. |
exception |
Exception | None
|
Optional exception that was raised during the operation, if any. |
result |
Any
|
The result of the transaction operation, if any. |
amsdal_glue.LockResult
dataclass
¶
Bases: ResultBase
Represents the result of a lock operation.
Attributes:
Name | Type | Description |
---|---|---|
success |
bool
|
Indicates whether the operation was successful. |
message |
str | None
|
Optional message providing additional information about the result. |
exception |
Exception | None
|
Optional exception that was raised during the operation, if any. |
result |
Any
|
The result of the lock operation, if any. |
amsdal_glue_core.common.data_models.results.base.ResultBase
dataclass
¶
Base class for representing the result of an operation.
Attributes:
Name | Type | Description |
---|---|---|
success |
bool
|
Indicates whether the operation was successful. |
message |
str | None
|
Optional message providing additional information about the result. |
exception |
Exception | None
|
Optional exception that was raised during the operation, if any. |