timeplus 1.4.0__tar.gz → 2.0.0b1__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 (269) hide show
  1. {timeplus-1.4.0 → timeplus-2.0.0b1}/PKG-INFO +1 -1
  2. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/__init__.py +8 -1
  3. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/__init__.py +6 -1
  4. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/alert.py +0 -2
  5. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/external_stream.py +3 -3
  6. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/external_stream_def.py +3 -3
  7. timeplus-2.0.0b1/swagger_client/models/external_table.py +268 -0
  8. timeplus-2.0.0b1/swagger_client/models/external_table_def.py +164 -0
  9. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/query.py +5 -1
  10. timeplus-2.0.0b1/swagger_client/models/schema_resp.py +266 -0
  11. timeplus-1.4.0/swagger_client/models/external_stream_setting.py → timeplus-2.0.0b1/swagger_client/models/stream_setting.py +12 -12
  12. timeplus-2.0.0b1/swagger_client/models/v1beta2_create_schema_request.py +171 -0
  13. timeplus-2.0.0b1/swagger_client/models/v1beta2_update_schema_request.py +171 -0
  14. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/__init__.py +2 -0
  15. timeplus-2.0.0b1/swagger_client/timeplus/external_tables_v1beta2_api.py +409 -0
  16. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/queries_v1beta2_api.py +1 -1
  17. timeplus-2.0.0b1/swagger_client/timeplus/schemas_v1beta2_api.py +508 -0
  18. timeplus-2.0.0b1/swagger_test/test_external_table.py +39 -0
  19. timeplus-2.0.0b1/swagger_test/test_external_table_def.py +39 -0
  20. timeplus-2.0.0b1/swagger_test/test_external_tables_v1beta2_api.py +61 -0
  21. timeplus-2.0.0b1/swagger_test/test_schema_resp.py +39 -0
  22. timeplus-2.0.0b1/swagger_test/test_schemas_v1beta2_api.py +68 -0
  23. timeplus-2.0.0b1/swagger_test/test_stream_setting.py +39 -0
  24. timeplus-2.0.0b1/swagger_test/test_v1beta2_create_schema_request.py +39 -0
  25. timeplus-2.0.0b1/swagger_test/test_v1beta2_update_schema_request.py +39 -0
  26. timeplus-2.0.0b1/test/test_analyze.py +11 -0
  27. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_ingest_stream.py +19 -7
  28. timeplus-2.0.0b1/test/test_schema.py +62 -0
  29. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_sqlalchemy_query.py +22 -2
  30. timeplus-2.0.0b1/test/test_topology.py +7 -0
  31. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/__init__.py +2 -0
  32. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/dashboard.py +2 -1
  33. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/dbapi.py +11 -4
  34. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/external_stream.py +25 -7
  35. timeplus-2.0.0b1/timeplus/schema.py +167 -0
  36. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/sink.py +3 -8
  37. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/stream.py +30 -27
  38. timeplus-2.0.0b1/timeplus/topology.py +38 -0
  39. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/udf.py +1 -3
  40. timeplus-2.0.0b1/timeplus/version.py +1 -0
  41. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus.egg-info/PKG-INFO +1 -1
  42. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus.egg-info/SOURCES.txt +21 -2
  43. timeplus-1.4.0/swagger_test/test_external_stream_setting.py +0 -39
  44. timeplus-1.4.0/timeplus/version.py +0 -1
  45. {timeplus-1.4.0 → timeplus-2.0.0b1}/README.md +0 -0
  46. {timeplus-1.4.0 → timeplus-2.0.0b1}/setup.cfg +0 -0
  47. {timeplus-1.4.0 → timeplus-2.0.0b1}/setup.py +0 -0
  48. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/api_client.py +0 -0
  49. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/configuration.py +0 -0
  50. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/alert_incident.py +0 -0
  51. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/alert_timeline.py +0 -0
  52. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/analyze_sql_request.py +0 -0
  53. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/api_key.py +0 -0
  54. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/batching_policy.py +0 -0
  55. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/build.py +0 -0
  56. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/column.py +0 -0
  57. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/column_def.py +0 -0
  58. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/columns_resp.py +0 -0
  59. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_alert_request.py +0 -0
  60. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_api_key_request.py +0 -0
  61. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_api_key_response.py +0 -0
  62. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_dashboard_request.py +0 -0
  63. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_query_request_v1_beta2.py +0 -0
  64. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_saved_query_request.py +0 -0
  65. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_sink_request.py +0 -0
  66. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_source_request.py +0 -0
  67. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/create_view_request.py +0 -0
  68. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/customer.py +0 -0
  69. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/dashboard_dashboard.py +0 -0
  70. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/dashboard_panel.py +0 -0
  71. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/edge.py +0 -0
  72. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/error_response.py +0 -0
  73. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/event.py +0 -0
  74. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/event_infer_request.py +0 -0
  75. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/event_infer_response.py +0 -0
  76. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/execute_query_request.py +0 -0
  77. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/format_query_request.py +0 -0
  78. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/format_query_response.py +0 -0
  79. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/global_metrics_result.py +0 -0
  80. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/graph.py +0 -0
  81. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/info.py +0 -0
  82. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/ingest_data.py +0 -0
  83. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/invitation.py +0 -0
  84. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/invitation_request.py +0 -0
  85. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/kafka_common.py +0 -0
  86. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/kafka_common_tls.py +0 -0
  87. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/keygen_license.py +0 -0
  88. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/license_license.py +0 -0
  89. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/node.py +0 -0
  90. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/owner.py +0 -0
  91. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/payment.py +0 -0
  92. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/query_pipeline.py +0 -0
  93. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/query_pipeline_edge.py +0 -0
  94. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/query_pipeline_node.py +0 -0
  95. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/query_pipeline_node_metric.py +0 -0
  96. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/query_result.py +0 -0
  97. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/saved_query.py +0 -0
  98. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/sink.py +0 -0
  99. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/sink_stat.py +0 -0
  100. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/sink_stats.py +0 -0
  101. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/source.py +0 -0
  102. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/source_preview_request.py +0 -0
  103. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/sql_analyze_column.py +0 -0
  104. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/sql_analyze_result.py +0 -0
  105. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/stats.py +0 -0
  106. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/stats_error.py +0 -0
  107. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/stats_throughput.py +0 -0
  108. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/stream.py +0 -0
  109. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/stream_def.py +0 -0
  110. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/stream_match_request.py +0 -0
  111. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/stream_stats.py +0 -0
  112. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/subscription.py +0 -0
  113. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/time_columns.py +0 -0
  114. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/udf.py +0 -0
  115. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/udf_argument.py +0 -0
  116. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/udf_auth_context.py +0 -0
  117. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/update_dashboard_request.py +0 -0
  118. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/update_source_request.py +0 -0
  119. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/update_stream_request.py +0 -0
  120. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/update_view_request.py +0 -0
  121. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/update_workspace_request.py +0 -0
  122. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/v1beta2_licenses_body.py +0 -0
  123. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/v1beta2_list_kafka_topic_request.py +0 -0
  124. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/view.py +0 -0
  125. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/workspace.py +0 -0
  126. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/models/workspace_settings.py +0 -0
  127. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/rest.py +0 -0
  128. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/alerts_v1beta2_api.py +0 -0
  129. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/api_keys_v1beta2_api.py +0 -0
  130. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/dashboards_v1beta2_api.py +0 -0
  131. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/external_streams_v1beta2_api.py +0 -0
  132. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/invitations_v1beta2_api.py +0 -0
  133. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/license_v1beta2_api.py +0 -0
  134. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/metrics_v1beta2_api.py +0 -0
  135. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/misc_api.py +0 -0
  136. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/saved_queries_v1beta2_api.py +0 -0
  137. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/sinks_v1beta2_api.py +0 -0
  138. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/sources_v1beta2_api.py +0 -0
  139. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/streams_v1beta2_api.py +0 -0
  140. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/subscription_v1beta2_api.py +0 -0
  141. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/topology_v1beta2_api.py +0 -0
  142. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/udfs_v1beta2_api.py +0 -0
  143. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/views_v1beta2_api.py +0 -0
  144. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/workspace_v1beta2_api.py +0 -0
  145. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_client/timeplus/workspaces_v1beta2_api.py +0 -0
  146. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/__init__.py +0 -0
  147. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_alert.py +0 -0
  148. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_alert_incident.py +0 -0
  149. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_alert_timeline.py +0 -0
  150. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_alerts_v1beta2_api.py +0 -0
  151. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_analyze_sql_request.py +0 -0
  152. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_api_key.py +0 -0
  153. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_api_keys_v1beta2_api.py +0 -0
  154. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_batching_policy.py +0 -0
  155. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_build.py +0 -0
  156. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_column.py +0 -0
  157. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_column_def.py +0 -0
  158. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_columns_resp.py +0 -0
  159. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_alert_request.py +0 -0
  160. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_api_key_request.py +0 -0
  161. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_api_key_response.py +0 -0
  162. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_dashboard_request.py +0 -0
  163. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_query_request_v1_beta2.py +0 -0
  164. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_saved_query_request.py +0 -0
  165. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_sink_request.py +0 -0
  166. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_source_request.py +0 -0
  167. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_create_view_request.py +0 -0
  168. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_customer.py +0 -0
  169. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_dashboard_dashboard.py +0 -0
  170. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_dashboard_panel.py +0 -0
  171. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_dashboards_v1beta2_api.py +0 -0
  172. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_edge.py +0 -0
  173. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_error_response.py +0 -0
  174. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_event.py +0 -0
  175. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_event_infer_request.py +0 -0
  176. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_event_infer_response.py +0 -0
  177. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_execute_query_request.py +0 -0
  178. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_external_stream.py +0 -0
  179. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_external_stream_def.py +0 -0
  180. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_external_streams_v1beta2_api.py +0 -0
  181. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_format_query_request.py +0 -0
  182. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_format_query_response.py +0 -0
  183. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_global_metrics_result.py +0 -0
  184. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_graph.py +0 -0
  185. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_info.py +0 -0
  186. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_ingest_data.py +0 -0
  187. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_invitation.py +0 -0
  188. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_invitation_request.py +0 -0
  189. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_invitations_v1beta2_api.py +0 -0
  190. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_kafka_common.py +0 -0
  191. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_kafka_common_tls.py +0 -0
  192. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_keygen_license.py +0 -0
  193. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_license_license.py +0 -0
  194. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_license_v1beta2_api.py +0 -0
  195. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_metrics_v1beta2_api.py +0 -0
  196. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_misc_api.py +0 -0
  197. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_node.py +0 -0
  198. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_owner.py +0 -0
  199. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_payment.py +0 -0
  200. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_queries_v1beta2_api.py +0 -0
  201. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_query.py +0 -0
  202. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_query_pipeline.py +0 -0
  203. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_query_pipeline_edge.py +0 -0
  204. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_query_pipeline_node.py +0 -0
  205. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_query_pipeline_node_metric.py +0 -0
  206. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_query_result.py +0 -0
  207. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_saved_queries_v1beta2_api.py +0 -0
  208. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_saved_query.py +0 -0
  209. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_sink.py +0 -0
  210. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_sink_stat.py +0 -0
  211. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_sink_stats.py +0 -0
  212. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_sinks_v1beta2_api.py +0 -0
  213. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_source.py +0 -0
  214. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_source_preview_request.py +0 -0
  215. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_sources_v1beta2_api.py +0 -0
  216. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_sql_analyze_column.py +0 -0
  217. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_sql_analyze_result.py +0 -0
  218. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_stats.py +0 -0
  219. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_stats_error.py +0 -0
  220. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_stats_throughput.py +0 -0
  221. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_stream.py +0 -0
  222. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_stream_def.py +0 -0
  223. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_stream_match_request.py +0 -0
  224. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_stream_stats.py +0 -0
  225. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_streams_v1beta2_api.py +0 -0
  226. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_subscription.py +0 -0
  227. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_subscription_v1beta2_api.py +0 -0
  228. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_time_columns.py +0 -0
  229. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_topology_v1beta2_api.py +0 -0
  230. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_udf.py +0 -0
  231. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_udf_argument.py +0 -0
  232. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_udf_auth_context.py +0 -0
  233. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_udfs_v1beta2_api.py +0 -0
  234. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_update_dashboard_request.py +0 -0
  235. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_update_source_request.py +0 -0
  236. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_update_stream_request.py +0 -0
  237. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_update_view_request.py +0 -0
  238. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_update_workspace_request.py +0 -0
  239. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_v1beta2_licenses_body.py +0 -0
  240. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_v1beta2_list_kafka_topic_request.py +0 -0
  241. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_view.py +0 -0
  242. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_views_v1beta2_api.py +0 -0
  243. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_workspace.py +0 -0
  244. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_workspace_settings.py +0 -0
  245. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_workspace_v1beta2_api.py +0 -0
  246. {timeplus-1.4.0 → timeplus-2.0.0b1}/swagger_test/test_workspaces_v1beta2_api.py +0 -0
  247. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_alert.py +0 -0
  248. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_dashboard.py +0 -0
  249. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_dbapi.py +0 -0
  250. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_env.py +0 -0
  251. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_external_stream.py +0 -0
  252. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_query.py +0 -0
  253. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_sink.py +0 -0
  254. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_source.py +0 -0
  255. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_sqlalchemy_types.py +0 -0
  256. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_stream.py +0 -0
  257. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_udf.py +0 -0
  258. {timeplus-1.4.0 → timeplus-2.0.0b1}/test/test_view.py +0 -0
  259. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/alert.py +0 -0
  260. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/env.py +0 -0
  261. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/error.py +0 -0
  262. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/query.py +0 -0
  263. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/source.py +0 -0
  264. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/sqlalchemy.py +0 -0
  265. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/type.py +0 -0
  266. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus/view.py +0 -0
  267. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus.egg-info/dependency_links.txt +0 -0
  268. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus.egg-info/requires.txt +0 -0
  269. {timeplus-1.4.0 → timeplus-2.0.0b1}/timeplus.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: timeplus
