another-ayx-python-sdk 2.4.22__py3-none-any.whl → 2.4.23__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 (418) hide show
  1. another_ayx_python_sdk/version.py +3 -3
  2. {another_ayx_python_sdk-2.4.22.dist-info → another_ayx_python_sdk-2.4.23.dist-info}/METADATA +2 -2
  3. another_ayx_python_sdk-2.4.23.dist-info/RECORD +403 -0
  4. {another_ayx_python_sdk-2.4.22.dist-info → another_ayx_python_sdk-2.4.23.dist-info}/top_level.txt +0 -2
  5. another_ayx_python_sdk-2.4.22.dist-info/RECORD +0 -813
  6. build/lib/another_ayx_python_sdk/__init__.py +0 -14
  7. build/lib/another_ayx_python_sdk/__main__.py +0 -470
  8. build/lib/another_ayx_python_sdk/assets/workspace_files/__init__.py +0 -14
  9. build/lib/another_ayx_python_sdk/assets/workspace_files/setup.py +0 -38
  10. build/lib/another_ayx_python_sdk/cli/__init__.py +0 -14
  11. build/lib/another_ayx_python_sdk/cli/utilities.py +0 -103
  12. build/lib/another_ayx_python_sdk/cli/workspace.py +0 -266
  13. build/lib/another_ayx_python_sdk/cli/yxi_builder.py +0 -125
  14. build/lib/another_ayx_python_sdk/cli/yxi_installer.py +0 -45
  15. build/lib/another_ayx_python_sdk/core/__init__.py +0 -51
  16. build/lib/another_ayx_python_sdk/core/constants.py +0 -25
  17. build/lib/another_ayx_python_sdk/core/dcm_base.py +0 -115
  18. build/lib/another_ayx_python_sdk/core/doc_utilities.py +0 -40
  19. build/lib/another_ayx_python_sdk/core/environment_base.py +0 -213
  20. build/lib/another_ayx_python_sdk/core/exceptions.py +0 -59
  21. build/lib/another_ayx_python_sdk/core/field.py +0 -183
  22. build/lib/another_ayx_python_sdk/core/input_anchor_base.py +0 -86
  23. build/lib/another_ayx_python_sdk/core/input_connection_base.py +0 -206
  24. build/lib/another_ayx_python_sdk/core/io_base.py +0 -139
  25. build/lib/another_ayx_python_sdk/core/metadata.py +0 -173
  26. build/lib/another_ayx_python_sdk/core/observable_mixin.py +0 -90
  27. build/lib/another_ayx_python_sdk/core/output_anchor_base.py +0 -151
  28. build/lib/another_ayx_python_sdk/core/plugin.py +0 -108
  29. build/lib/another_ayx_python_sdk/core/plugin_v2.py +0 -97
  30. build/lib/another_ayx_python_sdk/core/provider_base.py +0 -125
  31. build/lib/another_ayx_python_sdk/core/proxy_requests.py +0 -51
  32. build/lib/another_ayx_python_sdk/core/record_packet.py +0 -88
  33. build/lib/another_ayx_python_sdk/core/record_packet_base.py +0 -123
  34. build/lib/another_ayx_python_sdk/core/register_plugin.py +0 -127
  35. build/lib/another_ayx_python_sdk/core/testing.py +0 -191
  36. build/lib/another_ayx_python_sdk/core/utils.py +0 -146
  37. build/lib/another_ayx_python_sdk/examples/AyxSdkInput/main.py +0 -89
  38. build/lib/another_ayx_python_sdk/examples/AyxSdkMultiConnectionsMultiOutputAnchor/main.py +0 -102
  39. build/lib/another_ayx_python_sdk/examples/AyxSdkMultipleInputAnchors/main.py +0 -84
  40. build/lib/another_ayx_python_sdk/examples/AyxSdkMultipleOutputAnchors/main.py +0 -96
  41. build/lib/another_ayx_python_sdk/examples/AyxSdkOptionalInputAnchor/main.py +0 -94
  42. build/lib/another_ayx_python_sdk/examples/AyxSdkOutput/main.py +0 -78
  43. build/lib/another_ayx_python_sdk/examples/AyxSdkPassThrough/main.py +0 -82
  44. build/lib/another_ayx_python_sdk/providers/__init__.py +0 -14
  45. build/lib/another_ayx_python_sdk/providers/amp_provider/__init__.py +0 -41
  46. build/lib/another_ayx_python_sdk/providers/amp_provider/__main__.py +0 -85
  47. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_dcm.py +0 -58
  48. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_driver.py +0 -358
  49. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_environment.py +0 -73
  50. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_environment_v2.py +0 -278
  51. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_input_anchor.py +0 -73
  52. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_input_connection.py +0 -132
  53. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_io.py +0 -64
  54. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_io_components.py +0 -407
  55. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_output_anchor.py +0 -107
  56. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_provider.py +0 -68
  57. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_provider_v2.py +0 -128
  58. build/lib/another_ayx_python_sdk/providers/amp_provider/amp_record_packet.py +0 -21
  59. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/__init__.py +0 -32
  60. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/input_anchor_builder.py +0 -123
  61. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/input_connection_builder.py +0 -95
  62. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/metadata_builder.py +0 -118
  63. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/output_anchor_builder.py +0 -110
  64. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/packers.py +0 -458
  65. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/record_builder.py +0 -204
  66. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/record_packet_builder.py +0 -133
  67. build/lib/another_ayx_python_sdk/providers/amp_provider/builders/tool_config_builder.py +0 -59
  68. build/lib/another_ayx_python_sdk/providers/amp_provider/cng_certs.py +0 -197
  69. build/lib/another_ayx_python_sdk/providers/amp_provider/data_transport/__init__.py +0 -18
  70. build/lib/another_ayx_python_sdk/providers/amp_provider/data_transport/amp_transport.py +0 -127
  71. build/lib/another_ayx_python_sdk/providers/amp_provider/data_transport/transport_base.py +0 -35
  72. build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_helpers/__init__.py +0 -14
  73. build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_helpers/control_msgs.py +0 -189
  74. build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_helpers/dcme_msgs.py +0 -119
  75. build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_helpers/record_transfer_msgs.py +0 -32
  76. build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_util.py +0 -161
  77. build/lib/another_ayx_python_sdk/providers/amp_provider/logger_config.py +0 -63
  78. build/lib/another_ayx_python_sdk/providers/amp_provider/plugin_class_loader.py +0 -77
  79. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/__init__.py +0 -67
  80. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/dcm_repository.py +0 -252
  81. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/environment_repository.py +0 -212
  82. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/grpc_repository.py +0 -119
  83. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/input_anchor_repository.py +0 -110
  84. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/input_connection_repository.py +0 -276
  85. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/input_metadata_repository.py +0 -144
  86. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/input_record_packet_repository.py +0 -252
  87. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/io_repository.py +0 -188
  88. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/output_anchor_repository.py +0 -117
  89. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/output_metadata_repository.py +0 -129
  90. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/output_record_packet_repository.py +0 -170
  91. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/plugin_class_repository.py +0 -55
  92. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/singleton.py +0 -32
  93. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/test_harness_state_repository.py +0 -172
  94. build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/tool_config_repository.py +0 -89
  95. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/__init__.py +0 -14
  96. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/__init__.py +0 -0
  97. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/close_outgoing_anchor_pb2.py +0 -25
  98. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/close_outgoing_anchor_pb2_grpc.py +0 -4
  99. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/dcm_e_pb2.py +0 -38
  100. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/dcm_e_pb2_grpc.py +0 -4
  101. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_anchor_pb2.py +0 -26
  102. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_anchor_pb2_grpc.py +0 -4
  103. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_connection_complete_pb2.py +0 -25
  104. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_connection_complete_pb2_grpc.py +0 -4
  105. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_connection_pb2.py +0 -26
  106. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_connection_pb2_grpc.py +0 -4
  107. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_data_push_pb2.py +0 -26
  108. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_data_push_pb2_grpc.py +0 -4
  109. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_record_packet_push_pb2.py +0 -26
  110. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_record_packet_push_pb2_grpc.py +0 -4
  111. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/metadata_pb2.py +0 -31
  112. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/metadata_pb2_grpc.py +0 -4
  113. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_anchor_pb2.py +0 -28
  114. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_anchor_pb2_grpc.py +0 -4
  115. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_data_push_pb2.py +0 -26
  116. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_data_push_pb2_grpc.py +0 -4
  117. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_metadata_push_pb2.py +0 -26
  118. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_metadata_push_pb2_grpc.py +0 -4
  119. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_record_packet_push_pb2.py +0 -26
  120. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_record_packet_push_pb2_grpc.py +0 -4
  121. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/output_message_data_pb2.py +0 -29
  122. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/output_message_data_pb2_grpc.py +0 -4
  123. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/password_data_pb2.py +0 -25
  124. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/password_data_pb2_grpc.py +0 -4
  125. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/plugin_initialization_data_pb2.py +0 -33
  126. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/plugin_initialization_data_pb2_grpc.py +0 -4
  127. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/record_batch_pb2.py +0 -25
  128. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/record_batch_pb2_grpc.py +0 -4
  129. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/record_packet_pb2.py +0 -29
  130. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/record_packet_pb2_grpc.py +0 -4
  131. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_engine_service_pb2.py +0 -34
  132. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_engine_service_pb2_grpc.py +0 -305
  133. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_pb2.py +0 -30
  134. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_pb2_grpc.py +0 -235
  135. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_startup_info_pb2.py +0 -25
  136. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_startup_info_pb2_grpc.py +0 -4
  137. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_v2_pb2.py +0 -54
  138. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_v2_pb2_grpc.py +0 -99
  139. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/translate_message_data_pb2.py +0 -27
  140. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/translate_message_data_pb2_grpc.py +0 -4
  141. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/transport_pb2.py +0 -31
  142. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/transport_pb2_grpc.py +0 -4
  143. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/update_progress_pb2.py +0 -25
  144. build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/update_progress_pb2_grpc.py +0 -4
  145. build/lib/another_ayx_python_sdk/providers/amp_provider/sdk_tool_runner.py +0 -115
  146. build/lib/another_ayx_python_sdk/providers/amp_provider/sdk_tool_service.py +0 -207
  147. build/lib/another_ayx_python_sdk/providers/amp_provider/sdk_tool_service_v2.py +0 -306
  148. build/lib/another_ayx_python_sdk/providers/amp_provider/utilities/__init__.py +0 -14
  149. build/lib/another_ayx_python_sdk/providers/amp_provider/utilities/constants.py +0 -22
  150. build/lib/another_ayx_python_sdk/providers/amp_provider/utilities/conversions.py +0 -55
  151. build/lib/another_ayx_python_sdk/providers/amp_provider/utilities/utilities.py +0 -63
  152. build/lib/another_ayx_python_sdk/providers/e1_provider/__init__.py +0 -36
  153. build/lib/another_ayx_python_sdk/providers/e1_provider/anchor_builder.py +0 -95
  154. build/lib/another_ayx_python_sdk/providers/e1_provider/cache_e1_sdk_import.py +0 -31
  155. build/lib/another_ayx_python_sdk/providers/e1_provider/connection_callback_strategy.py +0 -155
  156. build/lib/another_ayx_python_sdk/providers/e1_provider/connection_interface.py +0 -125
  157. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_dcm.py +0 -53
  158. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_environment.py +0 -127
  159. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_input_anchor.py +0 -51
  160. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_input_anchor_proxy.py +0 -33
  161. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_input_connection.py +0 -87
  162. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_io.py +0 -71
  163. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_output_anchor.py +0 -157
  164. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_output_anchor_proxy.py +0 -97
  165. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_plugin_driver.py +0 -63
  166. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_plugin_proxy.py +0 -363
  167. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_provider.py +0 -71
  168. build/lib/another_ayx_python_sdk/providers/e1_provider/e1_record_packet.py +0 -21
  169. build/lib/another_ayx_python_sdk/providers/e1_provider/events.py +0 -36
  170. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/__init__.py +0 -37
  171. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/alteryx_engine.py +0 -105
  172. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/constants.py +0 -50
  173. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/field.py +0 -122
  174. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/output_anchor.py +0 -55
  175. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/output_anchor_manager.py +0 -31
  176. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/record_copier.py +0 -65
  177. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/record_creator.py +0 -41
  178. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/record_info.py +0 -134
  179. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/record_ref.py +0 -42
  180. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/tool.py +0 -29
  181. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/tool_execution_info.py +0 -43
  182. build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/__init__.py +0 -14
  183. build/lib/another_ayx_python_sdk/providers/e1_provider/proxies/__init__.py +0 -18
  184. build/lib/another_ayx_python_sdk/providers/e1_provider/proxies/field_proxy.py +0 -109
  185. build/lib/another_ayx_python_sdk/providers/e1_provider/proxies/record_copier_proxy.py +0 -49
  186. build/lib/another_ayx_python_sdk/providers/e1_provider/records/__init__.py +0 -23
  187. build/lib/another_ayx_python_sdk/providers/e1_provider/records/base_record_container.py +0 -47
  188. build/lib/another_ayx_python_sdk/providers/e1_provider/records/parsed_record_container.py +0 -67
  189. build/lib/another_ayx_python_sdk/providers/e1_provider/records/raw_record_container.py +0 -111
  190. build/lib/another_ayx_python_sdk/providers/e1_provider/tool_config_loader.py +0 -132
  191. build/lib/another_ayx_python_sdk/providers/e1_provider/utilities/__init__.py +0 -35
  192. build/lib/another_ayx_python_sdk/providers/e1_provider/utilities/utilities.py +0 -54
  193. build/lib/another_ayx_python_sdk/providers/e1_provider/workflow_config.py +0 -31
  194. build/lib/another_ayx_python_sdk/providers/file_provider/__init__.py +0 -32
  195. build/lib/another_ayx_python_sdk/providers/file_provider/environment.py +0 -131
  196. build/lib/another_ayx_python_sdk/providers/file_provider/file_adapter.py +0 -286
  197. build/lib/another_ayx_python_sdk/providers/file_provider/file_provider.py +0 -185
  198. build/lib/another_ayx_python_sdk/providers/file_provider/file_provider_dcm.py +0 -53
  199. build/lib/another_ayx_python_sdk/providers/file_provider/file_provider_input_anchor.py +0 -70
  200. build/lib/another_ayx_python_sdk/providers/file_provider/file_provider_input_connection.py +0 -112
  201. build/lib/another_ayx_python_sdk/providers/file_provider/file_provider_output_anchor.py +0 -114
  202. build/lib/another_ayx_python_sdk/providers/file_provider/file_record_packet.py +0 -21
  203. build/lib/another_ayx_python_sdk/providers/file_provider/iox.py +0 -56
  204. build/lib/another_ayx_python_sdk/providers/file_provider/tool_input.py +0 -104
  205. build/lib/another_ayx_python_sdk/test_harness/__init__.py +0 -14
  206. build/lib/another_ayx_python_sdk/test_harness/__main__.py +0 -120
  207. build/lib/another_ayx_python_sdk/test_harness/plugin_runner.py +0 -416
  208. build/lib/another_ayx_python_sdk/test_harness/process_lifecycle_manager.py +0 -80
  209. build/lib/another_ayx_python_sdk/test_harness/sdk_engine_service.py +0 -106
  210. build/lib/another_ayx_python_sdk/version.py +0 -8
  211. build/lib/build/lib/another_ayx_python_sdk/__init__.py +0 -14
  212. build/lib/build/lib/another_ayx_python_sdk/__main__.py +0 -470
  213. build/lib/build/lib/another_ayx_python_sdk/assets/workspace_files/__init__.py +0 -14
  214. build/lib/build/lib/another_ayx_python_sdk/assets/workspace_files/setup.py +0 -38
  215. build/lib/build/lib/another_ayx_python_sdk/cli/__init__.py +0 -14
  216. build/lib/build/lib/another_ayx_python_sdk/cli/utilities.py +0 -103
  217. build/lib/build/lib/another_ayx_python_sdk/cli/workspace.py +0 -266
  218. build/lib/build/lib/another_ayx_python_sdk/cli/yxi_builder.py +0 -125
  219. build/lib/build/lib/another_ayx_python_sdk/cli/yxi_installer.py +0 -45
  220. build/lib/build/lib/another_ayx_python_sdk/core/__init__.py +0 -51
  221. build/lib/build/lib/another_ayx_python_sdk/core/constants.py +0 -25
  222. build/lib/build/lib/another_ayx_python_sdk/core/dcm_base.py +0 -115
  223. build/lib/build/lib/another_ayx_python_sdk/core/doc_utilities.py +0 -40
  224. build/lib/build/lib/another_ayx_python_sdk/core/environment_base.py +0 -213
  225. build/lib/build/lib/another_ayx_python_sdk/core/exceptions.py +0 -59
  226. build/lib/build/lib/another_ayx_python_sdk/core/field.py +0 -183
  227. build/lib/build/lib/another_ayx_python_sdk/core/input_anchor_base.py +0 -86
  228. build/lib/build/lib/another_ayx_python_sdk/core/input_connection_base.py +0 -206
  229. build/lib/build/lib/another_ayx_python_sdk/core/io_base.py +0 -139
  230. build/lib/build/lib/another_ayx_python_sdk/core/metadata.py +0 -173
  231. build/lib/build/lib/another_ayx_python_sdk/core/observable_mixin.py +0 -90
  232. build/lib/build/lib/another_ayx_python_sdk/core/output_anchor_base.py +0 -151
  233. build/lib/build/lib/another_ayx_python_sdk/core/plugin.py +0 -108
  234. build/lib/build/lib/another_ayx_python_sdk/core/plugin_v2.py +0 -97
  235. build/lib/build/lib/another_ayx_python_sdk/core/provider_base.py +0 -125
  236. build/lib/build/lib/another_ayx_python_sdk/core/proxy_requests.py +0 -51
  237. build/lib/build/lib/another_ayx_python_sdk/core/record_packet.py +0 -88
  238. build/lib/build/lib/another_ayx_python_sdk/core/record_packet_base.py +0 -123
  239. build/lib/build/lib/another_ayx_python_sdk/core/register_plugin.py +0 -127
  240. build/lib/build/lib/another_ayx_python_sdk/core/testing.py +0 -191
  241. build/lib/build/lib/another_ayx_python_sdk/core/utils.py +0 -146
  242. build/lib/build/lib/another_ayx_python_sdk/examples/AyxSdkInput/main.py +0 -89
  243. build/lib/build/lib/another_ayx_python_sdk/examples/AyxSdkMultiConnectionsMultiOutputAnchor/main.py +0 -102
  244. build/lib/build/lib/another_ayx_python_sdk/examples/AyxSdkMultipleInputAnchors/main.py +0 -84
  245. build/lib/build/lib/another_ayx_python_sdk/examples/AyxSdkMultipleOutputAnchors/main.py +0 -96
  246. build/lib/build/lib/another_ayx_python_sdk/examples/AyxSdkOptionalInputAnchor/main.py +0 -94
  247. build/lib/build/lib/another_ayx_python_sdk/examples/AyxSdkOutput/main.py +0 -78
  248. build/lib/build/lib/another_ayx_python_sdk/examples/AyxSdkPassThrough/main.py +0 -82
  249. build/lib/build/lib/another_ayx_python_sdk/providers/__init__.py +0 -14
  250. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/__init__.py +0 -41
  251. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/__main__.py +0 -85
  252. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_dcm.py +0 -58
  253. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_driver.py +0 -358
  254. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_environment.py +0 -73
  255. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_environment_v2.py +0 -278
  256. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_input_anchor.py +0 -73
  257. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_input_connection.py +0 -132
  258. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_io.py +0 -64
  259. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_io_components.py +0 -407
  260. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_output_anchor.py +0 -107
  261. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_provider.py +0 -68
  262. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_provider_v2.py +0 -128
  263. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/amp_record_packet.py +0 -21
  264. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/__init__.py +0 -32
  265. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/input_anchor_builder.py +0 -123
  266. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/input_connection_builder.py +0 -95
  267. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/metadata_builder.py +0 -118
  268. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/output_anchor_builder.py +0 -110
  269. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/packers.py +0 -458
  270. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/record_builder.py +0 -204
  271. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/record_packet_builder.py +0 -133
  272. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/builders/tool_config_builder.py +0 -59
  273. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/cng_certs.py +0 -197
  274. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/data_transport/__init__.py +0 -18
  275. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/data_transport/amp_transport.py +0 -127
  276. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/data_transport/transport_base.py +0 -35
  277. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_helpers/__init__.py +0 -14
  278. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_helpers/control_msgs.py +0 -189
  279. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_helpers/dcme_msgs.py +0 -119
  280. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_helpers/record_transfer_msgs.py +0 -32
  281. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/grpc_util.py +0 -161
  282. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/logger_config.py +0 -63
  283. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/plugin_class_loader.py +0 -77
  284. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/__init__.py +0 -67
  285. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/dcm_repository.py +0 -252
  286. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/environment_repository.py +0 -212
  287. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/grpc_repository.py +0 -119
  288. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/input_anchor_repository.py +0 -110
  289. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/input_connection_repository.py +0 -276
  290. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/input_metadata_repository.py +0 -144
  291. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/input_record_packet_repository.py +0 -252
  292. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/io_repository.py +0 -188
  293. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/output_anchor_repository.py +0 -117
  294. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/output_metadata_repository.py +0 -129
  295. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/output_record_packet_repository.py +0 -170
  296. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/plugin_class_repository.py +0 -55
  297. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/singleton.py +0 -32
  298. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/test_harness_state_repository.py +0 -172
  299. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/repositories/tool_config_repository.py +0 -89
  300. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/__init__.py +0 -14
  301. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/__init__.py +0 -0
  302. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/close_outgoing_anchor_pb2.py +0 -25
  303. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/close_outgoing_anchor_pb2_grpc.py +0 -4
  304. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/dcm_e_pb2.py +0 -38
  305. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/dcm_e_pb2_grpc.py +0 -4
  306. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_anchor_pb2.py +0 -26
  307. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_anchor_pb2_grpc.py +0 -4
  308. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_connection_complete_pb2.py +0 -25
  309. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_connection_complete_pb2_grpc.py +0 -4
  310. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_connection_pb2.py +0 -26
  311. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_connection_pb2_grpc.py +0 -4
  312. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_data_push_pb2.py +0 -26
  313. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_data_push_pb2_grpc.py +0 -4
  314. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_record_packet_push_pb2.py +0 -26
  315. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/incoming_record_packet_push_pb2_grpc.py +0 -4
  316. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/metadata_pb2.py +0 -31
  317. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/metadata_pb2_grpc.py +0 -4
  318. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_anchor_pb2.py +0 -28
  319. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_anchor_pb2_grpc.py +0 -4
  320. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_data_push_pb2.py +0 -26
  321. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_data_push_pb2_grpc.py +0 -4
  322. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_metadata_push_pb2.py +0 -26
  323. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_metadata_push_pb2_grpc.py +0 -4
  324. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_record_packet_push_pb2.py +0 -26
  325. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/outgoing_record_packet_push_pb2_grpc.py +0 -4
  326. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/output_message_data_pb2.py +0 -29
  327. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/output_message_data_pb2_grpc.py +0 -4
  328. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/password_data_pb2.py +0 -25
  329. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/password_data_pb2_grpc.py +0 -4
  330. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/plugin_initialization_data_pb2.py +0 -33
  331. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/plugin_initialization_data_pb2_grpc.py +0 -4
  332. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/record_batch_pb2.py +0 -25
  333. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/record_batch_pb2_grpc.py +0 -4
  334. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/record_packet_pb2.py +0 -29
  335. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/record_packet_pb2_grpc.py +0 -4
  336. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_engine_service_pb2.py +0 -34
  337. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_engine_service_pb2_grpc.py +0 -305
  338. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_pb2.py +0 -30
  339. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_pb2_grpc.py +0 -235
  340. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_startup_info_pb2.py +0 -25
  341. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_startup_info_pb2_grpc.py +0 -4
  342. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_v2_pb2.py +0 -54
  343. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/sdk_tool_service_v2_pb2_grpc.py +0 -99
  344. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/translate_message_data_pb2.py +0 -27
  345. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/translate_message_data_pb2_grpc.py +0 -4
  346. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/transport_pb2.py +0 -31
  347. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/transport_pb2_grpc.py +0 -4
  348. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/update_progress_pb2.py +0 -25
  349. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/resources/generated/update_progress_pb2_grpc.py +0 -4
  350. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/sdk_tool_runner.py +0 -115
  351. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/sdk_tool_service.py +0 -207
  352. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/sdk_tool_service_v2.py +0 -306
  353. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/utilities/__init__.py +0 -14
  354. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/utilities/constants.py +0 -22
  355. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/utilities/conversions.py +0 -55
  356. build/lib/build/lib/another_ayx_python_sdk/providers/amp_provider/utilities/utilities.py +0 -63
  357. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/__init__.py +0 -36
  358. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/anchor_builder.py +0 -95
  359. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/cache_e1_sdk_import.py +0 -31
  360. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/connection_callback_strategy.py +0 -155
  361. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/connection_interface.py +0 -125
  362. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_dcm.py +0 -53
  363. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_environment.py +0 -127
  364. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_input_anchor.py +0 -51
  365. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_input_anchor_proxy.py +0 -33
  366. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_input_connection.py +0 -87
  367. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_io.py +0 -71
  368. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_output_anchor.py +0 -157
  369. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_output_anchor_proxy.py +0 -97
  370. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_plugin_driver.py +0 -63
  371. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_plugin_proxy.py +0 -363
  372. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_provider.py +0 -71
  373. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/e1_record_packet.py +0 -21
  374. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/events.py +0 -36
  375. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/__init__.py +0 -37
  376. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/alteryx_engine.py +0 -105
  377. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/constants.py +0 -50
  378. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/field.py +0 -122
  379. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/output_anchor.py +0 -55
  380. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/output_anchor_manager.py +0 -31
  381. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/record_copier.py +0 -65
  382. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/record_creator.py +0 -41
  383. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/record_info.py +0 -134
  384. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/record_ref.py +0 -42
  385. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/tool.py +0 -29
  386. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/AlteryxPythonSDK/tool_execution_info.py +0 -43
  387. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/mock_e1_sdk/__init__.py +0 -14
  388. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/proxies/__init__.py +0 -18
  389. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/proxies/field_proxy.py +0 -109
  390. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/proxies/record_copier_proxy.py +0 -49
  391. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/records/__init__.py +0 -23
  392. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/records/base_record_container.py +0 -47
  393. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/records/parsed_record_container.py +0 -67
  394. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/records/raw_record_container.py +0 -111
  395. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/tool_config_loader.py +0 -132
  396. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/utilities/__init__.py +0 -35
  397. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/utilities/utilities.py +0 -54
  398. build/lib/build/lib/another_ayx_python_sdk/providers/e1_provider/workflow_config.py +0 -31
  399. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/__init__.py +0 -32
  400. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/environment.py +0 -131
  401. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/file_adapter.py +0 -286
  402. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/file_provider.py +0 -185
  403. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/file_provider_dcm.py +0 -53
  404. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/file_provider_input_anchor.py +0 -70
  405. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/file_provider_input_connection.py +0 -112
  406. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/file_provider_output_anchor.py +0 -114
  407. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/file_record_packet.py +0 -21
  408. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/iox.py +0 -56
  409. build/lib/build/lib/another_ayx_python_sdk/providers/file_provider/tool_input.py +0 -104
  410. build/lib/build/lib/another_ayx_python_sdk/test_harness/__init__.py +0 -14
  411. build/lib/build/lib/another_ayx_python_sdk/test_harness/__main__.py +0 -120
  412. build/lib/build/lib/another_ayx_python_sdk/test_harness/plugin_runner.py +0 -416
  413. build/lib/build/lib/another_ayx_python_sdk/test_harness/process_lifecycle_manager.py +0 -80
  414. build/lib/build/lib/another_ayx_python_sdk/test_harness/sdk_engine_service.py +0 -106
  415. build/lib/build/lib/another_ayx_python_sdk/version.py +0 -8
  416. {another_ayx_python_sdk-2.4.22.dist-info → another_ayx_python_sdk-2.4.23.dist-info}/WHEEL +0 -0
  417. {another_ayx_python_sdk-2.4.22.dist-info → another_ayx_python_sdk-2.4.23.dist-info}/entry_points.txt +0 -0
  418. {another_ayx_python_sdk-2.4.22.dist-info → another_ayx_python_sdk-2.4.23.dist-info}/licenses/LICENSE +0 -0
