current-data-py 0.1.21__tar.gz → 0.1.23__tar.gz

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 (129) hide show
  1. {current_data_py-0.1.21 → current_data_py-0.1.23}/PKG-INFO +2 -2
  2. {current_data_py-0.1.21 → current_data_py-0.1.23}/current_data_py.egg-info/PKG-INFO +2 -2
  3. {current_data_py-0.1.21 → current_data_py-0.1.23}/current_data_py.egg-info/requires.txt +1 -1
  4. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/api/management.md +91 -0
  5. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/sdk-client/references/metadata-v2.md +24 -0
  6. {current_data_py-0.1.21 → current_data_py-0.1.23}/management.py +17 -1
  7. current_data_py-0.1.23/proto_gen/python/labeling/task/task_pb2.py +54 -0
  8. current_data_py-0.1.23/proto_gen/python/labeling/template/template_pb2.py +42 -0
  9. current_data_py-0.1.23/proto_gen/python/management/metadata/metadata_pb2.py +75 -0
  10. current_data_py-0.1.23/proto_gen/python/management/quality_check/quality_check_pb2.py +32 -0
  11. current_data_py-0.1.23/proto_gen/python/management/service/service_pb2.py +176 -0
  12. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/management/service/service_pb2_grpc.py +133 -0
  13. {current_data_py-0.1.21 → current_data_py-0.1.23}/pyproject.toml +2 -2
  14. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_management.py +47 -1
  15. current_data_py-0.1.21/proto_gen/python/labeling/task/task_pb2.py +0 -52
  16. current_data_py-0.1.21/proto_gen/python/labeling/template/template_pb2.py +0 -40
  17. current_data_py-0.1.21/proto_gen/python/management/metadata/metadata_pb2.py +0 -74
  18. current_data_py-0.1.21/proto_gen/python/management/service/service_pb2.py +0 -157
  19. {current_data_py-0.1.21 → current_data_py-0.1.23}/MANIFEST.in +0 -0
  20. {current_data_py-0.1.21 → current_data_py-0.1.23}/README.md +0 -0
  21. {current_data_py-0.1.21 → current_data_py-0.1.23}/__init__.py +0 -0
  22. {current_data_py-0.1.21 → current_data_py-0.1.23}/_multipart.py +0 -0
  23. {current_data_py-0.1.21 → current_data_py-0.1.23}/_urdf_dae.py +0 -0
  24. {current_data_py-0.1.21 → current_data_py-0.1.23}/_urdf_directory.py +0 -0
  25. {current_data_py-0.1.21 → current_data_py-0.1.23}/_urdf_mesh.py +0 -0
  26. {current_data_py-0.1.21 → current_data_py-0.1.23}/_urdf_validation.py +0 -0
  27. {current_data_py-0.1.21 → current_data_py-0.1.23}/current_data_py.egg-info/SOURCES.txt +0 -0
  28. {current_data_py-0.1.21 → current_data_py-0.1.23}/current_data_py.egg-info/dependency_links.txt +0 -0
  29. {current_data_py-0.1.21 → current_data_py-0.1.23}/current_data_py.egg-info/top_level.txt +0 -0
  30. {current_data_py-0.1.21 → current_data_py-0.1.23}/decoding.py +0 -0
  31. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/api/processing.md +0 -0
  32. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/index.md +0 -0
  33. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/convert-robot-data/SKILL.md +0 -0
  34. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/data-platform/SKILL.md +0 -0
  35. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/data-platform/references/api.md +0 -0
  36. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/data-platform/references/data-transfer.md +0 -0
  37. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/data-platform/references/dev-pod.md +0 -0
  38. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/data-platform/references/jobs.md +0 -0
  39. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/data-platform/references/test-environment.md +0 -0
  40. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/data-platform/references/use-cases.md +0 -0
  41. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/sdk-client/SKILL.md +0 -0
  42. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/skills/sdk-client/references/data-client.md +0 -0
  43. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs/urdf.md +0 -0
  44. {current_data_py-0.1.21 → current_data_py-0.1.23}/docs.py +0 -0
  45. {current_data_py-0.1.21 → current_data_py-0.1.23}/examples/__init__.py +0 -0
  46. {current_data_py-0.1.21 → current_data_py-0.1.23}/examples/list_schemas.py +0 -0
  47. {current_data_py-0.1.21 → current_data_py-0.1.23}/examples/read_remote_td.py +0 -0
  48. {current_data_py-0.1.21 → current_data_py-0.1.23}/examples/read_td.py +0 -0
  49. {current_data_py-0.1.21 → current_data_py-0.1.23}/examples/upload_urdf.py +0 -0
  50. {current_data_py-0.1.21 → current_data_py-0.1.23}/examples/write_td.py +0 -0
  51. {current_data_py-0.1.21 → current_data_py-0.1.23}/labeling.py +0 -0
  52. {current_data_py-0.1.21 → current_data_py-0.1.23}/oss.py +0 -0
  53. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/labeling/service/service_pb2.py +0 -0
  54. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/labeling/service/service_pb2_grpc.py +0 -0
  55. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/management/selection/selection_pb2.py +0 -0
  56. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/management/urdf/asset_pb2.py +0 -0
  57. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/builtin_interfaces/duration_pb2.py +0 -0
  58. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/builtin_interfaces/time_pb2.py +0 -0
  59. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/custom_msgs/encoder_status_pb2.py +0 -0
  60. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/custom_msgs/joint_current_pb2.py +0 -0
  61. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/custom_msgs/keypoints_quality_pb2.py +0 -0
  62. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/custom_msgs/pose_rpy_pb2.py +0 -0
  63. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/custom_msgs/slam_quality_pb2.py +0 -0
  64. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/custom_msgs/sonic_frame_pb2.py +0 -0
  65. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/custom_msgs/subtask_description_pb2.py +0 -0
  66. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/custom_msgs/target_quality_pb2.py +0 -0
  67. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/foxglove/compressed_audio_pb2.py +0 -0
  68. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/foxglove/compressed_video_pb2.py +0 -0
  69. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/point32_pb2.py +0 -0
  70. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/point_pb2.py +0 -0
  71. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/pose_array_pb2.py +0 -0
  72. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/pose_pb2.py +0 -0
  73. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/pose_stamped_pb2.py +0 -0
  74. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/pose_with_covariance_pb2.py +0 -0
  75. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/pose_with_covariance_stamped_pb2.py +0 -0
  76. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/quaternion_pb2.py +0 -0
  77. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/transform_pb2.py +0 -0
  78. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/transform_stamped_pb2.py +0 -0
  79. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/twist_pb2.py +0 -0
  80. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/twist_stamped_pb2.py +0 -0
  81. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/twist_with_covariance_pb2.py +0 -0
  82. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/twist_with_covariance_stamped_pb2.py +0 -0
  83. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/vector3_pb2.py +0 -0
  84. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/wrench_pb2.py +0 -0
  85. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/geometry_msgs/wrench_stamped_pb2.py +0 -0
  86. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/nav_msgs/map_meta_data_pb2.py +0 -0
  87. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/nav_msgs/occupancy_grid_pb2.py +0 -0
  88. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/nav_msgs/odometry_pb2.py +0 -0
  89. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/nav_msgs/path_pb2.py +0 -0
  90. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/battery_state_pb2.py +0 -0
  91. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/camera_info_pb2.py +0 -0
  92. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/compressed_image_pb2.py +0 -0
  93. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/image_pb2.py +0 -0
  94. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/imu_pb2.py +0 -0
  95. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/joint_state_pb2.py +0 -0
  96. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/laser_scan_pb2.py +0 -0
  97. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/nav_sat_fix_pb2.py +0 -0
  98. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/nav_sat_status_pb2.py +0 -0
  99. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/point_cloud2_pb2.py +0 -0
  100. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/point_field_pb2.py +0 -0
  101. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/range_pb2.py +0 -0
  102. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/sensor_msgs/region_of_interest_pb2.py +0 -0
  103. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/std_msgs/bool_pb2.py +0 -0
  104. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/std_msgs/color_rgba_pb2.py +0 -0
  105. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/std_msgs/float32_pb2.py +0 -0
  106. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/std_msgs/float64_pb2.py +0 -0
  107. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/std_msgs/header_pb2.py +0 -0
  108. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/std_msgs/int32_pb2.py +0 -0
  109. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/std_msgs/string_pb2.py +0 -0
  110. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/std_msgs/uint32_pb2.py +0 -0
  111. {current_data_py-0.1.21 → current_data_py-0.1.23}/proto_gen/python/msg/tf2_msgs/tf_message_pb2.py +0 -0
  112. {current_data_py-0.1.21 → current_data_py-0.1.23}/remote/__init__.py +0 -0
  113. {current_data_py-0.1.21 → current_data_py-0.1.23}/remote/client.py +0 -0
  114. {current_data_py-0.1.21 → current_data_py-0.1.23}/remote/source.py +0 -0
  115. {current_data_py-0.1.21 → current_data_py-0.1.23}/remote/tos_source.py +0 -0
  116. {current_data_py-0.1.21 → current_data_py-0.1.23}/schema/__init__.py +0 -0
  117. {current_data_py-0.1.21 → current_data_py-0.1.23}/schema/message_metadata.py +0 -0
  118. {current_data_py-0.1.21 → current_data_py-0.1.23}/setup.cfg +0 -0
  119. {current_data_py-0.1.21 → current_data_py-0.1.23}/setup.py +0 -0
  120. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_docs.py +0 -0
  121. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_environment.py +0 -0
  122. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_labeling.py +0 -0
  123. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_oss.py +0 -0
  124. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_package.py +0 -0
  125. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_remote.py +0 -0
  126. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_urdf.py +0 -0
  127. {current_data_py-0.1.21 → current_data_py-0.1.23}/tests/check_urdf_validation.py +0 -0
  128. {current_data_py-0.1.21 → current_data_py-0.1.23}/tos.py +0 -0
  129. {current_data_py-0.1.21 → current_data_py-0.1.23}/urdf.py +0 -0
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: current-data-py
3
- Version: 0.1.21
3
+ Version: 0.1.23
4
4
  Summary: Current Data protobuf messages and schema metadata