3
- Version: 1.4.0
3
+ Version: 2.0.0b1
4
4
  Summary: Timeplus python SDK
5
5
  Home-page: https://github.com/timeplus-io/gluon/tree/develop/python
6
6
  Author: Gang Tao
@@ -19,12 +19,14 @@ from swagger_client.timeplus.api_keys_v1beta2_api import APIKeysV1beta2Api
19
19
  from swagger_client.timeplus.alerts_v1beta2_api import AlertsV1beta2Api
20
20
  from swagger_client.timeplus.dashboards_v1beta2_api import DashboardsV1beta2Api
21
21
  from swagger_client.timeplus.external_streams_v1beta2_api import ExternalStreamsV1beta2Api
22
+ from swagger_client.timeplus.external_tables_v1beta2_api import ExternalTablesV1beta2Api
22
23
  from swagger_client.timeplus.invitations_v1beta2_api import InvitationsV1beta2Api
23
24
  from swagger_client.timeplus.license_v1beta2_api import LicenseV1beta2Api
24
25
  from swagger_client.timeplus.metrics_v1beta2_api import MetricsV1beta2Api
25
26
  from swagger_client.timeplus.misc_api import MiscApi
26
27
  from swagger_client.timeplus.queries_v1beta2_api import QueriesV1beta2Api