@@ -1,252 +0,0 @@
1
- # Copyright (C) 2022 Alteryx, Inc. All rights reserved.
2
- #
3
- # Licensed under the ALTERYX SDK AND API LICENSE AGREEMENT;
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.alteryx.com/alteryx-sdk-and-api-license-agreement
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- """Class that saves/retrieves input record packets."""
15
- import logging
16
- from typing import Dict, List, TYPE_CHECKING, Tuple
17
-
18
- from another_ayx_python_sdk.core.input_connection_base import InputConnectionStatus
19
- from another_ayx_python_sdk.providers.amp_provider.amp_record_packet import AMPRecordPacket
20
- from another_ayx_python_sdk.providers.amp_provider.builders.record_packet_builder import (
21
- RecordPacketBuilder,
22
- )
23
- from another_ayx_python_sdk.providers.amp_provider.repositories.input_connection_repository import (
24
- InputConnectionRepository,
25
- )
26
- from another_ayx_python_sdk.providers.amp_provider.repositories.input_metadata_repository import (
27
- InputMetadataRepository,
28
- )
29
- from another_ayx_python_sdk.providers.amp_provider.repositories.singleton import Singleton
30
-
31
-
32
- if TYPE_CHECKING:
33
- from another_ayx_python_sdk.core.metadata import Metadata
34
- from another_ayx_python_sdk.core.record_packet_base import RecordPacketBase
35
- from another_ayx_python_sdk.providers.amp_provider.resources.generated.record_packet_pb2 import (
36
- RecordPacket as ProtobufRecordPacket,
37
- )
38
-
39
- import pandas as pd # noqa: F401
40
-
41
- logger = logging.getLogger(__name__)
42
-
43
-
44
- class UnfinishedRecordPacketException(Exception):
45
- """Exception to be raised to indicate that a record packet isn't ready to be returned."""
46
-
47
- pass
48
-
49
-
50
- class EmptyRecordPacketRepositoryException(Exception):
51
- """Exception to be raised after the final record packet has been returned."""
52
-
53
- pass
54
-
55
-
56
- class InputRecordPacketRepository(metaclass=Singleton):
57
- """Repository that stores input record packets."""
58
-
59
- _record_packet_builder = RecordPacketBuilder()
60
- _input_connection_repo = InputConnectionRepository()
61
-
62
- def __init__(self) -> None:
63
- """Initialize the input record packet repository."""
64
- self._record_packet_cache: Dict[
65
- str, Dict[str, Tuple["pd.DataFrame", "pd.DataFrame", int]]
66
- ] = {}
67
- self._records_list: Dict[str, Dict[str, List["pd.DataFrame"]]] = {}
68
-
69
- def push_record_packet(
70
- self, anchor_name: str, connection_name: str, record_packet: "RecordPacketBase"
71
- ) -> None:
72
- """Save a record packet."""
73
- logger.debug(
74
- "Saving record packet (%r) for anchor %s on connection %s",
75
- record_packet,
76
- anchor_name,
77
- connection_name,
78
- )
79
- self._records_list.setdefault(anchor_name, {})
80
- self._records_list[anchor_name].setdefault(connection_name, [])
81
-
82
- self._record_packet_cache.setdefault(anchor_name, {})
83
-
84
- self._records_list[anchor_name][connection_name].append(
85
- record_packet.to_dataframe()
86
- )
87
-
88
- def save_grpc_record_packet(
89
- self,
90
- anchor_name: str,
91
- connection_name: str,
92
- grpc_record_packet: "ProtobufRecordPacket",
93
- metadata: "Metadata",
94
- ) -> None:
95
- """Save a record packet from its protobuffer format."""
96
- record_packet, _, _ = self._record_packet_builder.from_protobuf(
97
- grpc_record_packet, metadata
98
- )
99
- self.push_record_packet(anchor_name, connection_name, record_packet)
100
-
101
- def _reshape_packets(
102
- self, anchor_name: str, connection_name: str
103
- ) -> Tuple["pd.DataFrame", "pd.DataFrame", int]:
104
- """
105
- Reshape packets based on number of requested rows.
106
-
107
- Concatenate record packets from the queue into a single dataframe,
108
- then return that dataframe and the number of record packets to remove from the queue.
109
-
110
- Parameters
111
- ----------
112
- anchor_name
113
- The name of the input anchor that the metadata is associated with.
114
- connection_name
115
- The name of the input connection that the metadata is associated with.
116
-
117
- Returns
118
- -------
119
- Tuple["pd.DataFrame", "pd.DataFrame", int]
120
- A tuple containing:
121
- Dataframe containing the correct number of packets,
122
- the remainder of the original dataframe, and
123
- number of packets to remove from internal queue
124
- """
125
- import numpy as np # noqa: F811
126
- import pandas as pd # noqa: F811
127
-
128
- if anchor_name not in self._records_list:
129
- raise ValueError(f"Anchor {anchor_name} not found in repository.")
130
-
131
- if connection_name not in self._records_list[anchor_name]:
132
- raise ValueError(
133
- f"Connection {connection_name} not found in repository for anchor {anchor_name}."
134
- )
135
-
136
- if connection_name in self._record_packet_cache[anchor_name]:
137
- return self._record_packet_cache[anchor_name][connection_name]
138
-
139
- max_packet_size = self._input_connection_repo.get_connection(
140
- anchor_name, connection_name
141
- ).max_packet_size
142
-
143
- if len(self._records_list[anchor_name][connection_name]) == 0:
144
- raise EmptyRecordPacketRepositoryException
145
-
146
- if max_packet_size is None:
147
- self._record_packet_cache[anchor_name][connection_name] = (
148
- pd.concat(self._records_list[anchor_name][connection_name]),
149
- pd.DataFrame(),
150
- len(self._records_list[anchor_name][connection_name]),
151
- )
152
- return self._record_packet_cache[anchor_name][connection_name]
153
-
154
- cumulative_lengths: np.ndarray = np.cumsum(
155
- [len(packet) for packet in self._records_list[anchor_name][connection_name]]
156
- )
157
- if (
158
- cumulative_lengths[-1] < max_packet_size
159
- and not InputConnectionRepository().get_connection_status(
160
- anchor_name, connection_name
161
- )
162
- == InputConnectionStatus.CLOSED
163
- ):
164
- raise UnfinishedRecordPacketException
165
-
166
- packets = [
167
- idx
168
- for idx, element in enumerate(cumulative_lengths)
169
- if element > max_packet_size and idx > 0
170
- ] + [len(cumulative_lengths)]
171
- num_packets_to_merge = packets[0]
172
-
173
- df = pd.concat(
174
- self._records_list[anchor_name][connection_name][:num_packets_to_merge]
175
- )
176
- right_size_dataframe = df.iloc[:max_packet_size]
177
- overflow_dataframe = df.iloc[max_packet_size:]
178
- self._record_packet_cache[anchor_name][connection_name] = (
179
- right_size_dataframe,
180
- overflow_dataframe,
181
- num_packets_to_merge,
182
- )
183
- return self._record_packet_cache[anchor_name][connection_name]
184
-
185
- def peek_record_packet(
186
- self, anchor_name: str, connection_name: str
187
- ) -> "RecordPacketBase":
188
- """
189
- Get the next record packet without popping from the queue.
190
-
191
- Parameters
192
- ----------
193
- anchor_name
194
- The name of the input anchor that the metadata is associated with.
195
- connection_name
196
- The name of the input connection that the metadata is associated with.
197
-
198
- Returns
199
- -------
200
- RecordPacketBase
201
- The AMPRecordPacket at the front of the internal queue.
202
- """
203
- self._record_packet_cache.setdefault(anchor_name, {})
204
- right_size_dataframe, _, _ = self._reshape_packets(anchor_name, connection_name)
205
- return AMPRecordPacket(
206
- InputMetadataRepository().get_metadata(anchor_name, connection_name),
207
- right_size_dataframe,
208
- )
209
-
210
- def pop_record_packet(
211
- self, anchor_name: str, connection_name: str
212
- ) -> "RecordPacketBase":
213
- """
214
- Retrieve record packet if there are enough records to meet the max packet size criteria.
215
-
216
- Parameters
217
- ----------
218
- anchor_name
219
- The name of the input anchor that the metadata is associated with.
220
- connection_name
221
- The name of the input connection that the metadata is associated with.
222
-
223
- Returns
224
- -------
225
- RecordPacketBase
226
- The AMPRecordPacket that was popped off the internal queue.
227
- """
228
- (
229
- right_size_dataframe,
230
- remainder_packet,
231
- packets_to_remove,
232
- ) = self._reshape_packets(anchor_name, connection_name)
233
-
234
- self._records_list[anchor_name][connection_name] = self._records_list[
235
- anchor_name
236
- ][connection_name][packets_to_remove:]
237
- if connection_name in self._record_packet_cache[anchor_name]:
238
- del self._record_packet_cache[anchor_name][connection_name]
239
-
240
- if not remainder_packet.empty:
241
- self._records_list[anchor_name][connection_name].insert(0, remainder_packet)
242
-
243
- return AMPRecordPacket(
244
- InputMetadataRepository().get_metadata(anchor_name, connection_name),
245
- right_size_dataframe,
246
- )
247
-
248
- def clear_repository(self) -> None:
249
- """Delete all data in the repository."""
250
- logger.debug("Clearing InputRecordPacketRepository")
251
- self._records_list = {}
252
- self._record_packet_cache = {}
@@ -1,188 +0,0 @@
1
- # Copyright (C) 2022 Alteryx, Inc. All rights reserved.
2
- #
3
- # Licensed under the ALTERYX SDK AND API LICENSE AGREEMENT;
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.alteryx.com/alteryx-sdk-and-api-license-agreement
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- """Class that saves and retrieves AMP IO information."""
15
- import logging
16
- import uuid
17
- from pathlib import Path
18
- from typing import Any, cast
19
-
20
- from another_ayx_python_sdk.core.exceptions import WorkflowRuntimeError
21
- from another_ayx_python_sdk.providers.amp_provider.repositories import EnvironmentRepository
22
- from another_ayx_python_sdk.providers.amp_provider.repositories import GrpcRepository
23
- from another_ayx_python_sdk.providers.amp_provider.repositories.singleton import Singleton
24
- from another_ayx_python_sdk.providers.amp_provider.resources.generated.output_message_data_pb2 import (
25
- OutputMessageData,
26
- OutputMessageTypes,
27
- )
28
- from another_ayx_python_sdk.providers.amp_provider.resources.generated.password_data_pb2 import (
29
- PasswordData,
30
- )
31
- from another_ayx_python_sdk.providers.amp_provider.resources.generated.translate_message_data_pb2 import (
32
- TranslateMessageData,
33
- )
34
-
35
- logger = logging.getLogger(__name__)
36
-
37
-
38
- class IORepository(metaclass=Singleton):
39
- """Repository that stores IO information."""
40
-
41
- def __init__(self) -> None:
42
- """Initialize the IO repository."""
43
-
44
- @staticmethod
45
- def save_error(error_msg: str) -> None:
46
- """
47
- Display an error message in the Results window.
48
-
49
- Parameters
50
- ----------
51
- error_msg
52
- The error message to be output.
53
- """
54
- GrpcRepository().get_sdk_engine_client().OutputMessage(
55
- OutputMessageData(
56
- message_type=OutputMessageTypes.OMT_Error, message=error_msg
57
- )
58
- )
59
-
60
- @staticmethod
61
- def save_warn(warn_msg: str) -> None:
62
- """
63
- Display a warning message in the Results window.
64
-
65
- Parameters
66
- ----------
67
- warn_msg
68
- The warning message to be output.
69
- """
70
- GrpcRepository().get_sdk_engine_client().OutputMessage(
71
- OutputMessageData(
72
- message_type=OutputMessageTypes.OMT_Warning, message=warn_msg
73
- )
74
- )
75
-
76
- @staticmethod
77
- def save_info(info_msg: str) -> None:
78
- """
79
- Display an info message in the Results window.
80
-
81
- Parameters
82
- ----------
83
- info_msg
84
- The info message to be output.
85
- """
86
- GrpcRepository().get_sdk_engine_client().OutputMessage(
87
- OutputMessageData(
88
- message_type=OutputMessageTypes.OMT_Info, message=info_msg
89
- )
90
- )
91
-
92
- @staticmethod
93
- def get_translate_msg(msg: str, *args: Any) -> str:
94
- """
95
- Translate a message to the current locale.
96
-
97
- Parameters
98
- ----------
99
- msg
100
- Message to translate.
101
- *args
102
- Interpolation data for the string.
103
-
104
- Returns
105
- -------
106
- str
107
- The message, translated into the locale.
108
- """
109
- interpolation_data = [str(arg) for arg in args] if len(args) > 0 else []
110
- res = (
111
- GrpcRepository()
112
- .get_sdk_engine_client()
113
- .TranslateMessage(
114
- TranslateMessageData(
115
- unlocalized_string=msg, interpolation_data=interpolation_data
116
- )
117
- )
118
- )
119
-
120
- return cast(str, res.translated_message)
121
-
122
- @staticmethod
123
- def update_progress(percent: float) -> None:
124
- """
125
- Update tool progress.
126
-
127
- Parameters
128
- ----------
129
- percent
130
- The progress (how close the connection is to processing all records) as a percentage.
131
- """
132
- # TODO
133
-
134
- @staticmethod
135
- def get_temp_file(extension: str = "tmp") -> "Path":
136
- """
137
- Create a temporary file managed by Designer.
138
-
139
- Parameters
140
- ----------
141
- extension
142
- The file extension of the temp file.
143
-
144
- Returns
145
- -------
146
- Path
147
- The path to where the temp file is.
148
- """
149
- temp_file_name = f"temp-file-{str(uuid.uuid4())}.{str(extension)}"
150
- engine_temp_dir = EnvironmentRepository().get_temp_dir()
151
- temp_file_path = Path(engine_temp_dir) / (temp_file_name)
152
- try:
153
- temp_file_path.touch()
154
- except FileNotFoundError:
155
- # path does not exist
156
- logger.error("Engine.TempFilePath (%s) does not exist", engine_temp_dir)
157
- except IOError:
158
- # path exists but no write permissions
159
- logger.error("No write permissions for directory %s", engine_temp_dir)
160
-
161
- return Path(temp_file_path)
162
-
163
- @staticmethod
164
- def decrypt_password(password: str) -> str: # noqa: D102
165
- """
166
- Decrypt password.
167
-
168
- Parameters
169
- ----------
170
- password
171
- The password to decrypt.
172
-
173
- Returns
174
- -------
175
- str
176
- The decrypted password.
177
- """
178
- import grpc
179
-
180
- try:
181
- decrypted = (
182
- GrpcRepository()
183
- .get_sdk_engine_client()
184
- .DecryptPassword(PasswordData(password=password))
185
- )
186
- except grpc.RpcError:
187
- raise WorkflowRuntimeError("Error decrypting password")
188
- return cast(str, decrypted.password)
@@ -1,117 +0,0 @@
1
- # Copyright (C) 2022 Alteryx, Inc. All rights reserved.
2
- #
3
- # Licensed under the ALTERYX SDK AND API LICENSE AGREEMENT;
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.alteryx.com/alteryx-sdk-and-api-license-agreement
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- """Repository for output anchor GRPC."""
15
- import logging
16
- from typing import Dict, List, TYPE_CHECKING
17
-
18
- from another_ayx_python_sdk.providers.amp_provider.builders.output_anchor_builder import (
19
- OutputAnchorBuilder,
20
- )
21
- from another_ayx_python_sdk.providers.amp_provider.repositories.singleton import Singleton
22
-
23
-
24
- if TYPE_CHECKING:
25
- from another_ayx_python_sdk.providers.amp_provider.amp_output_anchor import (
26
- AMPOutputAnchor as CoreOutputAnchor,
27
- )
28
- from another_ayx_python_sdk.providers.amp_provider.resources.generated.outgoing_anchor_pb2 import (
29
- OutgoingAnchor as GrpcOutputAnchor,
30
- )
31
-
32
-
33
- logger = logging.getLogger(__name__)
34
-
35
-
36
- class OutputAnchorRepository(metaclass=Singleton):
37
- """Repository class, output anchors."""
38
-
39
- _output_anchor_builder = OutputAnchorBuilder()
40
-
41
- def __init__(self) -> None:
42
- self._repository: Dict[str, "CoreOutputAnchor"] = {}
43
-
44
- def save_anchor(self, anchor: "CoreOutputAnchor") -> None:
45
- """
46
- Save an AMPOutputAnchor object to the repository.
47
-
48
- Parameters
49
- ----------
50
- anchor
51
- The AMP output anchor to save to the repository.
52
- """
53
- logger.debug("Adding anchor %s to OutputAnchorRepository", anchor.name)
54
- self._repository[anchor.name] = anchor
55
- logger.debug("Current OutputAnchorRepository State: %s", self._repository)
56
-
57
- def get_anchor(self, anchor_name: str) -> "CoreOutputAnchor":
58
- """
59
- Retrieve an AMPOutputAnchor object from the repository if it's already been saved.
60
-
61
- Parameters
62
- ----------
63
- anchor_name
64
- The name of the output anchor to get from the repository.
65
-
66
- Returns
67
- -------
68
- CoreOutputAnchor
69
- The retrieved output anchor that corresponds to the anchor name.
70
- """
71
- if anchor_name not in self._repository:
72
- raise ValueError(f"Anchor {anchor_name} does not exist")
73
- return self._repository[anchor_name]
74
-
75
- def delete_anchor(self, anchor_name: str) -> None:
76
- """
77
- Remove an AMPOutputAnchor object from the repository if it's already been saved.
78
-
79
- Parameters
80
- ----------
81
- anchor_name
82
- The name of the output anchor to delete from the repository.
83
- """
84
- if anchor_name not in self._repository:
85
- raise ValueError(f"Anchor {anchor_name} can't be deleted, it doesn't exist")
86
- logger.debug("Removing anchor %s from OutputAnchorRepository", anchor_name)
87
- del self._repository[anchor_name]
88
- logger.debug("Current OutputAnchorRepository State: %s", self._repository)
89
-
90
- def save_grpc_anchor(self, anchor: "GrpcOutputAnchor") -> None:
91
- """
92
- Save a protobuf Output Anchor to the repository.
93
-
94
- Parameters
95
- ----------
96
- anchor
97
- The grpc representation of the output anchor.
98
- """
99
- core_anchor = self._output_anchor_builder.from_protobuf(anchor)
100
- self.save_anchor(anchor=core_anchor)
101
-
102
- def clear_repository(self) -> None:
103
- """Delete all data in the repository."""
104
- logger.debug("Clearing OutputAnchorRepository")
105
- self._repository = {}
106
- logger.debug("Current OutputAnchorRepository State: %s", self._repository)
107
-
108
- def get_all_anchor_names(self) -> List[str]:
109
- """
110
- Pull a list of all anchor names in the repository.
111
-
112
- Returns
113
- -------
114
- List[str]
115
- List of all anchor names that exist in the repository.
116
- """
117
- return list(self._repository.keys())
@@ -1,129 +0,0 @@
1
- # Copyright (C) 2022 Alteryx, Inc. All rights reserved.
2
- #
3
- # Licensed under the ALTERYX SDK AND API LICENSE AGREEMENT;
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.alteryx.com/alteryx-sdk-and-api-license-agreement
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
- """Class that saves output metadata information given the associated anchor name."""
15
- import logging
16
- from typing import Dict, TYPE_CHECKING
17
-
18
- from another_ayx_python_sdk.providers.amp_provider.builders.metadata_builder import (
19
- MetadataBuilder,
20
- )
21
- from another_ayx_python_sdk.providers.amp_provider.repositories import GrpcRepository
22
- from another_ayx_python_sdk.providers.amp_provider.repositories.singleton import Singleton
23
- from another_ayx_python_sdk.providers.amp_provider.resources.generated.outgoing_metadata_push_pb2 import (
24
- OutgoingMetadataPush,
25
- )
26
-
27
- if TYPE_CHECKING:
28
- from another_ayx_python_sdk.core.metadata import Metadata as CoreMetadata
29
- from another_ayx_python_sdk.providers.amp_provider.resources.generated.metadata_pb2 import (
30
- Metadata as ProtobufMetadata,
31
- )
32
-
33
-
34
- logger = logging.getLogger(__name__)
35
-
36
-
37
- class OutputMetadataRepository(metaclass=Singleton):
38
- """Repository that stores output metadata information."""
39
-
40
- _metadata_builder = MetadataBuilder()
41
-
42
- def __init__(self) -> None:
43
- """Initialize the output metadata repository."""
44
- self._metadata_map: Dict[str, "CoreMetadata"] = {}
45
-
46
- def save_metadata(self, anchor_name: str, metadata: "CoreMetadata") -> None:
47
- """
48
- Save output metadata information for the associated anchor name.
49
-
50
- Parameters
51
- ----------
52
- anchor_name
53
- The name of the anchor.
54
- metadata
55
- The metadata of the record packets that will be associated with this anchor.
56
- """
57
- logger.debug("Saving metadata %s to anchor %s", metadata, anchor_name)
58
- self._metadata_map[anchor_name] = metadata
59
- logger.debug("Current OutputMetadataRepository State: %s", self._metadata_map)
60
-
61
- try:
62
- client = GrpcRepository().get_sdk_engine_client()
63
- except ValueError:
64
- pass
65
- else:
66
- client.PushOutgoingMetadata(
67
- OutgoingMetadataPush(
68
- output_anchor_name=anchor_name,
69
- metadata=self.get_grpc_metadata(anchor_name),
70
- )
71
- )
72
-
73
- def get_metadata(self, anchor_name: str) -> "CoreMetadata":
74
- """
75
- Get the output metadata associated with the given anchor name.
76
-
77
- Parameters
78
- ----------
79
- anchor_name
80
- The name of the anchor.
81
-
82
- Returns
83
- -------
84
- CoreMetadata
85
- Retrieves the metadata that is associatd with the specified anchor.
86
- """
87
- if anchor_name not in self._metadata_map:
88
- raise ValueError(f"Anchor {anchor_name} not found in repository.")
89
-
90
- return self._metadata_map[anchor_name]
91
-
92
- def get_grpc_metadata(self, anchor_name: str) -> "ProtobufMetadata":
93
- """
94
- Get the output Protobuf metadata message associated with the given anchor name.
95
-
96
- Parameters
97
- ----------
98
- anchor_name
99
- The name of the anchor.
100
-
101
- Returns
102
- -------
103
- ProtobufMetadata
104
- The metadata of the record packets that will be associated with this anchor as a protobuf object.
105
- """
106
- metadata = self.get_metadata(anchor_name)
107
-
108
- return self._metadata_builder.to_protobuf(metadata)
109
-
110
- def delete_metadata(self, anchor_name: str) -> None:
111
- """
112
- Delete the output metadata associated with the given anchor name.
113
-
114
- Parameters
115
- ----------
116
- anchor_name
117
- The name of the anchor to delete.
118
- """
119
- if anchor_name not in self._metadata_map:
120
- raise ValueError(f"Anchor {anchor_name} not found in repository.")
121
- logger.debug("Removing metadata associated with anchor %s", anchor_name)
122
- self._metadata_map.pop(anchor_name)
123
- logger.debug("Current OutputAnchorRepository State: %s", self._metadata_map)
124
-
125
- def clear_repository(self) -> None:
126
- """Delete all data in the repository."""
127
- logger.debug("Clearing OutputAnchorRepository")
128
- self._metadata_map = {}
129
- logger.debug("Current OutputAnchorRepository State: %s", self._metadata_map)