eval-studio-client 1.1.6a3__py3-none-any.whl → 1.2.0a2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. eval_studio_client/api/__init__.py +20 -0
  2. eval_studio_client/api/api/__init__.py +1 -0
  3. eval_studio_client/api/api/dashboard_service_api.py +1134 -73
  4. eval_studio_client/api/api/info_service_api.py +240 -0
  5. eval_studio_client/api/api/test_service_api.py +1233 -172
  6. eval_studio_client/api/api/workflow_result_service_api.py +1057 -0
  7. eval_studio_client/api/api/workflow_service_api.py +1125 -64
  8. eval_studio_client/api/docs/DashboardServiceApi.md +272 -0
  9. eval_studio_client/api/docs/InfoServiceApi.md +63 -0
  10. eval_studio_client/api/docs/RequiredTheUpdatedWorkflowNode.md +2 -0
  11. eval_studio_client/api/docs/TestServiceApi.md +268 -0
  12. eval_studio_client/api/docs/TestServiceGrantTestAccessRequest.md +30 -0
  13. eval_studio_client/api/docs/TestServiceRevokeTestAccessRequest.md +30 -0
  14. eval_studio_client/api/docs/V1GetStatsResponse.md +29 -0
  15. eval_studio_client/api/docs/V1GetWorkflowResultCorpusPatchResponse.md +29 -0
  16. eval_studio_client/api/docs/V1GetWorkflowResultReportResponse.md +29 -0
  17. eval_studio_client/api/docs/V1GetWorkflowResultSummaryResponse.md +32 -0
  18. eval_studio_client/api/docs/V1GetWorkflowResultSystemPromptPatchResponse.md +29 -0
  19. eval_studio_client/api/docs/V1Info.md +1 -0
  20. eval_studio_client/api/docs/V1ListDashboardAccessResponse.md +29 -0
  21. eval_studio_client/api/docs/V1ListDashboardsSharedWithMeResponse.md +29 -0
  22. eval_studio_client/api/docs/V1ListTestAccessResponse.md +29 -0
  23. eval_studio_client/api/docs/V1ListTestsSharedWithMeResponse.md +29 -0
  24. eval_studio_client/api/docs/V1ListWorkflowAccessResponse.md +29 -0
  25. eval_studio_client/api/docs/V1ListWorkflowsSharedWithMeResponse.md +29 -0
  26. eval_studio_client/api/docs/V1Role.md +12 -0
  27. eval_studio_client/api/docs/V1RoleBinding.md +32 -0
  28. eval_studio_client/api/docs/V1Stats.md +31 -0
  29. eval_studio_client/api/docs/V1WorkflowNode.md +2 -0
  30. eval_studio_client/api/docs/V1WorkflowNodeResultStatus.md +12 -0
  31. eval_studio_client/api/docs/V1WorkflowResultArtifactType.md +12 -0
  32. eval_studio_client/api/docs/WorkflowResultServiceApi.md +280 -0
  33. eval_studio_client/api/docs/WorkflowServiceApi.md +277 -5
  34. eval_studio_client/api/docs/WorkflowServiceRevokeWorkflowAccessRequest.md +30 -0
  35. eval_studio_client/api/models/__init__.py +19 -0
  36. eval_studio_client/api/models/required_the_updated_workflow_node.py +10 -3
  37. eval_studio_client/api/models/test_service_grant_test_access_request.py +90 -0
  38. eval_studio_client/api/models/test_service_revoke_test_access_request.py +90 -0
  39. eval_studio_client/api/models/v1_get_stats_response.py +91 -0
  40. eval_studio_client/api/models/v1_get_workflow_result_corpus_patch_response.py +87 -0
  41. eval_studio_client/api/models/v1_get_workflow_result_report_response.py +87 -0
  42. eval_studio_client/api/models/v1_get_workflow_result_summary_response.py +94 -0
  43. eval_studio_client/api/models/v1_get_workflow_result_system_prompt_patch_response.py +87 -0
  44. eval_studio_client/api/models/v1_info.py +4 -2
  45. eval_studio_client/api/models/v1_list_dashboard_access_response.py +95 -0
  46. eval_studio_client/api/models/v1_list_dashboards_shared_with_me_response.py +95 -0
  47. eval_studio_client/api/models/v1_list_test_access_response.py +95 -0
  48. eval_studio_client/api/models/v1_list_tests_shared_with_me_response.py +95 -0
  49. eval_studio_client/api/models/v1_list_workflow_access_response.py +95 -0
  50. eval_studio_client/api/models/v1_list_workflows_shared_with_me_response.py +95 -0
  51. eval_studio_client/api/models/v1_role.py +38 -0
  52. eval_studio_client/api/models/v1_role_binding.py +92 -0
  53. eval_studio_client/api/models/v1_stats.py +99 -0
  54. eval_studio_client/api/models/v1_workflow_node.py +10 -3
  55. eval_studio_client/api/models/v1_workflow_node_result_status.py +40 -0
  56. eval_studio_client/api/models/v1_workflow_result_artifact_type.py +40 -0
  57. eval_studio_client/api/models/workflow_service_revoke_workflow_access_request.py +90 -0
  58. eval_studio_client/api/test/test_dashboard_service_api.py +28 -0
  59. eval_studio_client/api/test/test_info_service_api.py +6 -0
  60. eval_studio_client/api/test/test_required_the_updated_workflow_node.py +3 -1
  61. eval_studio_client/api/test/test_test_service_api.py +24 -0
  62. eval_studio_client/api/test/test_test_service_grant_test_access_request.py +52 -0
  63. eval_studio_client/api/test/test_test_service_revoke_test_access_request.py +52 -0
  64. eval_studio_client/api/test/test_v1_batch_get_workflow_nodes_response.py +3 -1
  65. eval_studio_client/api/test/test_v1_create_workflow_node_response.py +3 -1
  66. eval_studio_client/api/test/test_v1_delete_workflow_node_response.py +3 -1
  67. eval_studio_client/api/test/test_v1_get_info_response.py +2 -1
  68. eval_studio_client/api/test/test_v1_get_stats_response.py +53 -0
  69. eval_studio_client/api/test/test_v1_get_workflow_node_response.py +3 -1
  70. eval_studio_client/api/test/test_v1_get_workflow_result_corpus_patch_response.py +51 -0
  71. eval_studio_client/api/test/test_v1_get_workflow_result_report_response.py +51 -0
  72. eval_studio_client/api/test/test_v1_get_workflow_result_summary_response.py +58 -0
  73. eval_studio_client/api/test/test_v1_get_workflow_result_system_prompt_patch_response.py +51 -0
  74. eval_studio_client/api/test/test_v1_info.py +2 -1
  75. eval_studio_client/api/test/test_v1_init_workflow_node_response.py +3 -1
  76. eval_studio_client/api/test/test_v1_list_dashboard_access_response.py +56 -0
  77. eval_studio_client/api/test/test_v1_list_dashboards_shared_with_me_response.py +69 -0
  78. eval_studio_client/api/test/test_v1_list_test_access_response.py +56 -0
  79. eval_studio_client/api/test/test_v1_list_tests_shared_with_me_response.py +70 -0
  80. eval_studio_client/api/test/test_v1_list_workflow_access_response.py +56 -0
  81. eval_studio_client/api/test/test_v1_list_workflow_dependencies_response.py +3 -1
  82. eval_studio_client/api/test/test_v1_list_workflows_shared_with_me_response.py +95 -0
  83. eval_studio_client/api/test/test_v1_reset_workflow_node_response.py +3 -1
  84. eval_studio_client/api/test/test_v1_role.py +33 -0
  85. eval_studio_client/api/test/test_v1_role_binding.py +53 -0
  86. eval_studio_client/api/test/test_v1_stats.py +52 -0
  87. eval_studio_client/api/test/test_v1_update_workflow_node_response.py +3 -1
  88. eval_studio_client/api/test/test_v1_workflow_node.py +3 -1
  89. eval_studio_client/api/test/test_v1_workflow_node_result_status.py +33 -0
  90. eval_studio_client/api/test/test_v1_workflow_result_artifact_type.py +33 -0
  91. eval_studio_client/api/test/test_workflow_result_service_api.py +59 -0
  92. eval_studio_client/api/test/test_workflow_service_api.py +28 -0
  93. eval_studio_client/api/test/test_workflow_service_revoke_workflow_access_request.py +52 -0
  94. eval_studio_client/gen/openapiv2/eval_studio.swagger.json +891 -15
  95. {eval_studio_client-1.1.6a3.dist-info → eval_studio_client-1.2.0a2.dist-info}/METADATA +1 -1
  96. {eval_studio_client-1.1.6a3.dist-info → eval_studio_client-1.2.0a2.dist-info}/RECORD +97 -37
  97. {eval_studio_client-1.1.6a3.dist-info → eval_studio_client-1.2.0a2.dist-info}/WHEEL +0 -0
