eval-studio-client 1.1.6a4__py3-none-any.whl → 1.2.0__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 (106) hide show
  1. eval_studio_client/api/__init__.py +21 -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 +1075 -0
  7. eval_studio_client/api/api/workflow_service_api.py +1109 -48
  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/PerturbationServiceCreatePerturbationRequest.md +1 -1
  11. eval_studio_client/api/docs/RequiredTheUpdatedWorkflowNode.md +2 -0
  12. eval_studio_client/api/docs/TestServiceApi.md +268 -0
  13. eval_studio_client/api/docs/TestServiceGrantTestAccessRequest.md +30 -0
  14. eval_studio_client/api/docs/TestServiceRevokeTestAccessRequest.md +30 -0
  15. eval_studio_client/api/docs/V1CreatePerturbationResponse.md +1 -1
  16. eval_studio_client/api/docs/V1GetStatsResponse.md +29 -0
  17. eval_studio_client/api/docs/V1GetWorkflowResultCorpusPatchResponse.md +29 -0
  18. eval_studio_client/api/docs/V1GetWorkflowResultReportResponse.md +30 -0
  19. eval_studio_client/api/docs/V1GetWorkflowResultSummaryResponse.md +32 -0
  20. eval_studio_client/api/docs/V1GetWorkflowResultSystemPromptPatchResponse.md +29 -0
  21. eval_studio_client/api/docs/V1Info.md +2 -0
  22. eval_studio_client/api/docs/V1ListDashboardAccessResponse.md +29 -0
  23. eval_studio_client/api/docs/V1ListDashboardsSharedWithMeResponse.md +29 -0
  24. eval_studio_client/api/docs/V1ListTestAccessResponse.md +29 -0
  25. eval_studio_client/api/docs/V1ListTestsSharedWithMeResponse.md +29 -0
  26. eval_studio_client/api/docs/V1ListWorkflowAccessResponse.md +29 -0
  27. eval_studio_client/api/docs/V1ListWorkflowsSharedWithMeResponse.md +29 -0
  28. eval_studio_client/api/docs/V1Role.md +12 -0
  29. eval_studio_client/api/docs/V1RoleBinding.md +32 -0
  30. eval_studio_client/api/docs/V1Stats.md +32 -0
  31. eval_studio_client/api/docs/V1WorkflowNode.md +2 -0
  32. eval_studio_client/api/docs/V1WorkflowNodeResultStatus.md +12 -0
  33. eval_studio_client/api/docs/V1WorkflowResultArtifactType.md +12 -0
  34. eval_studio_client/api/docs/V1WorkflowResultReportFormat.md +11 -0
  35. eval_studio_client/api/docs/WorkflowResultServiceApi.md +282 -0
  36. eval_studio_client/api/docs/WorkflowServiceApi.md +272 -0
  37. eval_studio_client/api/docs/WorkflowServiceRevokeWorkflowAccessRequest.md +30 -0
  38. eval_studio_client/api/models/__init__.py +20 -0
  39. eval_studio_client/api/models/perturbation_service_create_perturbation_request.py +1 -1
  40. eval_studio_client/api/models/required_the_updated_workflow_node.py +10 -3
  41. eval_studio_client/api/models/test_service_grant_test_access_request.py +90 -0
  42. eval_studio_client/api/models/test_service_revoke_test_access_request.py +90 -0
  43. eval_studio_client/api/models/v1_create_perturbation_response.py +1 -1
  44. eval_studio_client/api/models/v1_get_stats_response.py +91 -0
  45. eval_studio_client/api/models/v1_get_workflow_result_corpus_patch_response.py +87 -0
  46. eval_studio_client/api/models/v1_get_workflow_result_report_response.py +89 -0
  47. eval_studio_client/api/models/v1_get_workflow_result_summary_response.py +94 -0
  48. eval_studio_client/api/models/v1_get_workflow_result_system_prompt_patch_response.py +87 -0
  49. eval_studio_client/api/models/v1_info.py +6 -2
  50. eval_studio_client/api/models/v1_list_dashboard_access_response.py +95 -0
  51. eval_studio_client/api/models/v1_list_dashboards_shared_with_me_response.py +95 -0
  52. eval_studio_client/api/models/v1_list_test_access_response.py +95 -0
  53. eval_studio_client/api/models/v1_list_tests_shared_with_me_response.py +95 -0
  54. eval_studio_client/api/models/v1_list_workflow_access_response.py +95 -0
  55. eval_studio_client/api/models/v1_list_workflows_shared_with_me_response.py +95 -0
  56. eval_studio_client/api/models/v1_role.py +38 -0
  57. eval_studio_client/api/models/v1_role_binding.py +92 -0
  58. eval_studio_client/api/models/v1_stats.py +106 -0
  59. eval_studio_client/api/models/v1_workflow_node.py +10 -3
  60. eval_studio_client/api/models/v1_workflow_node_result_status.py +40 -0
  61. eval_studio_client/api/models/v1_workflow_node_type.py +1 -0
  62. eval_studio_client/api/models/v1_workflow_result_artifact_type.py +40 -0
  63. eval_studio_client/api/models/v1_workflow_result_report_format.py +37 -0
  64. eval_studio_client/api/models/workflow_service_revoke_workflow_access_request.py +90 -0
  65. eval_studio_client/api/test/test_dashboard_service_api.py +28 -0
  66. eval_studio_client/api/test/test_info_service_api.py +6 -0
  67. eval_studio_client/api/test/test_required_the_updated_workflow_node.py +3 -1
  68. eval_studio_client/api/test/test_test_service_api.py +24 -0
  69. eval_studio_client/api/test/test_test_service_grant_test_access_request.py +52 -0
  70. eval_studio_client/api/test/test_test_service_revoke_test_access_request.py +52 -0
  71. eval_studio_client/api/test/test_v1_batch_get_workflow_nodes_response.py +3 -1
  72. eval_studio_client/api/test/test_v1_create_workflow_node_response.py +3 -1
  73. eval_studio_client/api/test/test_v1_delete_workflow_node_response.py +3 -1
  74. eval_studio_client/api/test/test_v1_get_info_response.py +3 -1
  75. eval_studio_client/api/test/test_v1_get_stats_response.py +54 -0
  76. eval_studio_client/api/test/test_v1_get_workflow_node_response.py +3 -1
  77. eval_studio_client/api/test/test_v1_get_workflow_result_corpus_patch_response.py +51 -0
  78. eval_studio_client/api/test/test_v1_get_workflow_result_report_response.py +54 -0
  79. eval_studio_client/api/test/test_v1_get_workflow_result_summary_response.py +58 -0
  80. eval_studio_client/api/test/test_v1_get_workflow_result_system_prompt_patch_response.py +51 -0
  81. eval_studio_client/api/test/test_v1_info.py +3 -1
  82. eval_studio_client/api/test/test_v1_init_workflow_node_response.py +3 -1
  83. eval_studio_client/api/test/test_v1_list_dashboard_access_response.py +56 -0
  84. eval_studio_client/api/test/test_v1_list_dashboards_shared_with_me_response.py +69 -0
  85. eval_studio_client/api/test/test_v1_list_test_access_response.py +56 -0
  86. eval_studio_client/api/test/test_v1_list_tests_shared_with_me_response.py +70 -0
  87. eval_studio_client/api/test/test_v1_list_workflow_access_response.py +56 -0
  88. eval_studio_client/api/test/test_v1_list_workflow_dependencies_response.py +3 -1
  89. eval_studio_client/api/test/test_v1_list_workflows_shared_with_me_response.py +95 -0
  90. eval_studio_client/api/test/test_v1_reset_workflow_node_response.py +3 -1
  91. eval_studio_client/api/test/test_v1_role.py +33 -0
  92. eval_studio_client/api/test/test_v1_role_binding.py +53 -0
  93. eval_studio_client/api/test/test_v1_stats.py +53 -0
  94. eval_studio_client/api/test/test_v1_update_workflow_node_response.py +3 -1
  95. eval_studio_client/api/test/test_v1_workflow_node.py +3 -1
  96. eval_studio_client/api/test/test_v1_workflow_node_result_status.py +33 -0
  97. eval_studio_client/api/test/test_v1_workflow_result_artifact_type.py +33 -0
  98. eval_studio_client/api/test/test_v1_workflow_result_report_format.py +33 -0
  99. eval_studio_client/api/test/test_workflow_result_service_api.py +59 -0
  100. eval_studio_client/api/test/test_workflow_service_api.py +28 -0
  101. eval_studio_client/api/test/test_workflow_service_revoke_workflow_access_request.py +52 -0
  102. eval_studio_client/gen/openapiv2/eval_studio.swagger.json +921 -7
  103. eval_studio_client/tests.py +3 -3
  104. {eval_studio_client-1.1.6a4.dist-info → eval_studio_client-1.2.0.dist-info}/METADATA +1 -1
  105. {eval_studio_client-1.1.6a4.dist-info → eval_studio_client-1.2.0.dist-info}/RECORD +106 -43
  106. {eval_studio_client-1.1.6a4.dist-info → eval_studio_client-1.2.0.dist-info}/WHEEL +0 -0
