syrtis-python-client-internal 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. syrtis_python_client_internal/__init__.py +17 -0
  2. syrtis_python_client_internal/common/__init__.py +0 -0
  3. syrtis_python_client_internal/common/entity_schemas.py +11 -0
  4. syrtis_python_client_internal/common/generated_entities.py +83 -0
  5. syrtis_python_client_internal/common/generated_entity_schemas.py +54 -0
  6. syrtis_python_client_internal/common/generated_external_relations.py +18 -0
  7. syrtis_python_client_internal/common/generated_repositories.py +76 -0
  8. syrtis_python_client_internal/common/syrtis_client.py +31 -0
  9. syrtis_python_client_internal/data/__init__.py +0 -0
  10. syrtis_python_client_internal/data/entity/__init__.py +0 -0
  11. syrtis_python_client_internal/data/entity/artifact.json +261 -0
  12. syrtis_python_client_internal/data/entity/content_type.json +235 -0
  13. syrtis_python_client_internal/data/entity/credential.json +175 -0
  14. syrtis_python_client_internal/data/entity/credential_parameter.json +166 -0
  15. syrtis_python_client_internal/data/entity/dashboard.json +213 -0
  16. syrtis_python_client_internal/data/entity/directory.json +125 -0
  17. syrtis_python_client_internal/data/entity/document_directory.json +139 -0
  18. syrtis_python_client_internal/data/entity/embedding.json +192 -0
  19. syrtis_python_client_internal/data/entity/extension.json +203 -0
  20. syrtis_python_client_internal/data/entity/instruction.json +213 -0
  21. syrtis_python_client_internal/data/entity/internal_sample.json +10 -0
  22. syrtis_python_client_internal/data/entity/layer.json +96 -0
  23. syrtis_python_client_internal/data/entity/log.json +642 -0
  24. syrtis_python_client_internal/data/entity/model.json +226 -0
  25. syrtis_python_client_internal/data/entity/operator.json +149 -0
  26. syrtis_python_client_internal/data/entity/operator_port.json +220 -0
  27. syrtis_python_client_internal/data/entity/panel.json +450 -0
  28. syrtis_python_client_internal/data/entity/panel_stamp.json +116 -0
  29. syrtis_python_client_internal/data/entity/pipeline.json +357 -0
  30. syrtis_python_client_internal/data/entity/pipeline_operator.json +28 -0
  31. syrtis_python_client_internal/data/entity/pipeline_projection.json +163 -0
  32. syrtis_python_client_internal/data/entity/project.json +213 -0
  33. syrtis_python_client_internal/data/entity/project_access.json +161 -0
  34. syrtis_python_client_internal/data/entity/projection.json +349 -0
  35. syrtis_python_client_internal/data/entity/projection_config.json +237 -0
  36. syrtis_python_client_internal/data/entity/projection_relation.json +261 -0
  37. syrtis_python_client_internal/data/entity/prompt.json +491 -0
  38. syrtis_python_client_internal/data/entity/schema.json +63 -0
  39. syrtis_python_client_internal/data/entity/session_group.json +196 -0
  40. syrtis_python_client_internal/data/entity/source.json +187 -0
  41. syrtis_python_client_internal/data/entity/storage.json +140 -0
  42. syrtis_python_client_internal/data/entity/storage_content_type.json +139 -0
  43. syrtis_python_client_internal/data/entity/token.json +116 -0
  44. syrtis_python_client_internal/data/entity/trigger.json +90 -0
  45. syrtis_python_client_internal/data/entity/trigger_config.json +138 -0
  46. syrtis_python_client_internal/data/entity/user_config.json +193 -0
  47. syrtis_python_client_internal/database/__init__.py +0 -0
  48. syrtis_python_client_internal/database/database_repositories_manager.py +21 -0
  49. syrtis_python_client_internal/database/generated_repositories.py +120 -0
  50. syrtis_python_client_internal/database/repository/__init__.py +0 -0
  51. syrtis_python_client_internal/database/repository/artifact_repository.py +11 -0
  52. syrtis_python_client_internal/database/repository/card_message_repository.py +11 -0
  53. syrtis_python_client_internal/database/repository/card_relation_repository.py +11 -0
  54. syrtis_python_client_internal/database/repository/card_repository.py +11 -0
  55. syrtis_python_client_internal/database/repository/chunk_repository.py +11 -0
  56. syrtis_python_client_internal/database/repository/content_type_repository.py +11 -0
  57. syrtis_python_client_internal/database/repository/credential_parameter_repository.py +11 -0
  58. syrtis_python_client_internal/database/repository/credential_repository.py +11 -0
  59. syrtis_python_client_internal/database/repository/dashboard_repository.py +11 -0
  60. syrtis_python_client_internal/database/repository/directory_repository.py +11 -0
  61. syrtis_python_client_internal/database/repository/document_directory_repository.py +11 -0
  62. syrtis_python_client_internal/database/repository/document_repository.py +11 -0
  63. syrtis_python_client_internal/database/repository/embedding_repository.py +11 -0
  64. syrtis_python_client_internal/database/repository/environment_repository.py +11 -0
  65. syrtis_python_client_internal/database/repository/extension_repository.py +11 -0
  66. syrtis_python_client_internal/database/repository/generated/__init__.py +0 -0
  67. syrtis_python_client_internal/database/repository/generated/artifact_repository_generated.py +11 -0
  68. syrtis_python_client_internal/database/repository/generated/card_message_repository_generated.py +11 -0
  69. syrtis_python_client_internal/database/repository/generated/card_relation_repository_generated.py +11 -0
  70. syrtis_python_client_internal/database/repository/generated/card_repository_generated.py +11 -0
  71. syrtis_python_client_internal/database/repository/generated/chunk_repository_generated.py +11 -0
  72. syrtis_python_client_internal/database/repository/generated/content_type_repository_generated.py +11 -0
  73. syrtis_python_client_internal/database/repository/generated/credential_parameter_repository_generated.py +11 -0
  74. syrtis_python_client_internal/database/repository/generated/credential_repository_generated.py +11 -0
  75. syrtis_python_client_internal/database/repository/generated/dashboard_repository_generated.py +11 -0
  76. syrtis_python_client_internal/database/repository/generated/directory_repository_generated.py +11 -0
  77. syrtis_python_client_internal/database/repository/generated/document_directory_repository_generated.py +11 -0
  78. syrtis_python_client_internal/database/repository/generated/document_repository_generated.py +11 -0
  79. syrtis_python_client_internal/database/repository/generated/embedding_repository_generated.py +11 -0
  80. syrtis_python_client_internal/database/repository/generated/environment_repository_generated.py +11 -0
  81. syrtis_python_client_internal/database/repository/generated/extension_repository_generated.py +11 -0
  82. syrtis_python_client_internal/database/repository/generated/instruction_repository_generated.py +11 -0
  83. syrtis_python_client_internal/database/repository/generated/internal_sample_repository_generated.py +11 -0
  84. syrtis_python_client_internal/database/repository/generated/job_repository_generated.py +11 -0
  85. syrtis_python_client_internal/database/repository/generated/layer_repository_generated.py +11 -0
  86. syrtis_python_client_internal/database/repository/generated/log_repository_generated.py +11 -0
  87. syrtis_python_client_internal/database/repository/generated/message_repository_generated.py +11 -0
  88. syrtis_python_client_internal/database/repository/generated/message_stamp_repository_generated.py +11 -0
  89. syrtis_python_client_internal/database/repository/generated/model_repository_generated.py +11 -0
  90. syrtis_python_client_internal/database/repository/generated/node_repository_generated.py +11 -0
  91. syrtis_python_client_internal/database/repository/generated/operator_port_repository_generated.py +11 -0
  92. syrtis_python_client_internal/database/repository/generated/operator_repository_generated.py +11 -0
  93. syrtis_python_client_internal/database/repository/generated/panel_repository_generated.py +11 -0
  94. syrtis_python_client_internal/database/repository/generated/panel_stamp_repository_generated.py +11 -0
  95. syrtis_python_client_internal/database/repository/generated/pipeline_operator_repository_generated.py +11 -0
  96. syrtis_python_client_internal/database/repository/generated/pipeline_projection_repository_generated.py +11 -0
  97. syrtis_python_client_internal/database/repository/generated/pipeline_repository_generated.py +11 -0
  98. syrtis_python_client_internal/database/repository/generated/project_access_repository_generated.py +11 -0
  99. syrtis_python_client_internal/database/repository/generated/project_repository_generated.py +11 -0
  100. syrtis_python_client_internal/database/repository/generated/projection_config_repository_generated.py +11 -0
  101. syrtis_python_client_internal/database/repository/generated/projection_relation_repository_generated.py +11 -0
  102. syrtis_python_client_internal/database/repository/generated/projection_repository_generated.py +11 -0
  103. syrtis_python_client_internal/database/repository/generated/prompt_repository_generated.py +11 -0
  104. syrtis_python_client_internal/database/repository/generated/request_repository_generated.py +11 -0
  105. syrtis_python_client_internal/database/repository/generated/scenario_repository_generated.py +11 -0
  106. syrtis_python_client_internal/database/repository/generated/schema_repository_generated.py +11 -0
  107. syrtis_python_client_internal/database/repository/generated/session_group_repository_generated.py +11 -0
  108. syrtis_python_client_internal/database/repository/generated/session_repository_generated.py +11 -0
  109. syrtis_python_client_internal/database/repository/generated/slot_config_repository_generated.py +11 -0
  110. syrtis_python_client_internal/database/repository/generated/slot_message_repository_generated.py +11 -0
  111. syrtis_python_client_internal/database/repository/generated/slot_message_stamp_repository_generated.py +11 -0
  112. syrtis_python_client_internal/database/repository/generated/slot_relation_repository_generated.py +11 -0
  113. syrtis_python_client_internal/database/repository/generated/slot_repository_generated.py +11 -0
  114. syrtis_python_client_internal/database/repository/generated/source_repository_generated.py +11 -0
  115. syrtis_python_client_internal/database/repository/generated/storage_content_type_repository_generated.py +11 -0
  116. syrtis_python_client_internal/database/repository/generated/storage_repository_generated.py +11 -0
  117. syrtis_python_client_internal/database/repository/generated/template_repository_generated.py +11 -0
  118. syrtis_python_client_internal/database/repository/generated/timezone_repository_generated.py +11 -0
  119. syrtis_python_client_internal/database/repository/generated/token_repository_generated.py +11 -0
  120. syrtis_python_client_internal/database/repository/generated/trigger_config_repository_generated.py +11 -0
  121. syrtis_python_client_internal/database/repository/generated/trigger_repository_generated.py +11 -0
  122. syrtis_python_client_internal/database/repository/generated/user_config_repository_generated.py +11 -0
  123. syrtis_python_client_internal/database/repository/generated/user_repository_generated.py +11 -0
  124. syrtis_python_client_internal/database/repository/instruction_repository.py +11 -0
  125. syrtis_python_client_internal/database/repository/internal_sample_repository.py +11 -0
  126. syrtis_python_client_internal/database/repository/job_repository.py +11 -0
  127. syrtis_python_client_internal/database/repository/layer_repository.py +11 -0
  128. syrtis_python_client_internal/database/repository/log_repository.py +11 -0
  129. syrtis_python_client_internal/database/repository/message_repository.py +11 -0
  130. syrtis_python_client_internal/database/repository/message_stamp_repository.py +11 -0
  131. syrtis_python_client_internal/database/repository/model_repository.py +11 -0
  132. syrtis_python_client_internal/database/repository/node_repository.py +11 -0
  133. syrtis_python_client_internal/database/repository/operator_port_repository.py +11 -0
  134. syrtis_python_client_internal/database/repository/operator_repository.py +11 -0
  135. syrtis_python_client_internal/database/repository/panel_repository.py +11 -0
  136. syrtis_python_client_internal/database/repository/panel_stamp_repository.py +11 -0
  137. syrtis_python_client_internal/database/repository/pipeline_operator_repository.py +11 -0
  138. syrtis_python_client_internal/database/repository/pipeline_projection_repository.py +11 -0
  139. syrtis_python_client_internal/database/repository/pipeline_repository.py +11 -0
  140. syrtis_python_client_internal/database/repository/project_access_repository.py +11 -0
  141. syrtis_python_client_internal/database/repository/project_repository.py +11 -0
  142. syrtis_python_client_internal/database/repository/projection_config_repository.py +11 -0
  143. syrtis_python_client_internal/database/repository/projection_relation_repository.py +11 -0
  144. syrtis_python_client_internal/database/repository/projection_repository.py +11 -0
  145. syrtis_python_client_internal/database/repository/prompt_repository.py +11 -0
  146. syrtis_python_client_internal/database/repository/request_repository.py +11 -0
  147. syrtis_python_client_internal/database/repository/scenario_repository.py +11 -0
  148. syrtis_python_client_internal/database/repository/schema_repository.py +11 -0
  149. syrtis_python_client_internal/database/repository/session_group_repository.py +11 -0
  150. syrtis_python_client_internal/database/repository/session_repository.py +11 -0
  151. syrtis_python_client_internal/database/repository/slot_config_repository.py +11 -0
  152. syrtis_python_client_internal/database/repository/slot_message_repository.py +11 -0
  153. syrtis_python_client_internal/database/repository/slot_message_stamp_repository.py +11 -0
  154. syrtis_python_client_internal/database/repository/slot_relation_repository.py +11 -0
  155. syrtis_python_client_internal/database/repository/slot_repository.py +11 -0
  156. syrtis_python_client_internal/database/repository/source_repository.py +11 -0
  157. syrtis_python_client_internal/database/repository/storage_content_type_repository.py +11 -0
  158. syrtis_python_client_internal/database/repository/storage_repository.py +11 -0
  159. syrtis_python_client_internal/database/repository/template_repository.py +11 -0
  160. syrtis_python_client_internal/database/repository/timezone_repository.py +11 -0
  161. syrtis_python_client_internal/database/repository/token_repository.py +11 -0
  162. syrtis_python_client_internal/database/repository/trigger_config_repository.py +11 -0
  163. syrtis_python_client_internal/database/repository/trigger_repository.py +11 -0
  164. syrtis_python_client_internal/database/repository/user_config_repository.py +11 -0
  165. syrtis_python_client_internal/database/repository/user_repository.py +11 -0
  166. syrtis_python_client_internal/entity/__init__.py +0 -0
  167. syrtis_python_client_internal/entity/artifact.py +13 -0
  168. syrtis_python_client_internal/entity/content_type.py +13 -0
  169. syrtis_python_client_internal/entity/credential.py +13 -0
  170. syrtis_python_client_internal/entity/credential_parameter.py +13 -0
  171. syrtis_python_client_internal/entity/dashboard.py +13 -0
  172. syrtis_python_client_internal/entity/directory.py +13 -0
  173. syrtis_python_client_internal/entity/document_directory.py +13 -0
  174. syrtis_python_client_internal/entity/embedding.py +13 -0
  175. syrtis_python_client_internal/entity/extension.py +13 -0
  176. syrtis_python_client_internal/entity/generated/artifact_generated.py +37 -0
  177. syrtis_python_client_internal/entity/generated/content_type_generated.py +34 -0
  178. syrtis_python_client_internal/entity/generated/credential_generated.py +25 -0
  179. syrtis_python_client_internal/entity/generated/credential_parameter_generated.py +25 -0
  180. syrtis_python_client_internal/entity/generated/dashboard_generated.py +31 -0
  181. syrtis_python_client_internal/entity/generated/directory_generated.py +19 -0
  182. syrtis_python_client_internal/entity/generated/document_directory_generated.py +21 -0
  183. syrtis_python_client_internal/entity/generated/embedding_generated.py +28 -0
  184. syrtis_python_client_internal/entity/generated/extension_generated.py +27 -0
  185. syrtis_python_client_internal/entity/generated/instruction_generated.py +31 -0
  186. syrtis_python_client_internal/entity/generated/internal_sample_generated.py +7 -0
  187. syrtis_python_client_internal/entity/generated/layer_generated.py +15 -0
  188. syrtis_python_client_internal/entity/generated/log_generated.py +82 -0
  189. syrtis_python_client_internal/entity/generated/model_generated.py +30 -0
  190. syrtis_python_client_internal/entity/generated/operator_generated.py +22 -0
  191. syrtis_python_client_internal/entity/generated/operator_port_generated.py +28 -0
  192. syrtis_python_client_internal/entity/generated/panel_generated.py +58 -0
  193. syrtis_python_client_internal/entity/generated/panel_stamp_generated.py +19 -0
  194. syrtis_python_client_internal/entity/generated/pipeline_generated.py +46 -0
  195. syrtis_python_client_internal/entity/generated/pipeline_operator_generated.py +7 -0
  196. syrtis_python_client_internal/entity/generated/pipeline_projection_generated.py +25 -0
  197. syrtis_python_client_internal/entity/generated/project_access_generated.py +25 -0
  198. syrtis_python_client_internal/entity/generated/project_generated.py +31 -0
  199. syrtis_python_client_internal/entity/generated/projection_config_generated.py +34 -0
  200. syrtis_python_client_internal/entity/generated/projection_generated.py +43 -0
  201. syrtis_python_client_internal/entity/generated/projection_relation_generated.py +37 -0
  202. syrtis_python_client_internal/entity/generated/prompt_generated.py +64 -0
  203. syrtis_python_client_internal/entity/generated/schema_generated.py +12 -0
  204. syrtis_python_client_internal/entity/generated/session_group_generated.py +28 -0
  205. syrtis_python_client_internal/entity/generated/source_generated.py +28 -0
  206. syrtis_python_client_internal/entity/generated/storage_content_type_generated.py +21 -0
  207. syrtis_python_client_internal/entity/generated/storage_generated.py +22 -0
  208. syrtis_python_client_internal/entity/generated/token_generated.py +19 -0
  209. syrtis_python_client_internal/entity/generated/trigger_config_generated.py +21 -0
  210. syrtis_python_client_internal/entity/generated/trigger_generated.py +15 -0
  211. syrtis_python_client_internal/entity/generated/user_config_generated.py +28 -0
  212. syrtis_python_client_internal/entity/instruction.py +13 -0
  213. syrtis_python_client_internal/entity/internal_sample.py +13 -0
  214. syrtis_python_client_internal/entity/layer.py +13 -0
  215. syrtis_python_client_internal/entity/log.py +13 -0
  216. syrtis_python_client_internal/entity/model.py +13 -0
  217. syrtis_python_client_internal/entity/operator.py +13 -0
  218. syrtis_python_client_internal/entity/operator_port.py +13 -0
  219. syrtis_python_client_internal/entity/panel.py +13 -0
  220. syrtis_python_client_internal/entity/panel_stamp.py +13 -0
  221. syrtis_python_client_internal/entity/pipeline.py +13 -0
  222. syrtis_python_client_internal/entity/pipeline_operator.py +13 -0
  223. syrtis_python_client_internal/entity/pipeline_projection.py +13 -0
  224. syrtis_python_client_internal/entity/project.py +13 -0
  225. syrtis_python_client_internal/entity/project_access.py +13 -0
  226. syrtis_python_client_internal/entity/projection.py +13 -0
  227. syrtis_python_client_internal/entity/projection_config.py +13 -0
  228. syrtis_python_client_internal/entity/projection_relation.py +13 -0
  229. syrtis_python_client_internal/entity/prompt.py +14 -0
  230. syrtis_python_client_internal/entity/schema.py +13 -0
  231. syrtis_python_client_internal/entity/session_group.py +13 -0
  232. syrtis_python_client_internal/entity/source.py +13 -0
  233. syrtis_python_client_internal/entity/storage.py +13 -0
  234. syrtis_python_client_internal/entity/storage_content_type.py +13 -0
  235. syrtis_python_client_internal/entity/token.py +13 -0
  236. syrtis_python_client_internal/entity/trigger.py +13 -0
  237. syrtis_python_client_internal/entity/trigger_config.py +13 -0
  238. syrtis_python_client_internal/entity/user_config.py +13 -0
  239. syrtis_python_client_internal/py.typed +0 -0
  240. syrtis_python_client_internal/repository/__init__.py +0 -0
  241. syrtis_python_client_internal/repository/artifact_repository.py +13 -0
  242. syrtis_python_client_internal/repository/content_type_repository.py +13 -0
  243. syrtis_python_client_internal/repository/credential_parameter_repository.py +15 -0
  244. syrtis_python_client_internal/repository/credential_repository.py +13 -0
  245. syrtis_python_client_internal/repository/dashboard_repository.py +13 -0
  246. syrtis_python_client_internal/repository/directory_repository.py +13 -0
  247. syrtis_python_client_internal/repository/document_directory_repository.py +13 -0
  248. syrtis_python_client_internal/repository/embedding_repository.py +13 -0
  249. syrtis_python_client_internal/repository/extension_repository.py +13 -0
  250. syrtis_python_client_internal/repository/instruction_repository.py +13 -0
  251. syrtis_python_client_internal/repository/internal_sample_repository.py +13 -0
  252. syrtis_python_client_internal/repository/layer_repository.py +13 -0
  253. syrtis_python_client_internal/repository/log_repository.py +13 -0
  254. syrtis_python_client_internal/repository/model_repository.py +13 -0
  255. syrtis_python_client_internal/repository/operator_port_repository.py +13 -0
  256. syrtis_python_client_internal/repository/operator_repository.py +13 -0
  257. syrtis_python_client_internal/repository/panel_repository.py +13 -0
  258. syrtis_python_client_internal/repository/panel_stamp_repository.py +13 -0
  259. syrtis_python_client_internal/repository/pipeline_operator_repository.py +13 -0
  260. syrtis_python_client_internal/repository/pipeline_projection_repository.py +13 -0
  261. syrtis_python_client_internal/repository/pipeline_repository.py +13 -0
  262. syrtis_python_client_internal/repository/project_access_repository.py +13 -0
  263. syrtis_python_client_internal/repository/project_repository.py +13 -0
  264. syrtis_python_client_internal/repository/projection_config_repository.py +13 -0
  265. syrtis_python_client_internal/repository/projection_relation_repository.py +13 -0
  266. syrtis_python_client_internal/repository/projection_repository.py +13 -0
  267. syrtis_python_client_internal/repository/prompt_repository.py +13 -0
  268. syrtis_python_client_internal/repository/schema_repository.py +13 -0
  269. syrtis_python_client_internal/repository/session_group_repository.py +13 -0
  270. syrtis_python_client_internal/repository/source_repository.py +13 -0
  271. syrtis_python_client_internal/repository/storage_content_type_repository.py +13 -0
  272. syrtis_python_client_internal/repository/storage_repository.py +13 -0
  273. syrtis_python_client_internal/repository/token_repository.py +13 -0
  274. syrtis_python_client_internal/repository/trigger_config_repository.py +13 -0
  275. syrtis_python_client_internal/repository/trigger_repository.py +13 -0
  276. syrtis_python_client_internal/repository/user_config_repository.py +13 -0
  277. syrtis_python_client_internal-1.0.0.dist-info/METADATA +107 -0
  278. syrtis_python_client_internal-1.0.0.dist-info/RECORD +282 -0
  279. syrtis_python_client_internal-1.0.0.dist-info/WHEEL +4 -0
  280. syrtis_python_client_internal-1.0.0.dist-info/entry_points.txt +4 -0
  281. syrtis_syrtis_python_client_internal/__init__.py +0 -0
  282. syrtis_syrtis_python_client_internal/py.typed +0 -0