@@ -0,0 +1,52 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.test_service_revoke_test_access_request import TestServiceRevokeTestAccessRequest
18
+
19
+ class TestTestServiceRevokeTestAccessRequest(unittest.TestCase):
20
+ """TestServiceRevokeTestAccessRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> TestServiceRevokeTestAccessRequest:
29
+ """Test TestServiceRevokeTestAccessRequest
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `TestServiceRevokeTestAccessRequest`
34
+ """
35
+ model = TestServiceRevokeTestAccessRequest()
36
+ if include_optional:
37
+ return TestServiceRevokeTestAccessRequest(
38
+ subject = '',
39
+ role = 'ROLE_UNSPECIFIED'
40
+ )
41
+ else:
42
+ return TestServiceRevokeTestAccessRequest(
43
+ )
44
+ """
45
+
46
+ def testTestServiceRevokeTestAccessRequest(self):
47
+ """Test TestServiceRevokeTestAccessRequest"""
48
+ # inst_req_only = self.make_instance(include_optional=False)
49
+ # inst_req_and_optional = self.make_instance(include_optional=True)
50
+
51
+ if __name__ == '__main__':
52
+ unittest.main()
@@ -67,7 +67,9 @@ class TestV1BatchGetWorkflowNodesResponse(unittest.TestCase):
67
67
  status = 'WORKFLOW_NODE_STATUS_UNSPECIFIED',