@@ -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,9 @@ 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,
53
+ experimental_features_enabled = True
52
54
  )
53
55
  else:
54
56
  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()
@@ -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_workflow_access_response import V1ListWorkflowAccessResponse
18
+
19
+ class TestV1ListWorkflowAccessResponse(unittest.TestCase):
20
+ """V1ListWorkflowAccessResponse 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) -> V1ListWorkflowAccessResponse:
29
+ """Test V1ListWorkflowAccessResponse
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 `V1ListWorkflowAccessResponse`
34
+ """
35
+ model = V1ListWorkflowAccessResponse()
36
+ if include_optional:
37
+ return V1ListWorkflowAccessResponse(
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 V1ListWorkflowAccessResponse(
47
+ )
48
+ """
49
+
50
+ def testV1ListWorkflowAccessResponse(self):
51
+ """Test V1ListWorkflowAccessResponse"""
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()
@@ -67,7 +67,9 @@ class TestV1ListWorkflowDependenciesResponse(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
  dependencies = [
73
75
  eval_studio_client.api.models.v1_dependency_list.v1DependencyList(
@@ -0,0 +1,95 @@
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_workflows_shared_with_me_response import V1ListWorkflowsSharedWithMeResponse
18
+
19
+ class TestV1ListWorkflowsSharedWithMeResponse(unittest.TestCase):
20
+ """V1ListWorkflowsSharedWithMeResponse 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) -> V1ListWorkflowsSharedWithMeResponse:
29
+ """Test V1ListWorkflowsSharedWithMeResponse
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 `V1ListWorkflowsSharedWithMeResponse`
34
+ """
35
+ model = V1ListWorkflowsSharedWithMeResponse()
36
+ if include_optional:
37
+ return V1ListWorkflowsSharedWithMeResponse(
38
+ workflows = [
39
+ eval_studio_client.api.models.v1_workflow.v1Workflow(
40
+ name = '',
41
+ display_name = '',
42
+ description = '',
43
+ create_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
44
+ creator = '',
45
+ update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
46
+ updater = '',
47
+ delete_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
48
+ deleter = '',
49
+ type = 'WORKFLOW_TYPE_UNSPECIFIED',
50
+ model = '',
51
+ nodes = [
52
+ ''
53
+ ],
54
+ edges = [
55
+ ''
56
+ ],
57
+ outputs = {
58
+ 'key' : None
59
+ },
60
+ output_artifacts = {
61
+ 'key' : eval_studio_client.api.models.v1_workflow_node_artifacts.v1WorkflowNodeArtifacts(
62
+ artifacts = [
63
+ eval_studio_client.api.models.v1_workflow_node_artifact.v1WorkflowNodeArtifact(
64
+ name = '',
65
+ parent = '',
66
+ display_name = '',
67
+ description = '',
68
+ create_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
69
+ creator = '',
70
+ update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
71
+ updater = '',
72
+ delete_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
73
+ deleter = '',
74
+ mime_type = '', )
75
+ ], )
76
+ },
77
+ llm_model = '',
78
+ model_parameters = '',
79
+ document = '',
80
+ h2ogpte_collection = '',
81
+ cloned_from_workflow = '', )
82
+ ]
83
+ )
84
+ else:
85
+ return V1ListWorkflowsSharedWithMeResponse(
86
+ )
87
+ """
88
+
89
+ def testV1ListWorkflowsSharedWithMeResponse(self):
90
+ """Test V1ListWorkflowsSharedWithMeResponse"""
91
+ # inst_req_only = self.make_instance(include_optional=False)
92
+ # inst_req_and_optional = self.make_instance(include_optional=True)
93
+
94
+ if __name__ == '__main__':
95
+ unittest.main()
@@ -66,7 +66,9 @@ class TestV1ResetWorkflowNodeResponse(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 V1ResetWorkflowNodeResponse(
@@ -0,0 +1,33 @@
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_role import V1Role
18
+
19
+ class TestV1Role(unittest.TestCase):
20
+ """V1Role unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def testV1Role(self):
29
+ """Test V1Role"""
30
+ # inst = V1Role()
31
+
32
+ if __name__ == '__main__':
33
+ unittest.main()
@@ -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_role_binding import V1RoleBinding
18
+
19
+ class TestV1RoleBinding(unittest.TestCase):
20
+ """V1RoleBinding 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) -> V1RoleBinding:
29
+ """Test V1RoleBinding
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 `V1RoleBinding`
34
+ """
35
+ model = V1RoleBinding()
36
+ if include_optional:
37
+ return V1RoleBinding(
38
+ subject = '',
39
+ role = 'ROLE_UNSPECIFIED',
40
+ resource = ''
41
+ )
42
+ else:
43
+ return V1RoleBinding(
44
+ )
45
+ """
46
+
47
+ def testV1RoleBinding(self):
48
+ """Test V1RoleBinding"""
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()