5
5
  Requires-Python: >=3.9
6
6
  Description-Content-Type: text/markdown
7
7
  Requires-Dist: protobuf>=3.20
8
- Requires-Dist: turbodata==0.1.0
8
+ Requires-Dist: turbodata==0.3.0
9
9
  Requires-Dist: grpcio>=1.51.1
10
10
  Requires-Dist: alibabacloud-oss-v2<2,>=1.4.0
11
11
  Requires-Dist: tos<3,>=2.9
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: current-data-py
3
- Version: 0.1.21
3
+ Version: 0.1.23
4
4
  Summary: Current Data protobuf messages and schema metadata
5
5
  Requires-Python: >=3.9
6
6
  Description-Content-Type: text/markdown
7
7
  Requires-Dist: protobuf>=3.20
8
- Requires-Dist: turbodata==0.1.0
8
+ Requires-Dist: turbodata==0.3.0
9
9
  Requires-Dist: grpcio>=1.51.1
10
10
  Requires-Dist: alibabacloud-oss-v2<2,>=1.4.0
11
11
  Requires-Dist: tos<3,>=2.9
@@ -1,5 +1,5 @@
1
1
  protobuf>=3.20
2
- turbodata==0.1.0
2
+ turbodata==0.3.0
3
3
  grpcio>=1.51.1
4
4
  alibabacloud-oss-v2<2,>=1.4.0
5
5
  tos<3,>=2.9
@@ -12,6 +12,7 @@ Transport headers and authentication are documented in the data-platform Skill's
12
12
  | `management.service.v1.DataManagementService.ListMetadataV2` | `/api/management.service.v1.DataManagementService/ListMetadataV2` |
13
13
  | `management.service.v1.DataManagementService.CountMetadataV2` | `/api/management.service.v1.DataManagementService/CountMetadataV2` |
14
14
  | `management.service.v1.DataManagementService.GetMetadataV2` | `/api/management.service.v1.DataManagementService/GetMetadataV2` |
15
+ | `management.service.v1.DataManagementService.UpdateQualityChecksV2` | `/api/management.service.v1.DataManagementService/UpdateQualityChecksV2` |
15
16
  | `management.service.v1.DataManagementService.CountData` | `/api/management.service.v1.DataManagementService/CountData` |
16
17
  | `management.service.v1.DataManagementService.GetData` | `/api/management.service.v1.DataManagementService/GetData` |
17
18
  | `management.service.v1.DataManagementService.GetUrdfUploadCredentials` | `/api/management.service.v1.DataManagementService/GetUrdfUploadCredentials` |