@@ -0,0 +1,116 @@
1
+ {
2
+ "name": "token",
3
+ "properties": [
4
+ {
5
+ "name": "value",
6
+ "type": "string",
7
+ "nullable": true,
8
+ "default": null,
9
+ "orm": {
10
+ "kind": "field",
11
+ "column": "value",
12
+ "type": "string",
13
+ "nullable": true,
14
+ "unique": false,
15
+ "id": false,
16
+ "generated": false,
17
+ "length": 255
18
+ }
19
+ },
20
+ {
21
+ "name": "user",
22
+ "type": "Wexample\\SymfonyHelpers\\Entity\\Interfaces\\UserEntityInterface",
23
+ "nullable": true,
24
+ "default": null,
25
+ "orm": {
26
+ "kind": "association",
27
+ "association_type": "many_to_one",
28
+ "target_entity": "App\\Entity\\User",
29
+ "target": "user",
30
+ "mapped_by": null,
31
+ "inversed_by": null,
32
+ "is_owning_side": true,
33
+ "orphan_removal": false,
34
+ "cascade": {},
35
+ "fetch": 2,
36
+ "join_columns": [
37
+ {
38
+ "name": "user_id",
39
+ "referenced_column_name": "id",
40
+ "nullable": false,
41
+ "unique": false,
42
+ "on_delete": null
43
+ }
44
+ ]
45
+ },
46
+ "target": "user"
47
+ },
48
+ {
49
+ "name": "id",
50
+ "type": "Symfony\\Component\\Uid\\Uuid",
51
+ "orm": {
52
+ "kind": "field",
53
+ "column": "id",
54
+ "type": "uuid",
55
+ "nullable": false,
56
+ "unique": true,
57
+ "id": true,
58
+ "generated": false
59
+ },
60
+ "default": null
61
+ }
62
+ ],
63
+ "orm": {
64
+ "class": "App\\Entity\\Token",
65
+ "table": "token",
66
+ "identifier": [
67
+ "id"
68
+ ],
69
+ "indexes": {},
70
+ "unique_constraints": {},
71
+ "fields": {
72
+ "value": {
73
+ "kind": "field",
74
+ "column": "value",
75
+ "type": "string",
76
+ "nullable": true,
77
+ "unique": false,
78
+ "id": false,
79
+ "generated": false,
80
+ "length": 255
81
+ },
82
+ "id": {
83
+ "kind": "field",
84
+ "column": "id",
85
+ "type": "uuid",
86
+ "nullable": false,
87
+ "unique": true,
88
+ "id": true,
89
+ "generated": false
90
+ }
91
+ },
92
+ "associations": {
93
+ "user": {
94
+ "kind": "association",
95
+ "association_type": "many_to_one",
96
+ "target_entity": "App\\Entity\\User",
97
+ "target": "user",
98
+ "mapped_by": null,
99
+ "inversed_by": null,
100
+ "is_owning_side": true,
101
+ "orphan_removal": false,
102
+ "cascade": {},
103
+ "fetch": 2,
104
+ "join_columns": [
105
+ {
106
+ "name": "user_id",
107
+ "referenced_column_name": "id",
108
+ "nullable": false,
109
+ "unique": false,
110
+ "on_delete": null
111
+ }
112
+ ]
113
+ }
114
+ }
115
+ }
116
+ }
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "trigger",
3
+ "properties": [
4
+ {
5
+ "name": "secureId",
6
+ "type": "string",
7
+ "orm": {
8
+ "kind": "field",
9
+ "column": "secure_id",
10
+ "type": "string",
11
+ "nullable": false,
12
+ "unique": false,
13
+ "id": false,
14
+ "generated": false,
15
+ "length": 255
16
+ }
17
+ },
18
+ {
19
+ "name": "type",
20
+ "type": "string",
21
+ "nullable": true,
22
+ "default": null,
23
+ "orm": {
24
+ "kind": "field",
25
+ "column": "type",
26
+ "type": "string",
27
+ "nullable": false,
28
+ "unique": false,
29
+ "id": false,
30
+ "generated": false,
31
+ "length": 120
32
+ }
33
+ },
34
+ {
35
+ "name": "id",
36
+ "type": "Symfony\\Component\\Uid\\Uuid",
37
+ "orm": {
38
+ "kind": "field",
39
+ "column": "id",
40
+ "type": "uuid",
41
+ "nullable": false,
42
+ "unique": true,
43
+ "id": true,
44
+ "generated": false
45
+ },
46
+ "default": null
47
+ }
48
+ ],
49
+ "orm": {
50
+ "class": "App\\Entity\\Trigger",
51
+ "table": "trigger",
52
+ "identifier": [
53
+ "id"
54
+ ],
55
+ "indexes": {},
56
+ "unique_constraints": {},
57
+ "fields": {
58
+ "secureId": {
59
+ "kind": "field",
60
+ "column": "secure_id",
61
+ "type": "string",
62
+ "nullable": false,
63
+ "unique": false,
64
+ "id": false,
65
+ "generated": false,
66
+ "length": 255
67
+ },
68
+ "type": {
69
+ "kind": "field",
70
+ "column": "type",
71
+ "type": "string",
72
+ "nullable": false,
73
+ "unique": false,
74
+ "id": false,
75
+ "generated": false,
76
+ "length": 120
77
+ },
78
+ "id": {
79
+ "kind": "field",
80
+ "column": "id",
81
+ "type": "uuid",
82
+ "nullable": false,
83
+ "unique": true,
84
+ "id": true,
85
+ "generated": false
86
+ }
87
+ },
88
+ "associations": {}
89
+ }
90
+ }
@@ -0,0 +1,138 @@
1
+ {
2
+ "name": "trigger_config",
3
+ "properties": [
4
+ {
5
+ "name": "secureId",
6
+ "type": "string",
7
+ "orm": {
8
+ "kind": "field",
9
+ "column": "secure_id",
10
+ "type": "string",
11
+ "nullable": false,
12
+ "unique": false,
13
+ "id": false,
14
+ "generated": false,
15
+ "length": 255
16
+ }
17
+ },
18
+ {
19
+ "name": "value",
20
+ "type": "string",
21
+ "nullable": true,
22
+ "default": null,
23
+ "orm": {
24
+ "kind": "field",
25
+ "column": "value",
26
+ "type": "text",
27
+ "nullable": true,
28
+ "unique": false,
29
+ "id": false,
30
+ "generated": false
31
+ }
32
+ },
33
+ {
34
+ "name": "expression",
35
+ "type": "bool",
36
+ "nullable": true,
37
+ "default": null,
38
+ "orm": {
39
+ "kind": "field",
40
+ "column": "expression",
41
+ "type": "boolean",
42
+ "nullable": false,
43
+ "unique": false,
44
+ "id": false,
45
+ "generated": false
46
+ }
47
+ },
48
+ {
49
+ "name": "name",
50
+ "type": "string",
51
+ "nullable": true,
52
+ "default": null,
53
+ "orm": {
54
+ "kind": "field",
55
+ "column": "name",
56
+ "type": "string",
57
+ "nullable": false,
58
+ "unique": false,
59
+ "id": false,
60
+ "generated": false,
61
+ "length": 255
62
+ }
63
+ },
64
+ {
65
+ "name": "id",
66
+ "type": "Symfony\\Component\\Uid\\Uuid",
67
+ "orm": {
68
+ "kind": "field",
69
+ "column": "id",
70
+ "type": "uuid",
71
+ "nullable": false,
72
+ "unique": true,
73
+ "id": true,
74
+ "generated": false
75
+ },
76
+ "default": null
77
+ }
78
+ ],
79
+ "orm": {
80
+ "class": "App\\Entity\\TriggerConfig",
81
+ "table": "trigger_config",
82
+ "identifier": [
83
+ "id"
84
+ ],
85
+ "indexes": {},
86
+ "unique_constraints": {},
87
+ "fields": {
88
+ "secureId": {
89
+ "kind": "field",
90
+ "column": "secure_id",
91
+ "type": "string",
92
+ "nullable": false,
93
+ "unique": false,
94
+ "id": false,
95
+ "generated": false,
96
+ "length": 255
97
+ },
98
+ "value": {
99
+ "kind": "field",
100
+ "column": "value",
101
+ "type": "text",
102
+ "nullable": true,
103
+ "unique": false,
104
+ "id": false,
105
+ "generated": false
106
+ },
107
+ "expression": {
108
+ "kind": "field",
109
+ "column": "expression",
110
+ "type": "boolean",
111
+ "nullable": false,
112
+ "unique": false,
113
+ "id": false,
114
+ "generated": false
115
+ },
116
+ "name": {
117
+ "kind": "field",
118
+ "column": "name",
119
+ "type": "string",
120
+ "nullable": false,
121
+ "unique": false,
122
+ "id": false,
123
+ "generated": false,
124
+ "length": 255
125
+ },
126
+ "id": {
127
+ "kind": "field",
128
+ "column": "id",
129
+ "type": "uuid",
130
+ "nullable": false,
131
+ "unique": true,
132
+ "id": true,
133
+ "generated": false
134
+ }
135
+ },
136
+ "associations": {}
137
+ }
138
+ }
@@ -0,0 +1,193 @@
1
+ {
2
+ "name": "user_config",
3
+ "properties": [
4
+ {
5
+ "name": "secureId",
6
+ "type": "string",
7
+ "orm": {
8
+ "kind": "field",
9
+ "column": "secure_id",
10
+ "type": "string",
11
+ "nullable": false,
12
+ "unique": false,
13
+ "id": false,
14
+ "generated": false,
15
+ "length": 255
16
+ }
17
+ },
18
+ {
19
+ "name": "user",
20
+ "type": "Wexample\\SymfonyHelpers\\Entity\\Interfaces\\UserEntityInterface",
21
+ "nullable": true,
22
+ "default": null,
23
+ "orm": {
24
+ "kind": "association",
25
+ "association_type": "many_to_one",
26
+ "target_entity": "App\\Entity\\User",
27
+ "target": "user",
28
+ "mapped_by": null,
29
+ "inversed_by": null,
30
+ "is_owning_side": true,
31
+ "orphan_removal": false,
32
+ "cascade": {},
33
+ "fetch": 2,
34
+ "join_columns": [
35
+ {
36
+ "name": "user_id",
37
+ "referenced_column_name": "id",
38
+ "nullable": false,
39
+ "unique": false,
40
+ "on_delete": null
41
+ }
42
+ ]
43
+ },
44
+ "target": "user"
45
+ },
46
+ {
47
+ "name": "key",
48
+ "type": "string",
49
+ "nullable": true,
50
+ "default": null,
51
+ "orm": {
52
+ "kind": "field",
53
+ "column": "key",
54
+ "type": "string",
55
+ "nullable": true,
56
+ "unique": false,
57
+ "id": false,
58
+ "generated": false,
59
+ "length": 128
60
+ }
61
+ },
62
+ {
63
+ "name": "id",
64
+ "type": "Symfony\\Component\\Uid\\Uuid",
65
+ "orm": {
66
+ "kind": "field",
67
+ "column": "id",
68
+ "type": "uuid",
69
+ "nullable": false,
70
+ "unique": true,
71
+ "id": true,
72
+ "generated": false
73
+ },
74
+ "default": null
75
+ },
76
+ {
77
+ "name": "value",
78
+ "type": "mixed",
79
+ "default": null,
80
+ "orm": {
81
+ "kind": "field",
82
+ "column": "value",
83
+ "type": "json",
84
+ "nullable": true,
85
+ "unique": false,
86
+ "id": false,
87
+ "generated": false,
88
+ "options": {
89
+ "jsonb": true
90
+ }
91
+ }
92
+ },
93
+ {
94
+ "name": "preload",
95
+ "type": "bool",
96
+ "nullable": true,
97
+ "default": null,
98
+ "orm": {
99
+ "kind": "field",
100
+ "column": "preload",
101
+ "type": "boolean",
102
+ "nullable": false,
103
+ "unique": false,
104
+ "id": false,
105
+ "generated": false
106
+ }
107
+ }
108
+ ],
109
+ "orm": {
110
+ "class": "App\\Entity\\UserConfig",
111
+ "table": "user_config",
112
+ "identifier": [
113
+ "id"
114
+ ],
115
+ "indexes": {},
116
+ "unique_constraints": {},
117
+ "fields": {
118
+ "value": {
119
+ "kind": "field",
120
+ "column": "value",
121
+ "type": "json",
122
+ "nullable": true,
123
+ "unique": false,
124
+ "id": false,
125
+ "generated": false,
126
+ "options": {
127
+ "jsonb": true
128
+ }
129
+ },
130
+ "preload": {
131
+ "kind": "field",
132
+ "column": "preload",
133
+ "type": "boolean",
134
+ "nullable": false,
135
+ "unique": false,
136
+ "id": false,
137
+ "generated": false
138
+ },
139
+ "secureId": {
140
+ "kind": "field",
141
+ "column": "secure_id",
142
+ "type": "string",
143
+ "nullable": false,
144
+ "unique": false,
145
+ "id": false,
146
+ "generated": false,
147
+ "length": 255
148
+ },
149
+ "key": {
150
+ "kind": "field",
151
+ "column": "key",
152
+ "type": "string",
153
+ "nullable": true,
154
+ "unique": false,
155
+ "id": false,
156
+ "generated": false,
157
+ "length": 128
158
+ },
159
+ "id": {
160
+ "kind": "field",
161
+ "column": "id",
162
+ "type": "uuid",
163
+ "nullable": false,
164
+ "unique": true,
165
+ "id": true,
166
+ "generated": false
167
+ }
168
+ },
169
+ "associations": {
170
+ "user": {
171
+ "kind": "association",
172
+ "association_type": "many_to_one",
173
+ "target_entity": "App\\Entity\\User",
174
+ "target": "user",
175
+ "mapped_by": null,
176
+ "inversed_by": null,
177
+ "is_owning_side": true,
178
+ "orphan_removal": false,
179
+ "cascade": {},
180
+ "fetch": 2,
181
+ "join_columns": [
182
+ {
183
+ "name": "user_id",
184
+ "referenced_column_name": "id",
185
+ "nullable": false,
186
+ "unique": false,
187
+ "on_delete": null
188
+ }
189
+ ]
190
+ }
191
+ }
192
+ }
193
+ }
File without changes
@@ -0,0 +1,21 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_helpers.decorator.base_class import base_class
4
+ from wexample_orm.common.abstract_repositories_manager import (
5
+ AbstractRepositoriesManager,
6
+ )
7
+
8
+
9
+ @base_class
10
+ class DatabaseRepositoriesManager(AbstractRepositoriesManager):
11
+ """Repositories of every Syrtis entity, public and internal, over a
12
+ database session; loads the generated list when none is given."""
13
+
14
+ def __attrs_post_init__(self) -> None:
15
+ self._execute_super_attrs_post_init_if_exists()
16
+ if not self.repository_classes:
17
+ from syrtis_python_client_internal.database.generated_repositories import (
18
+ generated_repositories,
19
+ )
20
+
21
+ self.repository_classes = list(generated_repositories)
@@ -0,0 +1,120 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client_internal.database.repository.card_repository import CardRepository
4
+ from syrtis_python_client_internal.database.repository.card_message_repository import CardMessageRepository
5
+ from syrtis_python_client_internal.database.repository.card_relation_repository import CardRelationRepository
6
+ from syrtis_python_client_internal.database.repository.chunk_repository import ChunkRepository
7
+ from syrtis_python_client_internal.database.repository.document_repository import DocumentRepository
8
+ from syrtis_python_client_internal.database.repository.environment_repository import EnvironmentRepository
9
+ from syrtis_python_client_internal.database.repository.job_repository import JobRepository
10
+ from syrtis_python_client_internal.database.repository.message_repository import MessageRepository
11
+ from syrtis_python_client_internal.database.repository.message_stamp_repository import MessageStampRepository
12
+ from syrtis_python_client_internal.database.repository.node_repository import NodeRepository
13
+ from syrtis_python_client_internal.database.repository.request_repository import RequestRepository
14
+ from syrtis_python_client_internal.database.repository.scenario_repository import ScenarioRepository
15
+ from syrtis_python_client_internal.database.repository.session_repository import SessionRepository
16
+ from syrtis_python_client_internal.database.repository.slot_repository import SlotRepository
17
+ from syrtis_python_client_internal.database.repository.slot_config_repository import SlotConfigRepository
18
+ from syrtis_python_client_internal.database.repository.slot_message_repository import SlotMessageRepository
19
+ from syrtis_python_client_internal.database.repository.slot_message_stamp_repository import SlotMessageStampRepository
20
+ from syrtis_python_client_internal.database.repository.slot_relation_repository import SlotRelationRepository
21
+ from syrtis_python_client_internal.database.repository.template_repository import TemplateRepository
22
+ from syrtis_python_client_internal.database.repository.timezone_repository import TimezoneRepository
23
+ from syrtis_python_client_internal.database.repository.user_repository import UserRepository
24
+ from syrtis_python_client_internal.database.repository.artifact_repository import ArtifactRepository
25
+ from syrtis_python_client_internal.database.repository.content_type_repository import ContentTypeRepository
26
+ from syrtis_python_client_internal.database.repository.credential_repository import CredentialRepository
27
+ from syrtis_python_client_internal.database.repository.credential_parameter_repository import CredentialParameterRepository
28
+ from syrtis_python_client_internal.database.repository.dashboard_repository import DashboardRepository
29
+ from syrtis_python_client_internal.database.repository.directory_repository import DirectoryRepository
30
+ from syrtis_python_client_internal.database.repository.document_directory_repository import DocumentDirectoryRepository
31
+ from syrtis_python_client_internal.database.repository.embedding_repository import EmbeddingRepository
32
+ from syrtis_python_client_internal.database.repository.extension_repository import ExtensionRepository
33
+ from syrtis_python_client_internal.database.repository.instruction_repository import InstructionRepository
34
+ from syrtis_python_client_internal.database.repository.internal_sample_repository import InternalSampleRepository
35
+ from syrtis_python_client_internal.database.repository.layer_repository import LayerRepository
36
+ from syrtis_python_client_internal.database.repository.log_repository import LogRepository
37
+ from syrtis_python_client_internal.database.repository.model_repository import ModelRepository
38
+ from syrtis_python_client_internal.database.repository.operator_repository import OperatorRepository
39
+ from syrtis_python_client_internal.database.repository.operator_port_repository import OperatorPortRepository
40
+ from syrtis_python_client_internal.database.repository.panel_repository import PanelRepository
41
+ from syrtis_python_client_internal.database.repository.panel_stamp_repository import PanelStampRepository
42
+ from syrtis_python_client_internal.database.repository.pipeline_repository import PipelineRepository
43
+ from syrtis_python_client_internal.database.repository.pipeline_operator_repository import PipelineOperatorRepository
44
+ from syrtis_python_client_internal.database.repository.pipeline_projection_repository import PipelineProjectionRepository
45
+ from syrtis_python_client_internal.database.repository.project_repository import ProjectRepository
46
+ from syrtis_python_client_internal.database.repository.project_access_repository import ProjectAccessRepository
47
+ from syrtis_python_client_internal.database.repository.projection_repository import ProjectionRepository
48
+ from syrtis_python_client_internal.database.repository.projection_config_repository import ProjectionConfigRepository
49
+ from syrtis_python_client_internal.database.repository.projection_relation_repository import ProjectionRelationRepository
50
+ from syrtis_python_client_internal.database.repository.prompt_repository import PromptRepository
51
+ from syrtis_python_client_internal.database.repository.schema_repository import SchemaRepository
52
+ from syrtis_python_client_internal.database.repository.session_group_repository import SessionGroupRepository
53
+ from syrtis_python_client_internal.database.repository.source_repository import SourceRepository
54
+ from syrtis_python_client_internal.database.repository.storage_repository import StorageRepository
55
+ from syrtis_python_client_internal.database.repository.storage_content_type_repository import StorageContentTypeRepository
56
+ from syrtis_python_client_internal.database.repository.token_repository import TokenRepository
57
+ from syrtis_python_client_internal.database.repository.trigger_repository import TriggerRepository
58
+ from syrtis_python_client_internal.database.repository.trigger_config_repository import TriggerConfigRepository
59
+ from syrtis_python_client_internal.database.repository.user_config_repository import UserConfigRepository
60
+
61
+
62
+ generated_repositories = [
63
+ CardRepository,
64
+ CardMessageRepository,
65
+ CardRelationRepository,
66
+ ChunkRepository,
67
+ DocumentRepository,
68
+ EnvironmentRepository,
69
+ JobRepository,
70
+ MessageRepository,
71
+ MessageStampRepository,
72
+ NodeRepository,
73
+ RequestRepository,
74
+ ScenarioRepository,
75
+ SessionRepository,
76
+ SlotRepository,
77
+ SlotConfigRepository,
78
+ SlotMessageRepository,
79
+ SlotMessageStampRepository,
80
+ SlotRelationRepository,
81
+ TemplateRepository,
82
+ TimezoneRepository,
83
+ UserRepository,
84
+ ArtifactRepository,
85
+ ContentTypeRepository,
86
+ CredentialRepository,
87
+ CredentialParameterRepository,
88
+ DashboardRepository,
89
+ DirectoryRepository,
90
+ DocumentDirectoryRepository,
91
+ EmbeddingRepository,
92
+ ExtensionRepository,
93
+ InstructionRepository,
94
+ InternalSampleRepository,
95
+ LayerRepository,
96
+ LogRepository,
97
+ ModelRepository,
98
+ OperatorRepository,
99
+ OperatorPortRepository,
100
+ PanelRepository,
101
+ PanelStampRepository,
102
+ PipelineRepository,
103
+ PipelineOperatorRepository,
104
+ PipelineProjectionRepository,
105
+ ProjectRepository,
106
+ ProjectAccessRepository,
107
+ ProjectionRepository,
108
+ ProjectionConfigRepository,
109
+ ProjectionRelationRepository,
110
+ PromptRepository,
111
+ SchemaRepository,
112
+ SessionGroupRepository,
113
+ SourceRepository,
114
+ StorageRepository,
115
+ StorageContentTypeRepository,
116
+ TokenRepository,
117
+ TriggerRepository,
118
+ TriggerConfigRepository,
119
+ UserConfigRepository,
120
+ ]
@@ -0,0 +1,11 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client_internal.database.repository.generated.artifact_repository_generated import (
4
+ ArtifactRepositoryGenerated,
5
+ )
6
+
7
+ __all__ = ["ArtifactRepository"]
8
+
9
+
10
+ class ArtifactRepository(ArtifactRepositoryGenerated):
11
+ pass