workload_result.py 939 B

12345678910111213141516171819202122232425262728
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. from materialize.scalability.df.df_details import DfDetails
  10. from materialize.scalability.df.df_totals import DfTotals
  11. from materialize.scalability.endpoint.endpoint import Endpoint
  12. from materialize.scalability.workload.workload import Workload
  13. class WorkloadResult:
  14. def __init__(
  15. self,
  16. workload: Workload,
  17. endpoint: Endpoint,
  18. df_totals: DfTotals,
  19. df_details: DfDetails,
  20. ):
  21. self.workload = workload
  22. self.endpoint = endpoint
  23. self.df_totals = df_totals
  24. self.df_details = df_details