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,22 @@
1
+ from sqlalchemy import ForeignKey, String, Uuid
2
+ from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
3
+
4
+
5
+ class StorageGenerated:
6
+ @classmethod
7
+ def get_entity_name(cls) -> str:
8
+ return 'storage'
9
+
10
+ @declared_attr
11
+ def secureId(cls) -> Mapped[object]:
12
+ return mapped_column('secure_id', String(255), nullable=False)
13
+ @declared_attr
14
+ def title(cls) -> Mapped[object]:
15
+ return mapped_column(String(255), nullable=False)
16
+
17
+ @declared_attr
18
+ def credential_id(cls) -> Mapped[object]:
19
+ return mapped_column(Uuid, ForeignKey('credential.id'), nullable=False)
20
+ @declared_attr
21
+ def credential(cls) -> Mapped[object]:
22
+ return relationship('Credential', foreign_keys='Storage.credential_id', lazy='select')
@@ -0,0 +1,19 @@
1
+ from sqlalchemy import ForeignKey, String, Uuid
2
+ from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
3
+
4
+
5
+ class TokenGenerated:
6
+ @classmethod
7
+ def get_entity_name(cls) -> str:
8
+ return 'token'
9
+
10
+ @declared_attr
11
+ def value(cls) -> Mapped[object]:
12
+ return mapped_column(String(255), nullable=True)
13
+
14
+ @declared_attr
15
+ def user_id(cls) -> Mapped[object]:
16
+ return mapped_column(Uuid, ForeignKey('user.id'), nullable=False)
17
+ @declared_attr
18
+ def user(cls) -> Mapped[object]:
19
+ return relationship('User', foreign_keys='Token.user_id', lazy='select')
@@ -0,0 +1,21 @@
1
+ from sqlalchemy import Boolean, String, Text
2
+ from sqlalchemy.orm import Mapped, declared_attr, mapped_column
3
+
4
+
5
+ class TriggerConfigGenerated:
6
+ @classmethod
7
+ def get_entity_name(cls) -> str:
8
+ return 'trigger_config'
9
+
10
+ @declared_attr
11
+ def secureId(cls) -> Mapped[object]:
12
+ return mapped_column('secure_id', String(255), nullable=False)
13
+ @declared_attr
14
+ def value(cls) -> Mapped[object]:
15
+ return mapped_column(Text, nullable=True)
16
+ @declared_attr
17
+ def expression(cls) -> Mapped[object]:
18
+ return mapped_column(Boolean, nullable=False)
19
+ @declared_attr
20
+ def name(cls) -> Mapped[object]:
21
+ return mapped_column(String(255), nullable=False)
@@ -0,0 +1,15 @@
1
+ from sqlalchemy import String
2
+ from sqlalchemy.orm import Mapped, declared_attr, mapped_column
3
+
4
+
5
+ class TriggerGenerated:
6
+ @classmethod
7
+ def get_entity_name(cls) -> str:
8
+ return 'trigger'
9
+
10
+ @declared_attr
11
+ def secureId(cls) -> Mapped[object]:
12
+ return mapped_column('secure_id', String(255), nullable=False)
13
+ @declared_attr
14
+ def type(cls) -> Mapped[object]:
15
+ return mapped_column(String(120), nullable=False)
@@ -0,0 +1,28 @@
1
+ from sqlalchemy import Boolean, ForeignKey, JSON, String, Uuid
2
+ from sqlalchemy.orm import Mapped, declared_attr, mapped_column, relationship
3
+
4
+
5
+ class UserConfigGenerated:
6
+ @classmethod
7
+ def get_entity_name(cls) -> str:
8
+ return 'user_config'
9
+
10
+ @declared_attr
11
+ def secureId(cls) -> Mapped[object]:
12
+ return mapped_column('secure_id', String(255), nullable=False)
13
+ @declared_attr
14
+ def key(cls) -> Mapped[object]:
15
+ return mapped_column(String(128), nullable=True)
16
+ @declared_attr
17
+ def value(cls) -> Mapped[object]:
18
+ return mapped_column(JSON, nullable=True)
19
+ @declared_attr
20
+ def preload(cls) -> Mapped[object]:
21
+ return mapped_column(Boolean, nullable=False)
22
+
23
+ @declared_attr
24
+ def user_id(cls) -> Mapped[object]:
25
+ return mapped_column(Uuid, ForeignKey('user.id'), nullable=False)
26
+ @declared_attr
27
+ def user(cls) -> Mapped[object]:
28
+ return relationship('User', foreign_keys='UserConfig.user_id', lazy='select')
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.instruction_generated import (
6
+ InstructionGenerated,
7
+ )
8
+
9
+ __all__ = ["Instruction", "InstructionGenerated"]
10
+
11
+
12
+ class Instruction(InstructionGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.internal_sample_generated import (
6
+ InternalSampleGenerated,
7
+ )
8
+
9
+ __all__ = ["InternalSample", "InternalSampleGenerated"]
10
+
11
+
12
+ class InternalSample(InternalSampleGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.layer_generated import (
6
+ LayerGenerated,
7
+ )
8
+
9
+ __all__ = ["Layer", "LayerGenerated"]
10
+
11
+
12
+ class Layer(LayerGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.log_generated import (
6
+ LogGenerated,
7
+ )
8
+
9
+ __all__ = ["Log", "LogGenerated"]
10
+
11
+
12
+ class Log(LogGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.model_generated import (
6
+ ModelGenerated,
7
+ )
8
+
9
+ __all__ = ["Model", "ModelGenerated"]
10
+
11
+
12
+ class Model(ModelGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.operator_generated import (
6
+ OperatorGenerated,
7
+ )
8
+
9
+ __all__ = ["Operator", "OperatorGenerated"]
10
+
11
+
12
+ class Operator(OperatorGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.operator_port_generated import (
6
+ OperatorPortGenerated,
7
+ )
8
+
9
+ __all__ = ["OperatorPort", "OperatorPortGenerated"]
10
+
11
+
12
+ class OperatorPort(OperatorPortGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.panel_generated import (
6
+ PanelGenerated,
7
+ )
8
+
9
+ __all__ = ["Panel", "PanelGenerated"]
10
+
11
+
12
+ class Panel(PanelGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.panel_stamp_generated import (
6
+ PanelStampGenerated,
7
+ )
8
+
9
+ __all__ = ["PanelStamp", "PanelStampGenerated"]
10
+
11
+
12
+ class PanelStamp(PanelStampGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.pipeline_generated import (
6
+ PipelineGenerated,
7
+ )
8
+
9
+ __all__ = ["Pipeline", "PipelineGenerated"]
10
+
11
+
12
+ class Pipeline(PipelineGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.pipeline_operator_generated import (
6
+ PipelineOperatorGenerated,
7
+ )
8
+
9
+ __all__ = ["PipelineOperator", "PipelineOperatorGenerated"]
10
+
11
+
12
+ class PipelineOperator(PipelineOperatorGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.pipeline_projection_generated import (
6
+ PipelineProjectionGenerated,
7
+ )
8
+
9
+ __all__ = ["PipelineProjection", "PipelineProjectionGenerated"]
10
+
11
+
12
+ class PipelineProjection(PipelineProjectionGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.project_generated import (
6
+ ProjectGenerated,
7
+ )
8
+
9
+ __all__ = ["Project", "ProjectGenerated"]
10
+
11
+
12
+ class Project(ProjectGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.project_access_generated import (
6
+ ProjectAccessGenerated,
7
+ )
8
+
9
+ __all__ = ["ProjectAccess", "ProjectAccessGenerated"]
10
+
11
+
12
+ class ProjectAccess(ProjectAccessGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.projection_generated import (
6
+ ProjectionGenerated,
7
+ )
8
+
9
+ __all__ = ["Projection", "ProjectionGenerated"]
10
+
11
+
12
+ class Projection(ProjectionGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.projection_config_generated import (
6
+ ProjectionConfigGenerated,
7
+ )
8
+
9
+ __all__ = ["ProjectionConfig", "ProjectionConfigGenerated"]
10
+
11
+
12
+ class ProjectionConfig(ProjectionConfigGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.projection_relation_generated import (
6
+ ProjectionRelationGenerated,
7
+ )
8
+
9
+ __all__ = ["ProjectionRelation", "ProjectionRelationGenerated"]
10
+
11
+
12
+ class ProjectionRelation(ProjectionRelationGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,14 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.prompt_generated import PromptGenerated
6
+
7
+ __all__ = ["Prompt", "PromptGenerated"]
8
+
9
+
10
+ class Prompt(PromptGenerated, AbstractEntity):
11
+ TYPE_AI = "ai"
12
+ TYPE_HUMAN = "human"
13
+ TYPE_SCHEMA = "schema"
14
+ TYPE_SYSTEM = "system"
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.schema_generated import (
6
+ SchemaGenerated,
7
+ )
8
+
9
+ __all__ = ["Schema", "SchemaGenerated"]
10
+
11
+
12
+ class Schema(SchemaGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.session_group_generated import (
6
+ SessionGroupGenerated,
7
+ )
8
+
9
+ __all__ = ["SessionGroup", "SessionGroupGenerated"]
10
+
11
+
12
+ class SessionGroup(SessionGroupGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.source_generated import (
6
+ SourceGenerated,
7
+ )
8
+
9
+ __all__ = ["Source", "SourceGenerated"]
10
+
11
+
12
+ class Source(SourceGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.storage_generated import (
6
+ StorageGenerated,
7
+ )
8
+
9
+ __all__ = ["Storage", "StorageGenerated"]
10
+
11
+
12
+ class Storage(StorageGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.storage_content_type_generated import (
6
+ StorageContentTypeGenerated,
7
+ )
8
+
9
+ __all__ = ["StorageContentType", "StorageContentTypeGenerated"]
10
+
11
+
12
+ class StorageContentType(StorageContentTypeGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.token_generated import (
6
+ TokenGenerated,
7
+ )
8
+
9
+ __all__ = ["Token", "TokenGenerated"]
10
+
11
+
12
+ class Token(TokenGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.trigger_generated import (
6
+ TriggerGenerated,
7
+ )
8
+
9
+ __all__ = ["Trigger", "TriggerGenerated"]
10
+
11
+
12
+ class Trigger(TriggerGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.trigger_config_generated import (
6
+ TriggerConfigGenerated,
7
+ )
8
+
9
+ __all__ = ["TriggerConfig", "TriggerConfigGenerated"]
10
+
11
+
12
+ class TriggerConfig(TriggerConfigGenerated, AbstractEntity):
13
+ pass
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from wexample_orm.entity.abstract_entity import AbstractEntity
4
+
5
+ from syrtis_python_client_internal.entity.generated.user_config_generated import (
6
+ UserConfigGenerated,
7
+ )
8
+
9
+ __all__ = ["UserConfig", "UserConfigGenerated"]
10
+
11
+
12
+ class UserConfig(UserConfigGenerated, AbstractEntity):
13
+ pass
File without changes
File without changes
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.artifact import Artifact
8
+
9
+
10
+ class ArtifactRepository(AbstractApiRepository[Artifact]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[Artifact]:
13
+ return Artifact
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.content_type import ContentType
8
+
9
+
10
+ class ContentTypeRepository(AbstractApiRepository[ContentType]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[ContentType]:
13
+ return ContentType
@@ -0,0 +1,15 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.credential_parameter import (
8
+ CredentialParameter,
9
+ )
10
+
11
+
12
+ class CredentialParameterRepository(AbstractApiRepository[CredentialParameter]):
13
+ @classmethod
14
+ def get_entity_type(cls) -> type[CredentialParameter]:
15
+ return CredentialParameter
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.credential import Credential
8
+
9
+
10
+ class CredentialRepository(AbstractApiRepository[Credential]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[Credential]:
13
+ return Credential
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.dashboard import Dashboard
8
+
9
+
10
+ class DashboardRepository(AbstractApiRepository[Dashboard]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[Dashboard]:
13
+ return Dashboard
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.directory import Directory
8
+
9
+
10
+ class DirectoryRepository(AbstractApiRepository[Directory]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[Directory]:
13
+ return Directory
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.document_directory import DocumentDirectory
8
+
9
+
10
+ class DocumentDirectoryRepository(AbstractApiRepository[DocumentDirectory]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[DocumentDirectory]:
13
+ return DocumentDirectory
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.embedding import Embedding
8
+
9
+
10
+ class EmbeddingRepository(AbstractApiRepository[Embedding]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[Embedding]:
13
+ return Embedding
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.extension import Extension
8
+
9
+
10
+ class ExtensionRepository(AbstractApiRepository[Extension]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[Extension]:
13
+ return Extension
@@ -0,0 +1,13 @@
1
+ from __future__ import annotations
2
+
3
+ from syrtis_python_client.repository.abstract_api_repository import (
4
+ AbstractApiRepository,
5
+ )
6
+
7
+ from syrtis_python_client_internal.entity.instruction import Instruction
8
+
9
+
10
+ class InstructionRepository(AbstractApiRepository[Instruction]):
11
+ @classmethod
12
+ def get_entity_type(cls) -> type[Instruction]:
13
+ return Instruction