27
28
  from swagger_client.timeplus.saved_queries_v1beta2_api import SavedQueriesV1beta2Api
29
+ from swagger_client.timeplus.schemas_v1beta2_api import SchemasV1beta2Api
28
30
  from swagger_client.timeplus.sinks_v1beta2_api import SinksV1beta2Api
29
31
  from swagger_client.timeplus.sources_v1beta2_api import SourcesV1beta2Api
30
32
  from swagger_client.timeplus.streams_v1beta2_api import StreamsV1beta2Api
@@ -68,7 +70,8 @@ from swagger_client.models.event_infer_response import EventInferResponse
68
70
  from swagger_client.models.execute_query_request import ExecuteQueryRequest
69
71
  from swagger_client.models.external_stream import ExternalStream
70
72
  from swagger_client.models.external_stream_def import ExternalStreamDef
71
- from swagger_client.models.external_stream_setting import ExternalStreamSetting
73
+ from swagger_client.models.external_table import ExternalTable
74
+ from swagger_client.models.external_table_def import ExternalTableDef
72
75
  from swagger_client.models.format_query_request import FormatQueryRequest
73
76
  from swagger_client.models.format_query_response import FormatQueryResponse
74
77
  from swagger_client.models.global_metrics_result import GlobalMetricsResult