68
68
  attributes = eval_studio_client.api.models.v1_workflow_node_attributes.v1WorkflowNodeAttributes(
69
69
  can_delete = True, ),
70
- processed_by_operation = '', )
70
+ processed_by_operation = '',
71
+ result_status = 'WORKFLOW_NODE_RESULT_STATUS_UNSPECIFIED',
72
+ stale = True, )
71
73
  ]
72
74
  )
73
75
  else:
@@ -66,7 +66,9 @@ class TestV1CreateWorkflowNodeResponse(unittest.TestCase):
66
66
  status = 'WORKFLOW_NODE_STATUS_UNSPECIFIED',
67
67
  attributes = eval_studio_client.api.models.v1_workflow_node_attributes.v1WorkflowNodeAttributes(
68
68
  can_delete = True, ),
69
- processed_by_operation = '', )
69
+ processed_by_operation = '',
70
+ result_status = 'WORKFLOW_NODE_RESULT_STATUS_UNSPECIFIED',
71
+ stale = True, )
70
72
  )
71
73
  else:
72
74
  return V1CreateWorkflowNodeResponse(
@@ -66,7 +66,9 @@ class TestV1DeleteWorkflowNodeResponse(unittest.TestCase):
66
66
  status = 'WORKFLOW_NODE_STATUS_UNSPECIFIED',
67
67
  attributes = eval_studio_client.api.models.v1_workflow_node_attributes.v1WorkflowNodeAttributes(
68
68
  can_delete = True, ),
69
- processed_by_operation = '', )
69
+ processed_by_operation = '',
70
+ result_status = 'WORKFLOW_NODE_RESULT_STATUS_UNSPECIFIED',
71
+ stale = True, )
70
72
  )
71
73
  else:
72
74
  return V1DeleteWorkflowNodeResponse(
@@ -49,7 +49,8 @@ class TestV1GetInfoResponse(unittest.TestCase):
49
49
  ''
50
50
  ],
51
51
  h2o_cloud_url = '',
52
- public_instance = True, )
52
+ public_instance = True,
53
+ sharing_enabled = True, )
53
54
  )
54
55
  else:
55
56
  return V1GetInfoResponse(
@@ -0,0 +1,53 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_get_stats_response import V1GetStatsResponse
18
+
19
+ class TestV1GetStatsResponse(unittest.TestCase):
20
+ """V1GetStatsResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1GetStatsResponse:
29
+ """Test V1GetStatsResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1GetStatsResponse`
34
+ """
35
+ model = V1GetStatsResponse()
36
+ if include_optional:
37
+ return V1GetStatsResponse(
38
+ stats = eval_studio_client.api.models.v1_stats.v1Stats(
39
+ topic_modeling_pending_jobs = '',
40
+ test_validation_pending_jobs = '', )
41
+ )
42
+ else:
43
+ return V1GetStatsResponse(
44
+ )
45
+ """
46
+
47
+ def testV1GetStatsResponse(self):
48
+ """Test V1GetStatsResponse"""
49
+ # inst_req_only = self.make_instance(include_optional=False)
50
+ # inst_req_and_optional = self.make_instance(include_optional=True)
51
+
52
+ if __name__ == '__main__':
53
+ unittest.main()
@@ -66,7 +66,9 @@ class TestV1GetWorkflowNodeResponse(unittest.TestCase):
66
66
  status = 'WORKFLOW_NODE_STATUS_UNSPECIFIED',
67
67
  attributes = eval_studio_client.api.models.v1_workflow_node_attributes.v1WorkflowNodeAttributes(
68
68
  can_delete = True, ),
69
- processed_by_operation = '', )
69
+ processed_by_operation = '',
70
+ result_status = 'WORKFLOW_NODE_RESULT_STATUS_UNSPECIFIED',
71
+ stale = True, )
70
72
  )
71
73
  else:
72
74
  return V1GetWorkflowNodeResponse(
@@ -0,0 +1,51 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_get_workflow_result_corpus_patch_response import V1GetWorkflowResultCorpusPatchResponse
18
+
19
+ class TestV1GetWorkflowResultCorpusPatchResponse(unittest.TestCase):
20
+ """V1GetWorkflowResultCorpusPatchResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1GetWorkflowResultCorpusPatchResponse:
29
+ """Test V1GetWorkflowResultCorpusPatchResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1GetWorkflowResultCorpusPatchResponse`
34
+ """
35
+ model = V1GetWorkflowResultCorpusPatchResponse()
36
+ if include_optional:
37
+ return V1GetWorkflowResultCorpusPatchResponse(
38
+ patch_html = ''
39
+ )
40
+ else:
41
+ return V1GetWorkflowResultCorpusPatchResponse(
42
+ )
43
+ """
44
+
45
+ def testV1GetWorkflowResultCorpusPatchResponse(self):
46
+ """Test V1GetWorkflowResultCorpusPatchResponse"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()
@@ -0,0 +1,51 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_get_workflow_result_report_response import V1GetWorkflowResultReportResponse
18
+
19
+ class TestV1GetWorkflowResultReportResponse(unittest.TestCase):
20
+ """V1GetWorkflowResultReportResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1GetWorkflowResultReportResponse:
29
+ """Test V1GetWorkflowResultReportResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1GetWorkflowResultReportResponse`
34
+ """
35
+ model = V1GetWorkflowResultReportResponse()
36
+ if include_optional:
37
+ return V1GetWorkflowResultReportResponse(
38
+ report_html = ''
39
+ )
40
+ else:
41
+ return V1GetWorkflowResultReportResponse(
42
+ )
43
+ """
44
+
45
+ def testV1GetWorkflowResultReportResponse(self):
46
+ """Test V1GetWorkflowResultReportResponse"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()
@@ -0,0 +1,58 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_get_workflow_result_summary_response import V1GetWorkflowResultSummaryResponse
18
+
19
+ class TestV1GetWorkflowResultSummaryResponse(unittest.TestCase):
20
+ """V1GetWorkflowResultSummaryResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1GetWorkflowResultSummaryResponse:
29
+ """Test V1GetWorkflowResultSummaryResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1GetWorkflowResultSummaryResponse`
34
+ """
35
+ model = V1GetWorkflowResultSummaryResponse()
36
+ if include_optional:
37
+ return V1GetWorkflowResultSummaryResponse(
38
+ intro = '',
39
+ bullets = [
40
+ ''
41
+ ],
42
+ actions = '',
43
+ artifact_types = [
44
+ 'WORKFLOW_RESULT_ARTIFACT_TYPE_UNSPECIFIED'
45
+ ]
46
+ )
47
+ else:
48
+ return V1GetWorkflowResultSummaryResponse(
49
+ )
50
+ """
51
+
52
+ def testV1GetWorkflowResultSummaryResponse(self):
53
+ """Test V1GetWorkflowResultSummaryResponse"""
54
+ # inst_req_only = self.make_instance(include_optional=False)
55
+ # inst_req_and_optional = self.make_instance(include_optional=True)
56
+
57
+ if __name__ == '__main__':
58
+ unittest.main()
@@ -0,0 +1,51 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_get_workflow_result_system_prompt_patch_response import V1GetWorkflowResultSystemPromptPatchResponse
18
+
19
+ class TestV1GetWorkflowResultSystemPromptPatchResponse(unittest.TestCase):
20
+ """V1GetWorkflowResultSystemPromptPatchResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1GetWorkflowResultSystemPromptPatchResponse:
29
+ """Test V1GetWorkflowResultSystemPromptPatchResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1GetWorkflowResultSystemPromptPatchResponse`
34
+ """
35
+ model = V1GetWorkflowResultSystemPromptPatchResponse()
36
+ if include_optional:
37
+ return V1GetWorkflowResultSystemPromptPatchResponse(
38
+ patch_text = ''
39
+ )
40
+ else:
41
+ return V1GetWorkflowResultSystemPromptPatchResponse(
42
+ )
43
+ """
44
+
45
+ def testV1GetWorkflowResultSystemPromptPatchResponse(self):
46
+ """Test V1GetWorkflowResultSystemPromptPatchResponse"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()
@@ -48,7 +48,8 @@ class TestV1Info(unittest.TestCase):
48
48
  ''
49
49
  ],
50
50
  h2o_cloud_url = '',
51
- public_instance = True
51
+ public_instance = True,
52
+ sharing_enabled = True
52
53
  )
53
54
  else:
54
55
  return V1Info(
@@ -66,7 +66,9 @@ class TestV1InitWorkflowNodeResponse(unittest.TestCase):
66
66
  status = 'WORKFLOW_NODE_STATUS_UNSPECIFIED',
67
67
  attributes = eval_studio_client.api.models.v1_workflow_node_attributes.v1WorkflowNodeAttributes(
68
68
  can_delete = True, ),
69
- processed_by_operation = '', )
69
+ processed_by_operation = '',
70
+ result_status = 'WORKFLOW_NODE_RESULT_STATUS_UNSPECIFIED',
71
+ stale = True, )
70
72
  )
71
73
  else:
72
74
  return V1InitWorkflowNodeResponse(
@@ -0,0 +1,56 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_list_dashboard_access_response import V1ListDashboardAccessResponse
18
+
19
+ class TestV1ListDashboardAccessResponse(unittest.TestCase):
20
+ """V1ListDashboardAccessResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1ListDashboardAccessResponse:
29
+ """Test V1ListDashboardAccessResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1ListDashboardAccessResponse`
34
+ """
35
+ model = V1ListDashboardAccessResponse()
36
+ if include_optional:
37
+ return V1ListDashboardAccessResponse(
38
+ role_bindings = [
39
+ eval_studio_client.api.models.v1_role_binding.v1RoleBinding(
40
+ subject = '',
41
+ role = 'ROLE_UNSPECIFIED',
42
+ resource = '', )
43
+ ]
44
+ )
45
+ else:
46
+ return V1ListDashboardAccessResponse(
47
+ )
48
+ """
49
+
50
+ def testV1ListDashboardAccessResponse(self):
51
+ """Test V1ListDashboardAccessResponse"""
52
+ # inst_req_only = self.make_instance(include_optional=False)
53
+ # inst_req_and_optional = self.make_instance(include_optional=True)
54
+
55
+ if __name__ == '__main__':
56
+ unittest.main()
@@ -0,0 +1,69 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_list_dashboards_shared_with_me_response import V1ListDashboardsSharedWithMeResponse
18
+
19
+ class TestV1ListDashboardsSharedWithMeResponse(unittest.TestCase):
20
+ """V1ListDashboardsSharedWithMeResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1ListDashboardsSharedWithMeResponse:
29
+ """Test V1ListDashboardsSharedWithMeResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1ListDashboardsSharedWithMeResponse`
34
+ """
35
+ model = V1ListDashboardsSharedWithMeResponse()
36
+ if include_optional:
37
+ return V1ListDashboardsSharedWithMeResponse(
38
+ dashboards = [
39
+ eval_studio_client.api.models.v1_dashboard.v1Dashboard(
40
+ name = '',
41
+ create_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
42
+ creator = '',
43
+ update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
44
+ updater = '',
45
+ delete_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
46
+ deleter = '',
47
+ display_name = '',
48
+ description = '',
49
+ status = 'DASHBOARD_STATUS_UNSPECIFIED',
50
+ leaderboards = [
51
+ ''
52
+ ],
53
+ create_operation = '',
54
+ demo = True,
55
+ type = 'DASHBOARD_TYPE_UNSPECIFIED', )
56
+ ]
57
+ )
58
+ else:
59
+ return V1ListDashboardsSharedWithMeResponse(
60
+ )
61
+ """
62
+
63
+ def testV1ListDashboardsSharedWithMeResponse(self):
64
+ """Test V1ListDashboardsSharedWithMeResponse"""
65
+ # inst_req_only = self.make_instance(include_optional=False)
66
+ # inst_req_and_optional = self.make_instance(include_optional=True)
67
+
68
+ if __name__ == '__main__':
69
+ unittest.main()
@@ -0,0 +1,56 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_list_test_access_response import V1ListTestAccessResponse
18
+
19
+ class TestV1ListTestAccessResponse(unittest.TestCase):
20
+ """V1ListTestAccessResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1ListTestAccessResponse:
29
+ """Test V1ListTestAccessResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1ListTestAccessResponse`
34
+ """
35
+ model = V1ListTestAccessResponse()
36
+ if include_optional:
37
+ return V1ListTestAccessResponse(
38
+ role_bindings = [
39
+ eval_studio_client.api.models.v1_role_binding.v1RoleBinding(
40
+ subject = '',
41
+ role = 'ROLE_UNSPECIFIED',
42
+ resource = '', )
43
+ ]
44
+ )
45
+ else:
46
+ return V1ListTestAccessResponse(
47
+ )
48
+ """
49
+
50
+ def testV1ListTestAccessResponse(self):
51
+ """Test V1ListTestAccessResponse"""
52
+ # inst_req_only = self.make_instance(include_optional=False)
53
+ # inst_req_and_optional = self.make_instance(include_optional=True)
54
+
55
+ if __name__ == '__main__':
56
+ unittest.main()
@@ -0,0 +1,70 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ai/h2o/eval_studio/v1/insight.proto
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: version not set
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from eval_studio_client.api.models.v1_list_tests_shared_with_me_response import V1ListTestsSharedWithMeResponse
18
+
19
+ class TestV1ListTestsSharedWithMeResponse(unittest.TestCase):
20
+ """V1ListTestsSharedWithMeResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> V1ListTestsSharedWithMeResponse:
29
+ """Test V1ListTestsSharedWithMeResponse
30
+ include_option is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `V1ListTestsSharedWithMeResponse`
34
+ """
35
+ model = V1ListTestsSharedWithMeResponse()
36
+ if include_optional:
37
+ return V1ListTestsSharedWithMeResponse(
38
+ tests = [
39
+ eval_studio_client.api.models.v1_test.v1Test(
40
+ name = '',
41
+ create_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
42
+ creator = '',
43
+ update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
44
+ updater = '',
45
+ delete_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
46
+ deleter = '',
47
+ display_name = '',
48
+ description = '',
49
+ documents = [
50
+ ''
51
+ ],
52
+ tags = [
53
+ ''
54
+ ],
55
+ demo = True,
56
+ type = 'TEST_TYPE_UNSPECIFIED', )
57
+ ]
58
+ )
59
+ else:
60
+ return V1ListTestsSharedWithMeResponse(
61
+ )
62
+ """
63
+
64
+ def testV1ListTestsSharedWithMeResponse(self):
65
+ """Test V1ListTestsSharedWithMeResponse"""
66
+ # inst_req_only = self.make_instance(include_optional=False)
67
+ # inst_req_and_optional = self.make_instance(include_optional=True)
68
+
69
+ if __name__ == '__main__':
70
+ unittest.main()