Progress
#
- class ansys.additive.core.progress_handler.Progress(/, **data: Any)#
Bases:
pydantic.BaseModel
Progress information.
Overview#
Create a |
|
Create a |
Import detail#
from ansys.additive.core.progress_handler import Progress
Attribute detail#
- Progress.state: ProgressState#
Method detail#
- classmethod Progress.from_proto_msg(sim_id: str, progress: ansys.api.additive.v0.additive_domain_pb2.Progress)#
Create a
Progress
object from a progress protobuf message.
- classmethod Progress.from_operation_metadata(metadata: ansys.api.additive.v0.additive_operations_pb2.OperationMetadata)#
Create a
Progress
object from an operation metadata (long-running operations) protobuf message.
- Progress.__str__()#