@@ -93,6 +96,7 @@ from swagger_client.models.query_result import QueryResult
93
96
  from swagger_client.models.sql_analyze_column import SQLAnalyzeColumn
94
97
  from swagger_client.models.sql_analyze_result import SQLAnalyzeResult
95
98
  from swagger_client.models.saved_query import SavedQuery
99
+ from swagger_client.models.schema_resp import SchemaResp
96
100
  from swagger_client.models.sink import Sink
97
101
  from swagger_client.models.sink_stat import SinkStat
98
102
  from swagger_client.models.sink_stats import SinkStats
@@ -104,6 +108,7 @@ from swagger_client.models.stats_throughput import StatsThroughput
104
108
  from swagger_client.models.stream import Stream
105
109
  from swagger_client.models.stream_def import StreamDef
106
110
  from swagger_client.models.stream_match_request import StreamMatchRequest
111
+ from swagger_client.models.stream_setting import StreamSetting
107
112
  from swagger_client.models.stream_stats import StreamStats
108
113
  from swagger_client.models.subscription import Subscription
109
114
  from swagger_client.models.time_columns import TimeColumns
@@ -115,8 +120,10 @@ from swagger_client.models.update_source_request import UpdateSourceRequest
115
120
  from swagger_client.models.update_stream_request import UpdateStreamRequest
116
121
  from swagger_client.models.update_view_request import UpdateViewRequest
117
122
  from swagger_client.models.update_workspace_request import UpdateWorkspaceRequest
123
+ from swagger_client.models.v1beta2_create_schema_request import V1beta2CreateSchemaRequest
118
124
  from swagger_client.models.v1beta2_licenses_body import V1beta2LicensesBody
119
125
  from swagger_client.models.v1beta2_list_kafka_topic_request import V1beta2ListKafkaTopicRequest
126
+ from swagger_client.models.v1beta2_update_schema_request import V1beta2UpdateSchemaRequest
120
127
  from swagger_client.models.view import View
121
128
  from swagger_client.models.workspace import Workspace
122
129
  from swagger_client.models.workspace_settings import WorkspaceSettings
@@ -44,7 +44,8 @@ from swagger_client.models.event_infer_response import EventInferResponse
44
44
  from swagger_client.models.execute_query_request import ExecuteQueryRequest
45
45
  from swagger_client.models.external_stream import ExternalStream
46
46
  from swagger_client.models.external_stream_def import ExternalStreamDef
47
- from swagger_client.models.external_stream_setting import ExternalStreamSetting
47
+ from swagger_client.models.external_table import ExternalTable
48
+ from swagger_client.models.external_table_def import ExternalTableDef
48
49
  from swagger_client.models.format_query_request import FormatQueryRequest
49
50
  from swagger_client.models.format_query_response import FormatQueryResponse
