File tree Expand file tree Collapse file tree 5 files changed +132
-85
lines changed
packages/models-library/src/models_library/api_schemas_webserver
web/server/src/simcore_service_webserver/api/v0 Expand file tree Collapse file tree 5 files changed +132
-85
lines changed Original file line number Diff line number Diff line change 66from ..projects import ProjectID
77from ..projects_nodes_io import NodeID
88from ..resource_tracker import (
9+ CreditTransactionStatus ,
910 HardwareInfo ,
1011 PricingPlanClassification ,
1112 PricingPlanId ,
2728
2829class ServiceRunGet (
2930 BaseModel
30- ): # NOTE: this is already in use so I didnt modidy inheritance from OutputSchema
31+ ): # NOTE: this is already in use so I didnt modify inheritance from OutputSchema
3132 service_run_id : ServiceRunID
3233 wallet_id : WalletID | None
3334 wallet_name : str | None
3435 user_id : UserID
36+ user_email : str
3537 project_id : ProjectID
3638 project_name : str
39+ project_tags : list [str ]
3740 node_id : NodeID
3841 node_name : str
3942 root_parent_project_id : ProjectID
@@ -44,6 +47,9 @@ class ServiceRunGet(
4447 started_at : datetime
4548 stopped_at : datetime | None
4649 service_run_status : ServiceRunStatus
50+ # Cost in credits
51+ credit_cost : Decimal | None
52+ transaction_status : CreditTransactionStatus | None
4753
4854
4955class PricingUnitGet (OutputSchema ):
You can’t perform that action at this time.
0 commit comments