@@ -29,6 +30,13 @@ Transport headers and authentication are documented in the data-platform Skill's
29
30
  - [google/protobuf/duration.proto](#google_protobuf_duration-proto)
30
31
  - [Duration](#google-protobuf-Duration)
31
32
 
33
+ - [management/quality_check/quality_check.proto](#management_quality_check_quality_check-proto)
34
+ - [QualityCheck](#management-quality_check-v1-QualityCheck)
35
+
36
+ - [QualityCheckCategory](#management-quality_check-v1-QualityCheckCategory)
37
+ - [QualityCheckResult](#management-quality_check-v1-QualityCheckResult)
38
+ - [QualityCheckType](#management-quality_check-v1-QualityCheckType)
39
+
32
40
  - [management/metadata/metadata.proto](#management_metadata_metadata-proto)
33
41
  - [CollectionMethod](#management-metadata-v1-CollectionMethod)
34
42
  - [DataEntry](#management-metadata-v1-DataEntry)
@@ -79,6 +87,8 @@ Transport headers and authentication are documented in the data-platform Skill's
79
87
  - [RegisterUrdfRequest](#management-service-v1-RegisterUrdfRequest)
80
88
  - [RegisterUrdfResponse](#management-service-v1-RegisterUrdfResponse)
81
89
  - [StorageCredentials](#management-service-v1-StorageCredentials)
90
+ - [UpdateQualityChecksV2Request](#management-service-v1-UpdateQualityChecksV2Request)
91
+ - [UpdateQualityChecksV2Response](#management-service-v1-UpdateQualityChecksV2Response)
82
92
 
83
93
  - [DataManagementService](#management-service-v1-DataManagementService)
84
94
 
@@ -110,6 +120,72 @@ Transport headers and authentication are documented in the data-platform Skill's
110
120
  | seconds | `int64` | | |
111
121
  | nanos | `int32` | | |
112
122
 
123
+ <a name="management_quality_check_quality_check-proto"></a>
124
+ <p align="right"><a href="#top">Top</a></p>
125
+
126
+ ## management/quality_check/quality_check.proto
127
+
128
+ <a name="management-quality_check-v1-QualityCheck"></a>
129
+
130
+ ### QualityCheck
131
+
132
+ | Field | Type | Label | Description |
133
+ | ----- | ---- | ----- | ----------- |
134
+ | category | [QualityCheckCategory](#management-quality_check-v1-QualityCheckCategory) | | |
135
+ | type | [QualityCheckType](#management-quality_check-v1-QualityCheckType) | | |
136
+ | result | [QualityCheckResult](#management-quality_check-v1-QualityCheckResult) | | |
137
+ | detail | `string` | | JSON object encoded as a string. Use &#34;{}&#34; when there are no details. May include per-topic thresholds, affected time ranges and other findings. |
138
+
139
+ <a name="management-quality_check-v1-QualityCheckCategory"></a>
140
+
141
+ ### QualityCheckCategory
142
+
143
+ | Name | Number | Description |
144
+ | ---- | ------ | ----------- |
145
+ | QUALITY_CHECK_CATEGORY_UNSPECIFIED | 0 | |
146
+ | QUALITY_CHECK_CATEGORY_GENERAL | 1 | 通用检查 |
147
+ | QUALITY_CHECK_CATEGORY_CAMERA | 2 | 相机检查 |
148
+ | QUALITY_CHECK_CATEGORY_POSE | 3 | 位姿检查 |
149
+ | QUALITY_CHECK_CATEGORY_ENCODER | 4 | 编码器检查 |
150
+
151
+ <a name="management-quality_check-v1-QualityCheckResult"></a>
152
+
153
+ ### QualityCheckResult
154
+
155
+ | Name | Number | Description |
156
+ | ---- | ------ | ----------- |
157
+ | QUALITY_CHECK_RESULT_UNSPECIFIED | 0 | 未设置,不代表通过 |
158
+ | QUALITY_CHECK_RESULT_PASS | 1 | 检查完成,未发现缺陷 |
159
+ | QUALITY_CHECK_RESULT_FAIL | 2 | 检查完成,发现缺陷 |
160
+ | QUALITY_CHECK_RESULT_ERROR | 3 | 检查执行失败,无法判断 |
161
+ | QUALITY_CHECK_RESULT_SKIPPED | 4 | 明确跳过,例如不适用 |
162
+
163
+ <a name="management-quality_check-v1-QualityCheckType"></a>
164
+
165
+ ### QualityCheckType
166
+
167
+ | Name | Number | Description |
168
+ | ---- | ------ | ----------- |
169
+ | QUALITY_CHECK_TYPE_UNSPECIFIED | 0 | |
170
+ | QUALITY_CHECK_TYPE_TIME_GAP | 1 | 时间缺口 |
171
+ | QUALITY_CHECK_TYPE_DUPLICATE_TIMESTAMP | 2 | 重复时间戳 |
172
+ | QUALITY_CHECK_TYPE_TOPIC_COMPLETENESS | 3 | topic 完整性检查 |
173
+ | QUALITY_CHECK_TYPE_CAMERA_FAILURE | 4 | 相机故障 |
174
+ | QUALITY_CHECK_TYPE_CAMERA_LATE_START | 5 | 相机晚开始 |
175
+ | QUALITY_CHECK_TYPE_CAMERA_EARLY_END | 6 | 相机提前结束 |
176
+ | QUALITY_CHECK_TYPE_NON_FINITE_POSITION | 7 | 位置含非有限值 |
177
+ | QUALITY_CHECK_TYPE_INVALID_ROTATION | 8 | 旋转表示无效 |
178
+ | QUALITY_CHECK_TYPE_POSITION_JUMP | 9 | 位置跳变 |
179
+ | QUALITY_CHECK_TYPE_ROTATION_JUMP | 10 | 旋转跳变 |
180
+ | QUALITY_CHECK_TYPE_BONE_LENGTH_ANOMALY | 11 | 骨段长度异常伸缩 |
181
+ | QUALITY_CHECK_TYPE_HAND_POSE_ANOMALY | 12 | 手部位姿异常 |
182
+ | QUALITY_CHECK_TYPE_VALIDITY_FLAG | 13 | 有效性标记检查 |
183
+ | QUALITY_CHECK_TYPE_INPUT_STRUCTURE | 14 | 输入结构检查 |
184
+ | QUALITY_CHECK_TYPE_ENCODER_HIGH_FREQUENCY_FLIP | 15 | 编码器:高频翻转 |
185
+ | QUALITY_CHECK_TYPE_ENCODER_JUMP | 16 | 编码器:跳变 |
186
+ | QUALITY_CHECK_TYPE_ENCODER_MINOR_JUMP | 17 | 编码器:轻微跳变 |
187
+ | QUALITY_CHECK_TYPE_ENCODER_STUCK | 18 | 编码器:卡死 |
188
+
113
189
  <a name="management_metadata_metadata-proto"></a>
114
190
  <p align="right"><a href="#top">Top</a></p>
115
191
 
@@ -223,6 +299,7 @@ One metadata record backed by multiple TD files.
223
299
  | recording_info | [RecordingInfo](#management-metadata-v1-RecordingInfo) | | |
224
300
  | data_type | [DataType](#management-metadata-v1-DataType) | | |
225
301
  | data_list | [DataEntry](#management-metadata-v1-DataEntry) | repeated | Each entry describes one physical TD file, in append order. |
302
+ | quality_checks | [management.quality_check.v1.QualityCheck](#management-quality_check-v1-QualityCheck) | repeated | Latest result per (category, type); each pair occurs at most once. Array order has no meaning. Per-topic findings belong in detail. |
226
303
 
227
304
  <a name="management-metadata-v1-Operator"></a>
228
305
 
@@ -581,6 +658,19 @@ The SDK checks contents and avoids overwrites; storage capabilities are not froz
581
658
  | security_token | `string` | | |
582
659
  | expires_at | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
583
660
 
661
+ <a name="management-service-v1-UpdateQualityChecksV2Request"></a>
662
+
663
+ ### UpdateQualityChecksV2Request
664
+
665
+ | Field | Type | Label | Description |
666
+ | ----- | ---- | ----- | ----------- |
667
+ | data_id | `string` | | ID returned by RegisterDataV2 after conversion. |
668
+ | quality_checks | [management.quality_check.v1.QualityCheck](#management-quality_check-v1-QualityCheck) | repeated | Replace supplied (category, type) pairs and retain all other checks. Must be nonempty, with each pair occurring at most once. |
669
+
670
+ <a name="management-service-v1-UpdateQualityChecksV2Response"></a>
671
+
672
+ ### UpdateQualityChecksV2Response
673
+
584
674
  <a name="management-service-v1-DataManagementService"></a>
585
675
 
586
676
  ### DataManagementService
@@ -593,6 +683,7 @@ The SDK checks contents and avoids overwrites; storage capabilities are not froz
593
683
  | ListMetadataV2 | [ListMetadataV2Request](#management-service-v1-ListMetadataV2Request) | [ListMetadataV2Response](#management-service-v1-ListMetadataV2Response) | MetadataV2 queries. |
594
684
  | CountMetadataV2 | [CountMetadataV2Request](#management-service-v1-CountMetadataV2Request) | [CountMetadataV2Response](#management-service-v1-CountMetadataV2Response) | |
595
685
  | GetMetadataV2 | [GetMetadataV2Request](#management-service-v1-GetMetadataV2Request) | [GetMetadataV2Response](#management-service-v1-GetMetadataV2Response) | |
686
+ | UpdateQualityChecksV2 | [UpdateQualityChecksV2Request](#management-service-v1-UpdateQualityChecksV2Request) | [UpdateQualityChecksV2Response](#management-service-v1-UpdateQualityChecksV2Response) | |
596
687
  | GetUrdfUploadCredentials | [GetUrdfUploadCredentialsRequest](#management-service-v1-GetUrdfUploadCredentialsRequest) | [GetUrdfUploadCredentialsResponse](#management-service-v1-GetUrdfUploadCredentialsResponse) | URDF assets use the existing internal service entry point and storage. |
597
688
  | RegisterUrdf | [RegisterUrdfRequest](#management-service-v1-RegisterUrdfRequest) | [RegisterUrdfResponse](#management-service-v1-RegisterUrdfResponse) | |
598
689
  | ListUrdfAssets | [ListUrdfAssetsRequest](#management-service-v1-ListUrdfAssetsRequest) | [ListUrdfAssetsResponse](#management-service-v1-ListUrdfAssetsResponse) | |
@@ -92,6 +92,30 @@ OSSClient 和 TOSClient 上传时必须明确 `data_type` 和 `data_kind`,使
92
92
 
93
93
  上传函数为每次上传生成新 optional_id;它不提供业务重试去重。需要跨运行去重时,应保存并复用首次选定的 optional_id 和上传位置,不应每次重试重新生成。
94
94
 
95
+ ## TD 转换后回写质检结果
96
+
97
+ TD 转换、上传并调用 `register_data_v2` 成功后,后续质检 worker 使用返回的逻辑记录 `data_id` 回写结果;这里不使用子文件 `data_entry_id`。SDK 提供写回接口,调用本身不会启动质检任务。
98
+
99
+ ```python
100
+ import json
101
+ from current_data_py.management import quality_check_pb2
102
+ from current_data_py.remote import DataClient
103
+
104
+ # check_result 和 findings 是质检 worker 从 TD 检查得到的结论和明细。
105
+ with DataClient() as client:
106
+ client.update_quality_checks_v2(data_id, [quality_check_pb2.QualityCheck(
107
+ category=quality_check_pb2.QUALITY_CHECK_CATEGORY_GENERAL,
108
+ type=quality_check_pb2.QUALITY_CHECK_TYPE_TIME_GAP,
109
+ result=check_result,
110
+ detail=json.dumps({"topics": findings}, ensure_ascii=False),
111
+ )], timeout=30)
112
+ print(client.get_data_v2(data_id).quality_checks)
113
+ ```
114
+
115
+ `check_result` 使用 `QualityCheckResult` 枚举中 PASS、FAIL、ERROR 或 SKIPPED 对应的常量,例如 `quality_check_pb2.QUALITY_CHECK_RESULT_PASS`。每次提交非空列表,同一 `(category, type)` 只能出现一次;服务端原子替换这些检查项并保留其他项,结果保存在 `MetadataV2.quality_checks`。业务 topic、阈值和异常时间段等明细统一放进 `detail` JSON 对象字符串,无明细时写 `"{}"`。
116
+
117
+ 方法返回 `None`,支持 timeout 和 gRPC metadata,服务端校验错误原样透传,不自动重试。使用前需部署支持 `UpdateQualityChecksV2` 的 Management 服务。
118
+
95
119
  ## 查询与下载
96
120
 
97
121
  SDK 支持按 ID 获取完整记录,以及按条件逐条迭代。V1 的 `get_data`、`iter_data` 行为保持不变。
@@ -9,6 +9,7 @@ from . import DEFAULT_ADDRESS # Compatibility export; configure current_data_py
9
9
 
10
10
  from ._proto.management.metadata import metadata_pb2
11
11
  from ._proto.management.metadata.metadata_pb2 import DataEntry, DataKind, Metadata, MetadataV2, MetadataFilter, StorageProvider
12
+ from ._proto.management.quality_check import quality_check_pb2
12
13
  from ._proto.management.service import service_pb2, service_pb2_grpc
13
14
  from ._proto.management.urdf.asset_pb2 import ModelInfo, UrdfAsset
14
15
  from ._proto.management.service.service_pb2 import (
@@ -23,7 +24,7 @@ _CallMetadata = Optional[Sequence[Tuple[str, Union[str, bytes]]]]
23
24
  __all__ = [
24
25
  "DEFAULT_ADDRESS", "ManagementClient", "Metadata", "MetadataV2", "DataEntry", "MetadataFilter",
25
26
  "GetReadCredentialsResponse", "GetUploadCredentialsResponse", "metadata_pb2", "DataKind",
26
- "StorageCredentials", "StorageProvider",
27
+ "StorageCredentials", "StorageProvider", "quality_check_pb2",
27
28
  ]
28
29
 
29
30
 
@@ -221,6 +222,21 @@ class ManagementClient:
221
222
  service_pb2.RegisterDataV2Request(data=data), timeout=timeout, metadata=metadata,
222
223
  ).data_id
223
224
 
225
+ def update_quality_checks_v2(
226
+ self, data_id: str, quality_checks: Sequence[quality_check_pb2.QualityCheck], *,
227
+ timeout: Optional[float] = 30, metadata: _CallMetadata = None,
228
+ ) -> None:
229
+ """Write checks for a registered V2 record after TD conversion.
230
+
231
+ Replace the supplied (category, type) pairs and retain other checks.
232
+ Each detail is a JSON object encoded as a string, including topic findings.
233
+ Validation and errors come from the server; calls are not retried.
234
+ """
235
+ self.stub.UpdateQualityChecksV2(
236
+ service_pb2.UpdateQualityChecksV2Request(data_id=data_id, quality_checks=quality_checks),
237
+ timeout=timeout, metadata=metadata,
238
+ )
239
+
224
240
  def append_data_v2(
225
241
  self, data_id: str, data_entry: DataEntry, *, timeout: Optional[float] = 30,
226
242
  metadata: _CallMetadata = None,
@@ -0,0 +1,54 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: labeling/task/task.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
+ from labeling.template import template_pb2 as labeling_dot_template_dot_template__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18labeling/task/task.proto\x12\x10labeling.task.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a labeling/template/template.proto\"\x1f\n\x0cTdFileSource\x12\x0f\n\x07\x64\x61ta_id\x18\x01 \x01(\t\"H\n\x0bInputSource\x12\x31\n\x07td_file\x18\x01 \x01(\x0b\x32\x1e.labeling.task.v1.TdFileSourceH\x00\x42\x06\n\x04kind\",\n\x0c\x43hoiceResult\x12\x1c\n\x14selected_option_keys\x18\x01 \x03(\t\"\x86\x01\n\tTimeSlice\x12\x15\n\rstart_seconds\x18\x01 \x01(\x01\x12\x13\n\x0b\x65nd_seconds\x18\x02 \x01(\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x38\n\nattributes\x18\x04 \x03(\x0b\x32$.labeling.task.v1.TimeSliceAttribute\"[\n\x12TimeSliceAttribute\x12\x15\n\rattribute_key\x18\x01 \x01(\t\x12.\n\x06\x63hoice\x18\x02 \x01(\x0b\x32\x1e.labeling.task.v1.ChoiceResult\">\n\x0fTimeSliceResult\x12+\n\x06slices\x18\x01 \x03(\x0b\x32\x1b.labeling.task.v1.TimeSlice\"\x99\x01\n\x0eQuestionResult\x12\x14\n\x0cquestion_key\x18\x01 \x01(\t\x12\x30\n\x06\x63hoice\x18\x02 \x01(\x0b\x32\x1e.labeling.task.v1.ChoiceResultH\x00\x12\x37\n\ntime_slice\x18\x03 \x01(\x0b\x32!.labeling.task.v1.TimeSliceResultH\x00\x42\x06\n\x04kind\"Y\n\x06Result\x12:\n\x10question_results\x18\x01 \x03(\x0b\x32 .labeling.task.v1.QuestionResult\x12\x13\n\x0b\x63ustom_json\x18\x02 \x01(\t\"\x8f\x02\n\x04Task\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x30\n\x08template\x18\x02 \x01(\x0b\x32\x1e.labeling.template.v1.Template\x12,\n\x06status\x18\x03 \x01(\x0e\x32\x1c.labeling.task.v1.TaskStatus\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x06 \x01(\t\x12(\n\x04mode\x18\x07 \x01(\x0e\x32\x1a.labeling.task.v1.TaskMode\"\xaf\x01\n\x0bTaskSummary\x12$\n\x04task\x18\x01 \x01(\x0b\x32\x16.labeling.task.v1.Task\x12\x12\n\nitem_count\x18\x02 \x01(\x05\x12\x1a\n\x12labeled_item_count\x18\x03 \x01(\x05\x12 \n\x18pre_annotated_item_count\x18\x04 \x01(\x05\x12(\n pre_annotation_failed_item_count\x18\x05 \x01(\x05\"\xb6\x03\n\x04Item\x12\x0f\n\x07item_id\x18\x01 \x01(\t\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x33\n\x0cinput_source\x18\x03 \x01(\x0b\x32\x1d.labeling.task.v1.InputSource\x12,\n\x06status\x18\x04 \x01(\x0e\x32\x1c.labeling.task.v1.ItemStatus\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x06result\x18\x07 \x01(\x0b\x32\x18.labeling.task.v1.Result\x12\x34\n\x10\x63laim_expires_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nclaim_mine\x18\t \x01(\x08\x12\x37\n\x15pre_annotation_result\x18\x0c \x01(\x0b\x32\x18.labeling.task.v1.Result\x12\x1c\n\x14pre_annotation_error\x18\r \x01(\t*o\n\x08TaskMode\x12\x19\n\x15TASK_MODE_UNSPECIFIED\x10\x00\x12\x14\n\x10TASK_MODE_MANUAL\x10\x01\x12\x12\n\x0eTASK_MODE_AUTO\x10\x02\x12\x1e\n\x1aTASK_MODE_AUTO_WITH_REVIEW\x10\x03*}\n\nTaskStatus\x12\x1b\n\x17TASK_STATUS_UNSPECIFIED\x10\x00\x12\x17\n\x13TASK_STATUS_PENDING\x10\x01\x12\x19\n\x15TASK_STATUS_COMPLETED\x10\x02\x12\x1e\n\x1aTASK_STATUS_PRE_ANNOTATING\x10\x03*v\n\nItemStatus\x12\x1b\n\x17ITEM_STATUS_UNSPECIFIED\x10\x00\x12\x17\n\x13ITEM_STATUS_PENDING\x10\x01\x12\x17\n\x13ITEM_STATUS_LABELED\x10\x02\x12\x19\n\x15ITEM_STATUS_COMPLETED\x10\x03\x42 Z\x1eproto_gen/labeling/task;taskpbb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'labeling.task.task_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ DESCRIPTOR._serialized_options = b'Z\036proto_gen/labeling/task;taskpb'
26
+ _TASKMODE._serialized_start=1700
27
+ _TASKMODE._serialized_end=1811
28
+ _TASKSTATUS._serialized_start=1813
29
+ _TASKSTATUS._serialized_end=1938
30
+ _ITEMSTATUS._serialized_start=1940
31
+ _ITEMSTATUS._serialized_end=2058
32
+ _TDFILESOURCE._serialized_start=113
33
+ _TDFILESOURCE._serialized_end=144
34
+ _INPUTSOURCE._serialized_start=146
35
+ _INPUTSOURCE._serialized_end=218
36
+ _CHOICERESULT._serialized_start=220
37
+ _CHOICERESULT._serialized_end=264
38
+ _TIMESLICE._serialized_start=267
39
+ _TIMESLICE._serialized_end=401
40
+ _TIMESLICEATTRIBUTE._serialized_start=403
41
+ _TIMESLICEATTRIBUTE._serialized_end=494
42
+ _TIMESLICERESULT._serialized_start=496
43
+ _TIMESLICERESULT._serialized_end=558
44
+ _QUESTIONRESULT._serialized_start=561
45
+ _QUESTIONRESULT._serialized_end=714
46
+ _RESULT._serialized_start=716
47
+ _RESULT._serialized_end=805
48
+ _TASK._serialized_start=808
49
+ _TASK._serialized_end=1079
50
+ _TASKSUMMARY._serialized_start=1082
51
+ _TASKSUMMARY._serialized_end=1257
52
+ _ITEM._serialized_start=1260
53
+ _ITEM._serialized_end=1698
54
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: labeling/template/template.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n labeling/template/template.proto\x12\x14labeling.template.v1\"*\n\x0c\x43hoiceOption\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\"\x82\x01\n\x0e\x43hoiceQuestion\x12;\n\x0eselection_mode\x18\x01 \x01(\x0e\x32#.labeling.template.v1.SelectionMode\x12\x33\n\x07options\x18\x02 \x03(\x0b\x32\".labeling.template.v1.ChoiceOption\"Y\n\x11TimeSliceQuestion\x12\x44\n\nattributes\x18\x01 \x03(\x0b\x32\x30.labeling.template.v1.TimeSliceAttributeQuestion\"\x89\x01\n\x1aTimeSliceAttributeQuestion\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x33\n\x07options\x18\x03 \x03(\x0b\x32\".labeling.template.v1.ChoiceOption\x12\x1a\n\x12\x64\x65\x66\x61ult_option_key\x18\x04 \x01(\t\"\xa6\x01\n\x08Question\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0e\n\x06prompt\x18\x02 \x01(\t\x12\x36\n\x06\x63hoice\x18\x03 \x01(\x0b\x32$.labeling.template.v1.ChoiceQuestionH\x00\x12=\n\ntime_slice\x18\x04 \x01(\x0b\x32\'.labeling.template.v1.TimeSliceQuestionH\x00\x42\x06\n\x04kind\"\xbd\x01\n\x12TemplateDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x11input_source_type\x18\x02 \x01(\x0e\x32%.labeling.template.v1.InputSourceType\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12\x31\n\tquestions\x18\x04 \x03(\x0b\x32\x1e.labeling.template.v1.Question\x12\x0e\n\x06\x63ustom\x18\x05 \x01(\x08\"]\n\x08Template\x12\x13\n\x0btemplate_id\x18\x01 \x01(\t\x12<\n\ndefinition\x18\x02 \x01(\x0b\x32(.labeling.template.v1.TemplateDefinition*S\n\x0fInputSourceType\x12!\n\x1dINPUT_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19INPUT_SOURCE_TYPE_TD_FILE\x10\x01*g\n\rSelectionMode\x12\x1e\n\x1aSELECTION_MODE_UNSPECIFIED\x10\x00\x12\x19\n\x15SELECTION_MODE_SINGLE\x10\x01\x12\x1b\n\x17SELECTION_MODE_MULTIPLE\x10\x02\x42(Z&proto_gen/labeling/template;templatepbb\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'labeling.template.template_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ DESCRIPTOR._serialized_options = b'Z&proto_gen/labeling/template;templatepb'
24
+ _INPUTSOURCETYPE._serialized_start=922
25
+ _INPUTSOURCETYPE._serialized_end=1005
26
+ _SELECTIONMODE._serialized_start=1007
27
+ _SELECTIONMODE._serialized_end=1110
28
+ _CHOICEOPTION._serialized_start=58
29
+ _CHOICEOPTION._serialized_end=100
30
+ _CHOICEQUESTION._serialized_start=103
31
+ _CHOICEQUESTION._serialized_end=233
32
+ _TIMESLICEQUESTION._serialized_start=235
33
+ _TIMESLICEQUESTION._serialized_end=324
34
+ _TIMESLICEATTRIBUTEQUESTION._serialized_start=327
35
+ _TIMESLICEATTRIBUTEQUESTION._serialized_end=464
36
+ _QUESTION._serialized_start=467
37
+ _QUESTION._serialized_end=633
38
+ _TEMPLATEDEFINITION._serialized_start=636
39
+ _TEMPLATEDEFINITION._serialized_end=825
40
+ _TEMPLATE._serialized_start=827
41
+ _TEMPLATE._serialized_end=920
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,75 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: management/metadata/metadata.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
15
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
+ from management.quality_check import quality_check_pb2 as management_dot_quality__check_dot_quality__check__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"management/metadata/metadata.proto\x12\x16management.metadata.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a,management/quality_check/quality_check.proto\"\xa6\x03\n\x08Metadata\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\x08storages\x18\x05 \x03(\x0b\x32\x1f.management.metadata.v1.Storage\x12\x33\n\tfile_info\x18\x06 \x01(\x0b\x32 .management.metadata.v1.FileInfo\x12/\n\x07\x64\x65vices\x18\x07 \x03(\x0b\x32\x1e.management.metadata.v1.Device\x12=\n\x0erecording_info\x18\x08 \x01(\x0b\x32%.management.metadata.v1.RecordingInfo\x12\x33\n\tdata_type\x18\t \x01(\x0e\x32 .management.metadata.v1.DataType\x12\x13\n\x0boptional_id\x18\n \x01(\t\"\xa4\x03\n\nMetadataV2\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x07\x64\x65vices\x18\x05 \x03(\x0b\x32\x1e.management.metadata.v1.Device\x12=\n\x0erecording_info\x18\x06 \x01(\x0b\x32%.management.metadata.v1.RecordingInfo\x12\x33\n\tdata_type\x18\x07 \x01(\x0e\x32 .management.metadata.v1.DataType\x12\x34\n\tdata_list\x18\x08 \x03(\x0b\x32!.management.metadata.v1.DataEntry\x12\x41\n\x0equality_checks\x18\t \x03(\x0b\x32).management.quality_check.v1.QualityCheck\"\x99\x01\n\tDataEntry\x12\x31\n\x08storages\x18\x01 \x03(\x0b\x32\x1f.management.metadata.v1.Storage\x12-\n\x06topics\x18\x02 \x03(\x0b\x32\x1d.management.metadata.v1.Topic\x12\x13\n\x0boptional_id\x18\x03 \x01(\t\x12\x15\n\rdata_entry_id\x18\x04 \x01(\t\"S\n\x14\x44\x61taEntryDownloadURL\x12\x0b\n\x03url\x18\x01 \x01(\t\x12.\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x90\x01\n\x07Storage\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x12\n\nobject_key\x18\x02 \x01(\t\x12\x39\n\x08provider\x18\x03 \x01(\x0e\x32\'.management.metadata.v1.StorageProvider\x12\x17\n\nsize_bytes\x18\x04 \x01(\x03H\x00\x88\x01\x01\x42\r\n\x0b_size_bytes\"_\n\x08\x46ileInfo\x12\x12\n\nsize_bytes\x18\x01 \x01(\x03\x12-\n\x06topics\x18\x02 \x03(\x0b\x32\x1d.management.metadata.v1.Topic\x12\x10\n\x08\x63hecksum\x18\x03 \x01(\t\"G\n\x05Topic\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07samples\x18\x02 \x01(\x03\x12\x0b\n\x03\x66ps\x18\x03 \x01(\x02\x12\x12\n\ndeprecated\x18\x04 \x01(\x08\"\x9c\x02\n\x06\x44\x65vice\x12\r\n\x05model\x18\x01 \x01(\t\x12\x30\n\x04type\x18\x02 \x01(\x0e\x32\".management.metadata.v1.DeviceType\x12\x18\n\x10\x66irmware_version\x18\x03 \x01(\t\x12\x0b\n\x03\x66ps\x18\x04 \x01(\x02\x12\x32\n\x08modality\x18\x05 \x01(\x0e\x32 .management.metadata.v1.Modality\x12>\n\x0fmount_body_part\x18\x06 \x01(\x0e\x32%.management.metadata.v1.MountBodyPart\x12\x36\n\nresolution\x18\x07 \x01(\x0b\x32\".management.metadata.v1.Resolution\"+\n\nResolution\x12\x0e\n\x06height\x18\x01 \x01(\r\x12\r\n\x05width\x18\x02 \x01(\r\"\x8b\x02\n\rRecordingInfo\x12\x39\n\x0erecording_time\x18\x01 \x01(\x0b\x32!.management.metadata.v1.TimeRange\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x08location\x18\x03 \x01(\x0b\x32 .management.metadata.v1.Location\x12*\n\x04task\x18\x04 \x01(\x0b\x32\x1c.management.metadata.v1.Task\x12\x32\n\x08operator\x18\x05 \x01(\x0b\x32 .management.metadata.v1.Operator\"J\n\x08Location\x12\x19\n\x11\x63oordinate_system\x18\x01 \x01(\t\x12\x10\n\x08latitude\x18\x02 \x01(\x01\x12\x11\n\tlongitude\x18\x03 \x01(\x01\"}\n\x04Task\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05scene\x18\x03 \x01(\t\x12\x43\n\x11\x63ollection_method\x18\x04 \x01(\x0b\x32(.management.metadata.v1.CollectionMethod\"9\n\x10\x43ollectionMethod\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x10\n\x08paradigm\x18\x02 \x01(\t\"L\n\x08Operator\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x61rm_span\x18\x02 \x01(\x01\x12\x0e\n\x06height\x18\x03 \x01(\x01\x12\x12\n\nleg_length\x18\x04 \x01(\x01\"\x93\x02\n\x0eMetadataFilter\x12\x13\n\x0bname_prefix\x18\x01 \x01(\t\x12\x34\n\ndata_types\x18\x02 \x03(\x0e\x32 .management.metadata.v1.DataType\x12\x42\n\x17recording_started_range\x18\x03 \x01(\x0b\x32!.management.metadata.v1.TimeRange\x12G\n\x18recording_duration_range\x18\x04 \x01(\x0b\x32%.management.metadata.v1.DurationRange\x12\x18\n\x10task_name_prefix\x18\x05 \x01(\t\x12\x0f\n\x07\x64\x61ta_id\x18\x06 \x01(\t\"]\n\tTimeRange\x12(\n\x04\x66rom\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x02to\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"_\n\rDurationRange\x12&\n\x03min\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12&\n\x03max\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration*g\n\x0fStorageProvider\x12 \n\x1cSTORAGE_PROVIDER_UNSPECIFIED\x10\x00\x12\x18\n\x14STORAGE_PROVIDER_OSS\x10\x01\x12\x18\n\x14STORAGE_PROVIDER_TOS\x10\x02*\xb6\x01\n\nDeviceType\x12\x1b\n\x17\x44\x45VICE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x44\x45VICE_TYPE_CAM\x10\x01\x12\x13\n\x0f\x44\x45VICE_TYPE_IMU\x10\x02\x12\x14\n\x10\x44\x45VICE_TYPE_HEAD\x10\x03\x12\x19\n\x15\x44\x45VICE_TYPE_LEFT_HAND\x10\x04\x12\x1a\n\x16\x44\x45VICE_TYPE_RIGHT_HAND\x10\x05\x12\x14\n\x10\x44\x45VICE_TYPE_PICO\x10\x06*J\n\x08Modality\x12\x18\n\x14MODALITY_UNSPECIFIED\x10\x00\x12\x10\n\x0cMODALITY_RGB\x10\x01\x12\x12\n\x0eMODALITY_DEPTH\x10\x02*0\n\rMountBodyPart\x12\x1f\n\x1bMOUNT_BODY_PART_UNSPECIFIED\x10\x00*Q\n\x08\x44\x61taKind\x12\x19\n\x15\x44\x41TA_KIND_UNSPECIFIED\x10\x00\x12\x11\n\rDATA_KIND_RAW\x10\x01\x12\x17\n\x13\x44\x41TA_KIND_CONVERTED\x10\x02*\xb6\x01\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x41TA_TYPE_EGOSUITE\x10\x01\x12\x11\n\rDATA_TYPE_YAM\x10\x02\x12\x18\n\x14\x44\x41TA_TYPE_CURRENT_V2\x10\x03\x12\x18\n\x14\x44\x41TA_TYPE_PICO_GLOVE\x10\x04\x12\x17\n\x13\x44\x41TA_TYPE_CALI_DATA\x10\x05\x12\x17\n\x13\x44\x41TA_TYPE_ROBOMIMIC\x10\x06*z\n\x0cMetadataSort\x12\x1d\n\x19METADATA_SORT_UNSPECIFIED\x10\x00\x12%\n!METADATA_SORT_RECORDING_TIME_DESC\x10\x01\x12$\n METADATA_SORT_RECORDING_TIME_ASC\x10\x02\x42*Z(proto_gen/management/metadata;metadatapbb\x06proto3')
20
+
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'management.metadata.metadata_pb2', globals())
23
+ if _descriptor._USE_C_DESCRIPTORS == False:
24
+
25
+ DESCRIPTOR._options = None
26
+ DESCRIPTOR._serialized_options = b'Z(proto_gen/management/metadata;metadatapb'
27
+ _STORAGEPROVIDER._serialized_start=2991
28
+ _STORAGEPROVIDER._serialized_end=3094
29
+ _DEVICETYPE._serialized_start=3097
30
+ _DEVICETYPE._serialized_end=3279
31
+ _MODALITY._serialized_start=3281
32
+ _MODALITY._serialized_end=3355
33
+ _MOUNTBODYPART._serialized_start=3357
34
+ _MOUNTBODYPART._serialized_end=3405
35
+ _DATAKIND._serialized_start=3407
36
+ _DATAKIND._serialized_end=3488
37
+ _DATATYPE._serialized_start=3491
38
+ _DATATYPE._serialized_end=3673
39
+ _METADATASORT._serialized_start=3675
40
+ _METADATASORT._serialized_end=3797
41
+ _METADATA._serialized_start=174
42
+ _METADATA._serialized_end=596
43
+ _METADATAV2._serialized_start=599
44
+ _METADATAV2._serialized_end=1019
45
+ _DATAENTRY._serialized_start=1022
46
+ _DATAENTRY._serialized_end=1175
47
+ _DATAENTRYDOWNLOADURL._serialized_start=1177
48
+ _DATAENTRYDOWNLOADURL._serialized_end=1260
49
+ _STORAGE._serialized_start=1263
50
+ _STORAGE._serialized_end=1407
51
+ _FILEINFO._serialized_start=1409
52
+ _FILEINFO._serialized_end=1504
53
+ _TOPIC._serialized_start=1506
54
+ _TOPIC._serialized_end=1577
55
+ _DEVICE._serialized_start=1580
56
+ _DEVICE._serialized_end=1864
57
+ _RESOLUTION._serialized_start=1866
58
+ _RESOLUTION._serialized_end=1909
59
+ _RECORDINGINFO._serialized_start=1912
60
+ _RECORDINGINFO._serialized_end=2179
61
+ _LOCATION._serialized_start=2181
62
+ _LOCATION._serialized_end=2255
63
+ _TASK._serialized_start=2257
64
+ _TASK._serialized_end=2382
65
+ _COLLECTIONMETHOD._serialized_start=2384
66
+ _COLLECTIONMETHOD._serialized_end=2441
67
+ _OPERATOR._serialized_start=2443
68
+ _OPERATOR._serialized_end=2519
69
+ _METADATAFILTER._serialized_start=2522
70
+ _METADATAFILTER._serialized_end=2797
71
+ _TIMERANGE._serialized_start=2799
72
+ _TIMERANGE._serialized_end=2892
73
+ _DURATIONRANGE._serialized_start=2894
74
+ _DURATIONRANGE._serialized_end=2989
75
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,32 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: management/quality_check/quality_check.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,management/quality_check/quality_check.proto\x12\x1bmanagement.quality_check.v1\"\xe1\x01\n\x0cQualityCheck\x12\x43\n\x08\x63\x61tegory\x18\x01 \x01(\x0e\x32\x31.management.quality_check.v1.QualityCheckCategory\x12;\n\x04type\x18\x02 \x01(\x0e\x32-.management.quality_check.v1.QualityCheckType\x12?\n\x06result\x18\x03 \x01(\x0e\x32/.management.quality_check.v1.QualityCheckResult\x12\x0e\n\x06\x64\x65tail\x18\x04 \x01(\t*\xca\x01\n\x14QualityCheckCategory\x12&\n\"QUALITY_CHECK_CATEGORY_UNSPECIFIED\x10\x00\x12\"\n\x1eQUALITY_CHECK_CATEGORY_GENERAL\x10\x01\x12!\n\x1dQUALITY_CHECK_CATEGORY_CAMERA\x10\x02\x12\x1f\n\x1bQUALITY_CHECK_CATEGORY_POSE\x10\x03\x12\"\n\x1eQUALITY_CHECK_CATEGORY_ENCODER\x10\x04*\x97\x06\n\x10QualityCheckType\x12\"\n\x1eQUALITY_CHECK_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bQUALITY_CHECK_TYPE_TIME_GAP\x10\x01\x12*\n&QUALITY_CHECK_TYPE_DUPLICATE_TIMESTAMP\x10\x02\x12)\n%QUALITY_CHECK_TYPE_TOPIC_COMPLETENESS\x10\x03\x12%\n!QUALITY_CHECK_TYPE_CAMERA_FAILURE\x10\x04\x12(\n$QUALITY_CHECK_TYPE_CAMERA_LATE_START\x10\x05\x12\'\n#QUALITY_CHECK_TYPE_CAMERA_EARLY_END\x10\x06\x12*\n&QUALITY_CHECK_TYPE_NON_FINITE_POSITION\x10\x07\x12\'\n#QUALITY_CHECK_TYPE_INVALID_ROTATION\x10\x08\x12$\n QUALITY_CHECK_TYPE_POSITION_JUMP\x10\t\x12$\n QUALITY_CHECK_TYPE_ROTATION_JUMP\x10\n\x12*\n&QUALITY_CHECK_TYPE_BONE_LENGTH_ANOMALY\x10\x0b\x12(\n$QUALITY_CHECK_TYPE_HAND_POSE_ANOMALY\x10\x0c\x12$\n QUALITY_CHECK_TYPE_VALIDITY_FLAG\x10\r\x12&\n\"QUALITY_CHECK_TYPE_INPUT_STRUCTURE\x10\x0e\x12\x32\n.QUALITY_CHECK_TYPE_ENCODER_HIGH_FREQUENCY_FLIP\x10\x0f\x12#\n\x1fQUALITY_CHECK_TYPE_ENCODER_JUMP\x10\x10\x12)\n%QUALITY_CHECK_TYPE_ENCODER_MINOR_JUMP\x10\x11\x12$\n QUALITY_CHECK_TYPE_ENCODER_STUCK\x10\x12*\xba\x01\n\x12QualityCheckResult\x12$\n QUALITY_CHECK_RESULT_UNSPECIFIED\x10\x00\x12\x1d\n\x19QUALITY_CHECK_RESULT_PASS\x10\x01\x12\x1d\n\x19QUALITY_CHECK_RESULT_FAIL\x10\x02\x12\x1e\n\x1aQUALITY_CHECK_RESULT_ERROR\x10\x03\x12 \n\x1cQUALITY_CHECK_RESULT_SKIPPED\x10\x04\x42\x33Z1proto_gen/management/quality_check;qualitycheckpbb\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'management.quality_check.quality_check_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ DESCRIPTOR._serialized_options = b'Z1proto_gen/management/quality_check;qualitycheckpb'
24
+ _QUALITYCHECKCATEGORY._serialized_start=306
25
+ _QUALITYCHECKCATEGORY._serialized_end=508
26
+ _QUALITYCHECKTYPE._serialized_start=511
27
+ _QUALITYCHECKTYPE._serialized_end=1302
28
+ _QUALITYCHECKRESULT._serialized_start=1305
29
+ _QUALITYCHECKRESULT._serialized_end=1491
30
+ _QUALITYCHECK._serialized_start=78
31
+ _QUALITYCHECK._serialized_end=303
32
+ # @@protoc_insertion_point(module_scope)