50
51
  from swagger_client.models.global_metrics_result import GlobalMetricsResult
@@ -69,6 +70,7 @@ from swagger_client.models.query_result import QueryResult
69
70
  from swagger_client.models.sql_analyze_column import SQLAnalyzeColumn
70
71
  from swagger_client.models.sql_analyze_result import SQLAnalyzeResult
71
72
  from swagger_client.models.saved_query import SavedQuery
73
+ from swagger_client.models.schema_resp import SchemaResp
72
74
  from swagger_client.models.sink import Sink
73
75
  from swagger_client.models.sink_stat import SinkStat
74
76
  from swagger_client.models.sink_stats import SinkStats
@@ -80,6 +82,7 @@ from swagger_client.models.stats_throughput import StatsThroughput
80
82
  from swagger_client.models.stream import Stream
81
83
  from swagger_client.models.stream_def import StreamDef
82
84
  from swagger_client.models.stream_match_request import StreamMatchRequest
85
+ from swagger_client.models.stream_setting import StreamSetting
83
86
  from swagger_client.models.stream_stats import StreamStats
84
87
  from swagger_client.models.subscription import Subscription
85
88
  from swagger_client.models.time_columns import TimeColumns
@@ -91,8 +94,10 @@ from swagger_client.models.update_source_request import UpdateSourceRequest
91
94
  from swagger_client.models.update_stream_request import UpdateStreamRequest
92
95
  from swagger_client.models.update_view_request import UpdateViewRequest
93
96
  from swagger_client.models.update_workspace_request import UpdateWorkspaceRequest
97
+ from swagger_client.models.v1beta2_create_schema_request import V1beta2CreateSchemaRequest
94
98
  from swagger_client.models.v1beta2_licenses_body import V1beta2LicensesBody
95
99
  from swagger_client.models.v1beta2_list_kafka_topic_request import V1beta2ListKafkaTopicRequest
100
+ from swagger_client.models.v1beta2_update_schema_request import V1beta2UpdateSchemaRequest
96
101
  from swagger_client.models.view import View
97
102
  from swagger_client.models.workspace import Workspace
98
103
  from swagger_client.models.workspace_settings import WorkspaceSettings
@@ -373,7 +373,6 @@ class Alert(object):
373
373
  :param resolve_query: The resolve_query of this Alert. # noqa: E501
374
374
  :type: Query
375
375
  """
376
- # comment it out due to the limitation of swagger codegen
377
376
  # if resolve_query is None:
378
377
  # raise ValueError("Invalid value for `resolve_query`, must not be `None`") # noqa: E501
379
378
 
@@ -464,7 +463,6 @@ class Alert(object):
464
463
  :param trigger_query: The trigger_query of this Alert. # noqa: E501
465
464
  :type: Query
466
465
  """
467
- # comment it out due to the limitation of swagger codegen
468
466
  # if trigger_query is None:
469
467
  # raise ValueError("Invalid value for `trigger_query`, must not be `None`") # noqa: E501
470
468
 
@@ -35,7 +35,7 @@ class ExternalStream(object):
35
35
  'last_updated_at': 'str',
36
36
  'last_updated_by': 'Owner',
37
37
  'name': 'str',
38
- 'settings': 'list[ExternalStreamSetting]'
38
+ 'settings': 'list[StreamSetting]'
39
39
  }
40
40
 
41
41
  attribute_map = {
@@ -232,7 +232,7 @@ class ExternalStream(object):
232
232
 
233
233
 
234
234
  :return: The settings of this ExternalStream. # noqa: E501
235
- :rtype: list[ExternalStreamSetting]
235
+ :rtype: list[StreamSetting]
236
236
  """
237
237
  return self._settings
238
238
 
@@ -242,7 +242,7 @@ class ExternalStream(object):
242
242
 
243
243
 
244
244
  :param settings: The settings of this ExternalStream. # noqa: E501
245
- :type: list[ExternalStreamSetting]
245
+ :type: list[StreamSetting]
246
246
  """
247
247
 
248
248
  self._settings = settings
@@ -31,7 +31,7 @@ class ExternalStreamDef(object):
31
31
  'columns': 'list[ColumnDef]',
32
32
  'description': 'str',
33
33
  'name': 'str',
34
- 'settings': 'list[ExternalStreamSetting]'
34
+ 'settings': 'list[StreamSetting]'
35
35
  }
36
36
 
37
37
  attribute_map = {
@@ -127,7 +127,7 @@ class ExternalStreamDef(object):
127
127
 
128
128
 
129
129
  :return: The settings of this ExternalStreamDef. # noqa: E501
130
- :rtype: list[ExternalStreamSetting]
130
+ :rtype: list[StreamSetting]
131
131
  """
132
132
  return self._settings
133
133
 
@@ -137,7 +137,7 @@ class ExternalStreamDef(object):
137
137
 
138
138
 
139
139
  :param settings: The settings of this ExternalStreamDef. # noqa: E501
140
- :type: list[ExternalStreamSetting]
140
+ :type: list[StreamSetting]
141
141
  """
142
142
  if settings is None:
143
143
  raise ValueError("Invalid value for `settings`, must not be `None`") # noqa: E501
@@ -0,0 +1,268 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Timeplus
5
+
6
+ Welcome to the Timeplus HTTP REST API specification. # noqa: E501
7
+
8
+ OpenAPI spec version: v1
9
+ Contact: support@timeplus.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ class ExternalTable(object):
19
+ """NOTE: This class is auto generated by the swagger code generator program.
20
+
21
+ Do not edit the class manually.
22
+ """
23
+ """
24
+ Attributes:
25
+ swagger_types (dict): The key is attribute name
26
+ and the value is attribute type.
27
+ attribute_map (dict): The key is attribute name
28
+ and the value is json key in definition.
29
+ """
30
+ swagger_types = {
31
+ 'created_at': 'str',
32
+ 'created_by': 'Owner',
33
+ 'description': 'str',
34
+ 'last_updated_at': 'str',
35
+ 'last_updated_by': 'Owner',
36
+ 'name': 'str',
37
+ 'settings': 'list[StreamSetting]'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'created_at': 'created_at',
42
+ 'created_by': 'created_by',
43
+ 'description': 'description',
44
+ 'last_updated_at': 'last_updated_at',
45
+ 'last_updated_by': 'last_updated_by',
46
+ 'name': 'name',
47
+ 'settings': 'settings'
48
+ }
49
+
50
+ def __init__(self, created_at=None, created_by=None, description=None, last_updated_at=None, last_updated_by=None, name=None, settings=None): # noqa: E501
51
+ """ExternalTable - a model defined in Swagger""" # noqa: E501
52
+ self._created_at = None
53
+ self._created_by = None
54
+ self._description = None
55
+ self._last_updated_at = None
56
+ self._last_updated_by = None
57
+ self._name = None
58
+ self._settings = None
59
+ self.discriminator = None
60
+ if created_at is not None:
61
+ self.created_at = created_at
62
+ if created_by is not None:
63
+ self.created_by = created_by
64
+ self.description = description
65
+ if last_updated_at is not None:
66
+ self.last_updated_at = last_updated_at
67
+ if last_updated_by is not None:
68
+ self.last_updated_by = last_updated_by
69
+ self.name = name
70
+ if settings is not None:
71
+ self.settings = settings
72
+
73
+ @property
74
+ def created_at(self):
75
+ """Gets the created_at of this ExternalTable. # noqa: E501
76
+
77
+
78
+ :return: The created_at of this ExternalTable. # noqa: E501
79
+ :rtype: str
80
+ """
81
+ return self._created_at
82
+
83
+ @created_at.setter
84
+ def created_at(self, created_at):
85
+ """Sets the created_at of this ExternalTable.
86
+
87
+
88
+ :param created_at: The created_at of this ExternalTable. # noqa: E501
89
+ :type: str
90
+ """
91
+
92
+ self._created_at = created_at
93
+
94
+ @property
95
+ def created_by(self):
96
+ """Gets the created_by of this ExternalTable. # noqa: E501
97
+
98
+
99
+ :return: The created_by of this ExternalTable. # noqa: E501
100
+ :rtype: Owner
101
+ """
102
+ return self._created_by
103
+
104
+ @created_by.setter
105
+ def created_by(self, created_by):
106
+ """Sets the created_by of this ExternalTable.
107
+
108
+
109
+ :param created_by: The created_by of this ExternalTable. # noqa: E501
110
+ :type: Owner
111
+ """
112
+
113
+ self._created_by = created_by
114
+
115
+ @property
116
+ def description(self):
117
+ """Gets the description of this ExternalTable. # noqa: E501
118
+
119
+
120
+ :return: The description of this ExternalTable. # noqa: E501
121
+ :rtype: str
122
+ """
123
+ return self._description
124
+
125
+ @description.setter
126
+ def description(self, description):
127
+ """Sets the description of this ExternalTable.
128
+
129
+
130
+ :param description: The description of this ExternalTable. # noqa: E501
131
+ :type: str
132
+ """
133
+ if description is None:
134
+ raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501
135
+
136
+ self._description = description
137
+
138
+ @property
139
+ def last_updated_at(self):
140
+ """Gets the last_updated_at of this ExternalTable. # noqa: E501
141
+
142
+
143
+ :return: The last_updated_at of this ExternalTable. # noqa: E501
144
+ :rtype: str
145
+ """
146
+ return self._last_updated_at
147
+
148
+ @last_updated_at.setter
149
+ def last_updated_at(self, last_updated_at):
150
+ """Sets the last_updated_at of this ExternalTable.
151
+
152
+
153
+ :param last_updated_at: The last_updated_at of this ExternalTable. # noqa: E501
154
+ :type: str
155
+ """
156
+
157
+ self._last_updated_at = last_updated_at
158
+
159
+ @property
160
+ def last_updated_by(self):
161
+ """Gets the last_updated_by of this ExternalTable. # noqa: E501
162
+
163
+
164
+ :return: The last_updated_by of this ExternalTable. # noqa: E501
165
+ :rtype: Owner
166
+ """
167
+ return self._last_updated_by
168
+
169
+ @last_updated_by.setter
170
+ def last_updated_by(self, last_updated_by):
171
+ """Sets the last_updated_by of this ExternalTable.
172
+
173
+
174
+ :param last_updated_by: The last_updated_by of this ExternalTable. # noqa: E501
175
+ :type: Owner
176
+ """
177
+
178
+ self._last_updated_by = last_updated_by
179
+
180
+ @property
181
+ def name(self):
182
+ """Gets the name of this ExternalTable. # noqa: E501
183
+
184
+
185
+ :return: The name of this ExternalTable. # noqa: E501
186
+ :rtype: str
187
+ """
188
+ return self._name
189
+
190
+ @name.setter
191
+ def name(self, name):
192
+ """Sets the name of this ExternalTable.
193
+
194
+
195
+ :param name: The name of this ExternalTable. # noqa: E501
196
+ :type: str
197
+ """
198
+ if name is None:
199
+ raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
200
+
201
+ self._name = name
202
+
203
+ @property
204
+ def settings(self):
205
+ """Gets the settings of this ExternalTable. # noqa: E501
206
+
207
+
208
+ :return: The settings of this ExternalTable. # noqa: E501
209
+ :rtype: list[StreamSetting]
210
+ """
211
+ return self._settings
212
+
213
+ @settings.setter
214
+ def settings(self, settings):
215
+ """Sets the settings of this ExternalTable.
216
+
217
+
218
+ :param settings: The settings of this ExternalTable. # noqa: E501
219
+ :type: list[StreamSetting]
220
+ """
221
+
222
+ self._settings = settings
223
+
224
+ def to_dict(self):
225
+ """Returns the model properties as a dict"""
226
+ result = {}
227
+
228
+ for attr, _ in six.iteritems(self.swagger_types):
229
+ value = getattr(self, attr)
230
+ if isinstance(value, list):
231
+ result[attr] = list(map(
232
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
233
+ value
234
+ ))
235
+ elif hasattr(value, "to_dict"):
236
+ result[attr] = value.to_dict()
237
+ elif isinstance(value, dict):
238
+ result[attr] = dict(map(
239
+ lambda item: (item[0], item[1].to_dict())
240
+ if hasattr(item[1], "to_dict") else item,
241
+ value.items()
242
+ ))
243
+ else:
244
+ result[attr] = value
245
+ if issubclass(ExternalTable, dict):
246
+ for key, value in self.items():
247
+ result[key] = value
248
+
249
+ return result
250
+
251
+ def to_str(self):
252
+ """Returns the string representation of the model"""
253
+ return pprint.pformat(self.to_dict())
254
+
255
+ def __repr__(self):
256
+ """For `print` and `pprint`"""
257
+ return self.to_str()
258
+
259
+ def __eq__(self, other):
260
+ """Returns true if both objects are equal"""
261
+ if not isinstance(other, ExternalTable):
262
+ return False
263
+
264
+ return self.__dict__ == other.__dict__
265
+
266
+ def __ne__(self, other):
267
+ """Returns true if both objects are not equal"""
268
+ return not self == other
@@ -0,0 +1,164 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Timeplus
5
+
6
+ Welcome to the Timeplus HTTP REST API specification. # noqa: E501
7
+
8
+ OpenAPI spec version: v1
9
+ Contact: support@timeplus.com
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ class ExternalTableDef(object):
19
+ """NOTE: This class is auto generated by the swagger code generator program.
20
+
21
+ Do not edit the class manually.
22
+ """
23
+ """
24
+ Attributes:
25
+ swagger_types (dict): The key is attribute name
26
+ and the value is attribute type.
27
+ attribute_map (dict): The key is attribute name
28
+ and the value is json key in definition.
29
+ """
30
+ swagger_types = {
31
+ 'description': 'str',
32
+ 'name': 'str',
33
+ 'settings': 'list[StreamSetting]'
34
+ }
35
+
36
+ attribute_map = {
37
+ 'description': 'description',
38
+ 'name': 'name',
39
+ 'settings': 'settings'
40
+ }
41
+
42
+ def __init__(self, description=None, name=None, settings=None): # noqa: E501
43
+ """ExternalTableDef - a model defined in Swagger""" # noqa: E501
44
+ self._description = None
45
+ self._name = None
46
+ self._settings = None
47
+ self.discriminator = None
48
+ if description is not None:
49
+ self.description = description
50
+ self.name = name
51
+ self.settings = settings
52
+
53
+ @property
54
+ def description(self):
55
+ """Gets the description of this ExternalTableDef. # noqa: E501
56
+
57
+
58
+ :return: The description of this ExternalTableDef. # noqa: E501
59
+ :rtype: str
60
+ """
61
+ return self._description
62
+
63
+ @description.setter
64
+ def description(self, description):
65
+ """Sets the description of this ExternalTableDef.
66
+
67
+
68
+ :param description: The description of this ExternalTableDef. # noqa: E501
69
+ :type: str
70
+ """
71
+
72
+ self._description = description
73
+
74
+ @property
75
+ def name(self):
76
+ """Gets the name of this ExternalTableDef. # noqa: E501
77
+
78
+
79
+ :return: The name of this ExternalTableDef. # noqa: E501
80
+ :rtype: str
81
+ """
82
+ return self._name
83
+
84
+ @name.setter
85
+ def name(self, name):
86
+ """Sets the name of this ExternalTableDef.
87
+
88
+
89
+ :param name: The name of this ExternalTableDef. # noqa: E501
90
+ :type: str
91
+ """
92
+ if name is None:
93
+ raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
94
+
95
+ self._name = name
96
+
97
+ @property
98
+ def settings(self):
99
+ """Gets the settings of this ExternalTableDef. # noqa: E501
100
+
101
+
102
+ :return: The settings of this ExternalTableDef. # noqa: E501
103
+ :rtype: list[StreamSetting]
104
+ """
105
+ return self._settings
106
+
107
+ @settings.setter
108
+ def settings(self, settings):
109
+ """Sets the settings of this ExternalTableDef.
110
+
111
+
112
+ :param settings: The settings of this ExternalTableDef. # noqa: E501
113
+ :type: list[StreamSetting]
114
+ """
115
+ if settings is None:
116
+ raise ValueError("Invalid value for `settings`, must not be `None`") # noqa: E501
117
+
118
+ self._settings = settings
119
+
120
+ def to_dict(self):
121
+ """Returns the model properties as a dict"""
122
+ result = {}
123
+
124
+ for attr, _ in six.iteritems(self.swagger_types):
125
+ value = getattr(self, attr)
126
+ if isinstance(value, list):
127
+ result[attr] = list(map(
128
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
129
+ value
130
+ ))
131
+ elif hasattr(value, "to_dict"):
132
+ result[attr] = value.to_dict()
133
+ elif isinstance(value, dict):
134
+ result[attr] = dict(map(
135
+ lambda item: (item[0], item[1].to_dict())
136
+ if hasattr(item[1], "to_dict") else item,
137
+ value.items()
138
+ ))
139
+ else:
140
+ result[attr] = value
141
+ if issubclass(ExternalTableDef, dict):
142
+ for key, value in self.items():
143
+ result[key] = value
144
+
145
+ return result
146
+
147
+ def to_str(self):
148
+ """Returns the string representation of the model"""
149
+ return pprint.pformat(self.to_dict())
150
+
151
+ def __repr__(self):
152
+ """For `print` and `pprint`"""
153
+ return self.to_str()
154
+
155
+ def __eq__(self, other):
156
+ """Returns true if both objects are equal"""
157
+ if not isinstance(other, ExternalTableDef):
158
+ return False
159
+
160
+ return self.__dict__ == other.__dict__
161
+
162
+ def __ne__(self, other):
163
+ """Returns true if both objects are not equal"""
164
+ return not self == other
@@ -188,6 +188,7 @@ class Query(object):
188
188
  def description(self):
189
189
  """Gets the description of this Query. # noqa: E501
190
190
 
191
+ deprecated # noqa: E501
191
192
 
192
193
  :return: The description of this Query. # noqa: E501
193
194
  :rtype: str
@@ -198,6 +199,7 @@ class Query(object):
198
199
  def description(self, description):
199
200
  """Sets the description of this Query.
200
201
 
202
+ deprecated # noqa: E501
201
203
 
202
204
  :param description: The description of this Query. # noqa: E501
203
205
  :type: str
@@ -345,6 +347,7 @@ class Query(object):
345
347
  def name(self):
346
348
  """Gets the name of this Query. # noqa: E501
347
349
 
350
+ deprecated # noqa: E501
348
351
 
349
352
  :return: The name of this Query. # noqa: E501
350
353
  :rtype: str
@@ -355,6 +358,7 @@ class Query(object):
355
358
  def name(self, name):
356
359
  """Sets the name of this Query.
357
360
 
361
+ deprecated # noqa: E501
358
362
 
359
363
  :param name: The name of this Query. # noqa: E501
360
364
  :type: str
@@ -499,7 +503,7 @@ class Query(object):
499
503
  """
500
504
  if status is None:
501
505
  raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
502
- allowed_values = ["init", "running", "finished", "canceled", "failed"] # noqa: E501
506
+ allowed_values = ["running", "finished", "canceled", "failed"] # noqa: E501
503
507
  if status not in allowed_values:
504
508
  raise ValueError(
505
509
  "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501