mostlyai 4.4.2__tar.gz → 4.4.3__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 (85) hide show
  1. {mostlyai-4.4.2 → mostlyai-4.4.3}/PKG-INFO +7 -7
  2. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/__init__.py +1 -1
  3. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/connectors.py +14 -0
  4. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/routes.py +12 -2
  5. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/base.py +3 -1
  6. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/connectors.py +24 -11
  7. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/domain.py +223 -41
  8. {mostlyai-4.4.2 → mostlyai-4.4.3}/pyproject.toml +7 -7
  9. {mostlyai-4.4.2 → mostlyai-4.4.3}/.gitignore +0 -0
  10. {mostlyai-4.4.2 → mostlyai-4.4.3}/LICENSE +0 -0
  11. {mostlyai-4.4.2 → mostlyai-4.4.3}/README.md +0 -0
  12. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/__init__.py +0 -0
  13. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/auto_detect.py +0 -0
  14. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/base.py +0 -0
  15. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/context.py +0 -0
  16. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/conversions.py +0 -0
  17. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/__init__.py +0 -0
  18. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/base.py +0 -0
  19. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/bigquery.py +0 -0
  20. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/databricks.py +0 -0
  21. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/hive.py +0 -0
  22. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/mssql.py +0 -0
  23. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/mysql.py +0 -0
  24. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/oracle.py +0 -0
  25. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/postgresql.py +0 -0
  26. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/snowflake.py +0 -0
  27. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/sqlite.py +0 -0
  28. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/db/types_coercion.py +0 -0
  29. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/dtype.py +0 -0
  30. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/exceptions.py +0 -0
  31. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/__init__.py +0 -0
  32. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/base.py +0 -0
  33. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/container/__init__.py +0 -0
  34. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/container/aws.py +0 -0
  35. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/container/azure.py +0 -0
  36. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/container/bucket_based.py +0 -0
  37. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/container/gcs.py +0 -0
  38. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/container/minio.py +0 -0
  39. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/table/__init__.py +0 -0
  40. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/table/csv.py +0 -0
  41. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/table/feather.py +0 -0
  42. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/table/json.py +0 -0
  43. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/table/parquet.py +0 -0
  44. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/file/utils.py +0 -0
  45. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/language_model.py +0 -0
  46. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/metadata_objects.py +0 -0
  47. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/non_context.py +0 -0
  48. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/progress_callback.py +0 -0
  49. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/pull.py +0 -0
  50. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/pull_context.py +0 -0
  51. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/pull_utils.py +0 -0
  52. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/push.py +0 -0
  53. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/util/__init__.py +0 -0
  54. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/util/common.py +0 -0
  55. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_data/util/kerberos.py +0 -0
  56. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/__init__.py +0 -0
  57. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/cli.py +0 -0
  58. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/__init__.py +0 -0
  59. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/jobs.py +0 -0
  60. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/plan.py +0 -0
  61. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_analyze_training_data.py +0 -0
  62. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_create_data_report.py +0 -0
  63. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_create_model_report.py +0 -0
  64. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_deliver_data.py +0 -0
  65. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_encode_training_data.py +0 -0
  66. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_finalize_generation.py +0 -0
  67. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_finalize_training.py +0 -0
  68. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_generate_data.py +0 -0
  69. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_generate_model_report_data.py +0 -0
  70. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_pull_training_data.py +0 -0
  71. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/execution/step_train_model.py +0 -0
  72. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/generators.py +0 -0
  73. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/progress.py +0 -0
  74. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/server.py +0 -0
  75. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/storage.py +0 -0
  76. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/_local/synthetic_datasets.py +0 -0
  77. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/__init__.py +0 -0
  78. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/_base_utils.py +0 -0
  79. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/_naming_conventions.py +0 -0
  80. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/_utils.py +0 -0
  81. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/api.py +0 -0
  82. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/exceptions.py +0 -0
  83. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/generators.py +0 -0
  84. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/client/synthetic_datasets.py +0 -0
  85. {mostlyai-4.4.2 → mostlyai-4.4.3}/mostlyai/sdk/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mostlyai
3
- Version: 4.4.2
3
+ Version: 4.4.3
4
4
  Summary: Synthetic Data SDK
5
5
  Project-URL: homepage, https://app.mostly.ai/
6
6
  Project-URL: repository, https://github.com/mostly-ai/mostlyai
@@ -57,8 +57,8 @@ Requires-Dist: fastapi<0.116,>=0.115.6; extra == 'local'
57
57
  Requires-Dist: filelock>=3.16.1; extra == 'local'
58
58
  Requires-Dist: gcsfs>=2023.1.0; extra == 'local'
59
59
  Requires-Dist: joblib>=1.2.0; extra == 'local'
60
- Requires-Dist: mostlyai-engine==1.1.8; extra == 'local'
61
- Requires-Dist: mostlyai-qa==1.5.9; extra == 'local'
60
+ Requires-Dist: mostlyai-engine==1.1.10; extra == 'local'
61
+ Requires-Dist: mostlyai-qa==1.5.10; extra == 'local'
62
62
  Requires-Dist: networkx<4,>=3.0; extra == 'local'
63
63
  Requires-Dist: openpyxl>=3.1.5; extra == 'local'
64
64
  Requires-Dist: python-multipart>=0.0.20; extra == 'local'
@@ -80,8 +80,8 @@ Requires-Dist: fastapi<0.116,>=0.115.6; extra == 'local-cpu'
80
80
  Requires-Dist: filelock>=3.16.1; extra == 'local-cpu'
81
81
  Requires-Dist: gcsfs>=2023.1.0; extra == 'local-cpu'
82
82
  Requires-Dist: joblib>=1.2.0; extra == 'local-cpu'
83
- Requires-Dist: mostlyai-engine[cpu]==1.1.8; extra == 'local-cpu'
84
- Requires-Dist: mostlyai-qa[cpu]==1.5.9; extra == 'local-cpu'
83
+ Requires-Dist: mostlyai-engine[cpu]==1.1.10; extra == 'local-cpu'
84
+ Requires-Dist: mostlyai-qa[cpu]==1.5.10; extra == 'local-cpu'
85
85
  Requires-Dist: networkx<4,>=3.0; extra == 'local-cpu'
86
86
  Requires-Dist: openpyxl>=3.1.5; extra == 'local-cpu'
87
87
  Requires-Dist: python-multipart>=0.0.20; extra == 'local-cpu'
@@ -103,8 +103,8 @@ Requires-Dist: fastapi<0.116,>=0.115.6; extra == 'local-gpu'
103
103
  Requires-Dist: filelock>=3.16.1; extra == 'local-gpu'
104
104
  Requires-Dist: gcsfs>=2023.1.0; extra == 'local-gpu'
105
105
  Requires-Dist: joblib>=1.2.0; extra == 'local-gpu'
106
- Requires-Dist: mostlyai-engine[gpu]==1.1.8; extra == 'local-gpu'
107
- Requires-Dist: mostlyai-qa[gpu]==1.5.9; extra == 'local-gpu'
106
+ Requires-Dist: mostlyai-engine[gpu]==1.1.10; extra == 'local-gpu'
107
+ Requires-Dist: mostlyai-qa[gpu]==1.5.10; extra == 'local-gpu'
108
108
  Requires-Dist: networkx<4,>=3.0; extra == 'local-gpu'
109
109
  Requires-Dist: openpyxl>=3.1.5; extra == 'local-gpu'
110
110
  Requires-Dist: python-multipart>=0.0.20; extra == 'local-gpu'
@@ -15,4 +15,4 @@
15
15
  from mostlyai.sdk.client.api import MostlyAI
16
16
 
17
17
  __all__ = ["MostlyAI"]
18
- __version__ = "4.4.2" # Do not set this manually. Use poetry version [params].
18
+ __version__ = "4.4.3" # Do not set this manually. Use poetry version [params].
@@ -27,6 +27,7 @@ from mostlyai.sdk.domain import (
27
27
  ConnectorAccessType,
28
28
  ConnectorReadDataConfig,
29
29
  ConnectorWriteDataConfig,
30
+ ConnectorDeleteDataConfig,
30
31
  )
31
32
  from mostlyai.sdk._data.file.utils import make_data_table_from_container
32
33
 
@@ -92,3 +93,16 @@ def write_data_to_connector(connector: Connector, config: ConnectorWriteDataConf
92
93
  data_table.write_data(df, if_exists=config.if_exists.value.lower())
93
94
  except Exception as e:
94
95
  raise HTTPException(status_code=400, detail=str(e))
96
+
97
+
98
+ def delete_data_from_connector(connector: Connector, config: ConnectorDeleteDataConfig) -> None:
99
+ if connector.access_type != ConnectorAccessType.write_data:
100
+ raise HTTPException(status_code=400, detail="Connector does not have write access")
101
+
102
+ try:
103
+ data_table = _data_table_from_connector_and_location(
104
+ connector=connector, location=config.location, is_output=True
105
+ )
106
+ data_table.drop()
107
+ except Exception as e:
108
+ raise HTTPException(status_code=400, detail=str(e))
@@ -61,6 +61,7 @@ from mostlyai.sdk.domain import (
61
61
  ConnectorReadDataConfig,
62
62
  IfExists,
63
63
  ConnectorWriteDataConfig,
64
+ ConnectorDeleteDataConfig,
64
65
  )
65
66
  from mostlyai.sdk._local.storage import (
66
67
  read_generator_from_json,
@@ -246,14 +247,23 @@ class Routes:
246
247
 
247
248
  @self.router.post("/connectors/{id}/write-data")
248
249
  async def write_data(
249
- id: str, file: UploadFile = File(...), location: str = Form(...), if_exists: IfExists = Form("FAIL")
250
+ id: str,
251
+ file: UploadFile | None = File(None),
252
+ location: str = Form(...),
253
+ if_exists: IfExists = Form("FAIL", alias="ifExists"),
250
254
  ) -> None:
251
255
  connector_dir = self.home_dir / "connectors" / id
252
256
  connector = read_connector_from_json(connector_dir)
253
- file_content = await file.read()
257
+ file_content = await file.read() if file else None
254
258
  config = ConnectorWriteDataConfig(location=location, file=file_content, if_exists=if_exists)
255
259
  connectors.write_data_to_connector(connector, config)
256
260
 
261
+ @self.router.post("/connectors/{id}/delete-data")
262
+ async def delete_data(id: str, config: ConnectorDeleteDataConfig = Body(...)) -> None:
263
+ connector_dir = self.home_dir / "connectors" / id
264
+ connector = read_connector_from_json(connector_dir)
265
+ connectors.delete_data_from_connector(connector, config)
266
+
257
267
  ## GENERATORS
258
268
 
259
269
  @self.router.get("/generators")
@@ -253,7 +253,9 @@ class CustomBaseModel(BaseModel):
253
253
  # Use rich.print to create a rich representation of the model
254
254
  console = Console()
255
255
  with console.capture() as capture:
256
- rich.print(self.model_dump())
256
+ # dump the model while making sure attributes with repr=False is excluded
257
+ safe_model_dump = {k: v for k, v in self.__repr_args__()}
258
+ rich.print(safe_model_dump)
257
259
  return capture.get()
258
260
 
259
261
  def open(self) -> None:
@@ -34,7 +34,6 @@ from mostlyai.sdk.domain import (
34
34
  ConnectorListItem,
35
35
  ConnectorPatchConfig,
36
36
  ConnectorConfig,
37
- ConnectorWriteDataConfig,
38
37
  IfExists,
39
38
  )
40
39
 
@@ -190,18 +189,21 @@ class _MostlyConnectorsClient(_MostlyBaseClient):
190
189
  return df
191
190
 
192
191
  def _write_data(
193
- self, connector_id: str, data: pd.DataFrame, location: str, if_exists: IfExists = IfExists.fail
192
+ self, connector_id: str, data: pd.DataFrame | None, location: str, if_exists: IfExists = IfExists.fail
194
193
  ) -> None:
195
- buffer = io.BytesIO()
196
- data.to_parquet(buffer, index=False)
197
- buffer.seek(0)
198
-
199
- files = {
200
- "file": ("data.parquet", buffer, "application/octet-stream"),
194
+ files = {}
195
+ if data is not None:
196
+ buffer = io.BytesIO()
197
+ data.to_parquet(buffer, index=False)
198
+ buffer.seek(0)
199
+ files = {
200
+ "file": ("data.parquet", buffer, "application/octet-stream"),
201
+ }
202
+
203
+ config_data = {
204
+ "location": location,
205
+ "ifExists": if_exists.upper(),
201
206
  }
202
- config_data = ConnectorWriteDataConfig(location=location, if_exists=if_exists.upper()).model_dump(
203
- mode="json", exclude_unset=True
204
- )
205
207
 
206
208
  self.request(
207
209
  verb="POST",
@@ -209,3 +211,14 @@ class _MostlyConnectorsClient(_MostlyBaseClient):
209
211
  files=files,
210
212
  data=config_data,
211
213
  )
214
+
215
+ def _delete_data(self, connector_id: str, location: str) -> None:
216
+ config_data = {
217
+ "location": location,
218
+ }
219
+
220
+ self.request(
221
+ verb="POST",
222
+ path=[connector_id, "delete-data"],
223
+ json=config_data,
224
+ )
@@ -13,7 +13,7 @@
13
13
  # limitations under the License.
14
14
 
15
15
  # generated by datamodel-codegen:
16
- # timestamp: 2025-03-18T20:06:55+00:00
16
+ # timestamp: 2025-03-27T23:05:51+00:00
17
17
 
18
18
  from __future__ import annotations
19
19
 
@@ -25,6 +25,8 @@ from pydantic import field_validator, model_validator
25
25
  import uuid
26
26
  import rich
27
27
  import zipfile
28
+ import sys
29
+ import inspect
28
30
  from mostlyai.sdk.client._base_utils import convert_to_base64, read_table_from_path
29
31
  from typing import Any, ClassVar, Literal, Annotated
30
32
 
@@ -55,6 +57,10 @@ class PermissionLevel(str, Enum):
55
57
 
56
58
 
57
59
  class UserSettingsProfileUpdateConfig(CustomBaseModel):
60
+ """
61
+ Configuration for updating a user's profile settings.
62
+ """
63
+
58
64
  name: str | None = Field(
59
65
  None,
60
66
  description="The name of a user.\nContains only alphanumeric characters, hyphens, and underscores. Must start or end with alphanumeric.\nIt must be globally case-insensitive unique considering organizations and users.\n",
@@ -65,6 +71,10 @@ class UserSettingsProfileUpdateConfig(CustomBaseModel):
65
71
 
66
72
 
67
73
  class UserSettingsAssistantUpdateConfig(CustomBaseModel):
74
+ """
75
+ Configuration for updating a user's assistant-related settings.
76
+ """
77
+
68
78
  about_user_message: str | None = Field(
69
79
  None,
70
80
  alias="aboutUserMessage",
@@ -78,6 +88,10 @@ class UserSettingsAssistantUpdateConfig(CustomBaseModel):
78
88
 
79
89
 
80
90
  class Credits(CustomBaseModel):
91
+ """
92
+ The credit balance and limit for the current time period
93
+ """
94
+
81
95
  current: float | None = Field(None, description="The credit balance for the current time period")
82
96
  limit: float | None = Field(
83
97
  None,
@@ -96,6 +110,10 @@ class Credits(CustomBaseModel):
96
110
 
97
111
 
98
112
  class ParallelTrainingJobs(CustomBaseModel):
113
+ """
114
+ The number of currently running training jobs and the limit
115
+ """
116
+
99
117
  current: int | None = Field(None, description="The number of currently running training jobs")
100
118
  limit: int | None = Field(
101
119
  None,
@@ -104,6 +122,10 @@ class ParallelTrainingJobs(CustomBaseModel):
104
122
 
105
123
 
106
124
  class ParallelGenerationJobs(CustomBaseModel):
125
+ """
126
+ The number of currently running generation jobs and the limit
127
+ """
128
+
107
129
  current: int | None = Field(None, description="The number of currently running generation jobs.")
108
130
  limit: int | None = Field(
109
131
  None,
@@ -112,9 +134,21 @@ class ParallelGenerationJobs(CustomBaseModel):
112
134
 
113
135
 
114
136
  class UserUsage(CustomBaseModel):
115
- credits: Credits | None = None
116
- parallel_training_jobs: ParallelTrainingJobs | None = Field(None, alias="parallelTrainingJobs")
117
- parallel_generation_jobs: ParallelGenerationJobs | None = Field(None, alias="parallelGenerationJobs")
137
+ """
138
+ Usage statistics and limits for the current user.
139
+ """
140
+
141
+ credits: Credits | None = Field(None, description="The credit balance and limit for the current time period")
142
+ parallel_training_jobs: ParallelTrainingJobs | None = Field(
143
+ None,
144
+ alias="parallelTrainingJobs",
145
+ description="The number of currently running training jobs and the limit",
146
+ )
147
+ parallel_generation_jobs: ParallelGenerationJobs | None = Field(
148
+ None,
149
+ alias="parallelGenerationJobs",
150
+ description="The number of currently running generation jobs and the limit",
151
+ )
118
152
 
119
153
 
120
154
  class NotificationStatus(str, Enum):
@@ -146,8 +180,8 @@ class ConnectorAccessType(str, Enum):
146
180
  The access permissions of a connector.
147
181
 
148
182
  - `READ_PROTECTED`: The connector is restricted to being used solely as a source for training a generator. Direct data access is not permitted, only schema access is available.
149
- - `READ_DATA`: This connector allows full read access. As such it can also be used as a source for training a generator.
150
- - `WRITE_DATA`: This connector allows full read and write access. As such it can be also used as a source for training a generator, as well as a destination for delivering a synthetic dataset.
183
+ - `READ_DATA`: This connector allows full read access. It can also be used as a source for training a generator.
184
+ - `WRITE_DATA`: This connector allows full read and write access. It can be also used as a source for training a generator, as well as a destination for delivering a synthetic dataset.
151
185
  - `SOURCE`: DEPRECATED - equivalent to READ_PROTECTED
152
186
  - `DESTINATION`: DEPRECATED - equivalent to WRITE_DATA
153
187
 
@@ -344,8 +378,8 @@ class ConnectorConfig(CustomBaseModel):
344
378
  type: ConnectorType
345
379
  access_type: ConnectorAccessType | None = Field(ConnectorAccessType.read_protected, alias="accessType")
346
380
  config: dict[str, Any] | None = None
347
- secrets: dict[str, str] | None = None
348
- ssl: dict[str, str] | None = None
381
+ secrets: Annotated[dict[str, str] | None, Field(repr=False)] = None
382
+ ssl: Annotated[dict[str, str] | None, Field(repr=False)] = None
349
383
 
350
384
 
351
385
  class ConnectorPatchConfig(CustomBaseModel):
@@ -356,11 +390,26 @@ class ConnectorPatchConfig(CustomBaseModel):
356
390
 
357
391
  name: str | None = Field(None, description="The name of a connector.")
358
392
  config: dict[str, Any] | None = None
359
- secrets: dict[str, str] | None = None
360
- ssl: dict[str, str] | None = None
393
+ secrets: Annotated[dict[str, str] | None, Field(repr=False)] = None
394
+ ssl: Annotated[dict[str, str] | None, Field(repr=False)] = None
395
+
396
+
397
+ class ConnectorDeleteDataConfig(CustomBaseModel):
398
+ """
399
+ Configuration for deleting data from a connector.
400
+ """
401
+
402
+ location: str = Field(
403
+ ...,
404
+ description="Specifies the target within the connector to delete. The format of this parameter varies by connector type.",
405
+ )
361
406
 
362
407
 
363
408
  class ConnectorReadDataConfig(CustomBaseModel):
409
+ """
410
+ Configuration for reading data from a connector.
411
+ """
412
+
364
413
  location: str | None = Field(
365
414
  None,
366
415
  description="Specifies the target within the connector from which to retrieve the data. The format of this parameter varies by connector type.",
@@ -389,13 +438,17 @@ class IfExists(str, Enum):
389
438
 
390
439
 
391
440
  class ConnectorWriteDataConfig(CustomBaseModel):
392
- file: bytes | None = Field(None, description="Binary Parquet file containing the data to write.")
393
- location: str | None = Field(
394
- None,
441
+ """
442
+ Configuration for writing data to a connector.
443
+ """
444
+
445
+ file: bytes = Field(..., description="Binary Parquet file containing the data to write.")
446
+ location: str = Field(
447
+ ...,
395
448
  description="Specifies the target within the connector to which to write the data. The format of this parameter varies by connector type.",
396
449
  )
397
450
  if_exists: IfExists | None = Field(
398
- IfExists.fail,
451
+ None,
399
452
  alias="ifExists",
400
453
  description="The behavior if the target location already exists.\n\n- `APPEND`: Append the data to the existing target.\n- `REPLACE`: Replace the existing target with the new data.\n- `FAIL`: Fail if the target already exists.\n",
401
454
  )
@@ -465,6 +518,10 @@ class SourceColumnValueRange(CustomBaseModel):
465
518
 
466
519
 
467
520
  class SourceForeignKey(CustomBaseModel):
521
+ """
522
+ A foreign key relationship in a source table.
523
+ """
524
+
468
525
  id: str = Field(..., description="The unique identifier of a foreign key.")
469
526
  column: str = Field(..., description="The column name of a foreign key.", min_length=1)
470
527
  referenced_table: str = Field(
@@ -511,10 +568,18 @@ class GeneratorPatchConfig(CustomBaseModel):
511
568
 
512
569
 
513
570
  class GeneratorImportFromFileConfig(CustomBaseModel):
571
+ """
572
+ Configuration for importing a generator from a file.
573
+ """
574
+
514
575
  file: bytes
515
576
 
516
577
 
517
578
  class SourceForeignKeyConfig(CustomBaseModel):
579
+ """
580
+ Configuration for defining a foreign key relationship in a source table.
581
+ """
582
+
518
583
  column: str = Field(..., description="The column name of a foreign key.", min_length=1)
519
584
  referenced_table: str = Field(
520
585
  ...,
@@ -530,6 +595,10 @@ class SourceForeignKeyConfig(CustomBaseModel):
530
595
 
531
596
 
532
597
  class SourceForeignKeyPatchConfig(CustomBaseModel):
598
+ """
599
+ Configuration for updating a foreign key relationship in a source table.
600
+ """
601
+
533
602
  is_context: bool | None = Field(
534
603
  None,
535
604
  alias="isContext",
@@ -594,6 +663,10 @@ class StepCode(str, Enum):
594
663
 
595
664
 
596
665
  class ProgressValue(CustomBaseModel):
666
+ """
667
+ The progress of a job or a step.
668
+ """
669
+
597
670
  value: int | None = 0
598
671
  max: int | None = 1
599
672
 
@@ -672,6 +745,10 @@ class SyntheticDatasetReportType(str, Enum):
672
745
 
673
746
 
674
747
  class SyntheticDatasetDelivery(CustomBaseModel):
748
+ """
749
+ Configuration for delivering a synthetic dataset to a destination.
750
+ """
751
+
675
752
  overwrite_tables: bool = Field(
676
753
  ...,
677
754
  alias="overwriteTables",
@@ -686,11 +763,19 @@ class SyntheticDatasetDelivery(CustomBaseModel):
686
763
 
687
764
 
688
765
  class AssistantLiteLlmExtraItem(CustomBaseModel):
766
+ """
767
+ Configuration parameter for the selected LiteLLM model.
768
+ """
769
+
689
770
  key: str | None = None
690
771
  value: str | None = None
691
772
 
692
773
 
693
774
  class LiteLlm(CustomBaseModel):
775
+ """
776
+ Configuration of the LiteLLM service
777
+ """
778
+
694
779
  model: str | None = Field(
695
780
  None,
696
781
  description="The LiteLLM model of the assistant. See https://docs.litellm.ai/docs/providers.",
@@ -708,6 +793,10 @@ class LiteLlm(CustomBaseModel):
708
793
 
709
794
 
710
795
  class DataLlm(CustomBaseModel):
796
+ """
797
+ Configuration of the DataLLM service
798
+ """
799
+
711
800
  api_key: str | None = Field(
712
801
  None,
713
802
  alias="apiKey",
@@ -721,8 +810,8 @@ class AssistantSettings(CustomBaseModel):
721
810
  """
722
811
 
723
812
  is_enabled: bool | None = Field(None, alias="isEnabled", description="If true, the assistant is enabled.")
724
- lite_llm: LiteLlm | None = Field(None, alias="liteLlm")
725
- data_llm: DataLlm | None = Field(None, alias="dataLlm")
813
+ lite_llm: LiteLlm | None = Field(None, alias="liteLlm", description="Configuration of the LiteLLM service")
814
+ data_llm: DataLlm | None = Field(None, alias="dataLlm", description="Configuration of the DataLLM service")
726
815
  system_instructions: str | None = Field(
727
816
  None,
728
817
  alias="systemInstructions",
@@ -741,6 +830,10 @@ class AssistantSettings(CustomBaseModel):
741
830
 
742
831
 
743
832
  class AssistantThreadSessionStatus(str, Enum):
833
+ """
834
+ The current status of an assistant thread session.
835
+ """
836
+
744
837
  initializing = "initializing"
745
838
  running = "running"
746
839
  expired = "expired"
@@ -765,14 +858,33 @@ class AssistantMessageContentType(str, Enum):
765
858
 
766
859
  text = "text"
767
860
  python = "python"
768
- console = "console"
769
861
  files = "files"
770
862
 
771
863
 
864
+ class AssistantMessageDeltaContentType(str, Enum):
865
+ """
866
+ The type of the message content
867
+ """
868
+
869
+ text = "text"
870
+ python = "python"
871
+ console = "console"
872
+
873
+
772
874
  class AssistantMessageFile(CustomBaseModel):
773
875
  name: str | None = None
774
876
 
775
877
 
878
+ class AssistantMessageFinishReason(str, Enum):
879
+ """
880
+ The reason why the message generation finished.
881
+ """
882
+
883
+ stop = "stop"
884
+ length = "length"
885
+ tool_calls = "tool_calls"
886
+
887
+
776
888
  class AssistantMessage(CustomBaseModel):
777
889
  """
778
890
  A complete message.
@@ -788,7 +900,7 @@ class AssistantMessage(CustomBaseModel):
788
900
  )
789
901
  files: list[AssistantMessageFile] | None = Field(
790
902
  None,
791
- description="files apply only to files content type and is a list of filenames",
903
+ description="Files associated with an assistant message, applicable only to files content type.",
792
904
  )
793
905
  tokens_consumed: int | None = Field(
794
906
  None,
@@ -829,13 +941,13 @@ class AssistantMessageDelta(CustomBaseModel):
829
941
 
830
942
  id: str | None = Field(None, description="The unique identifier of a assistant message.")
831
943
  role: AssistantMessageRole | None = None
832
- content_type: AssistantMessageContentType | None = Field(None, alias="contentType")
833
- delta: str | None = Field(None, description="The partial content of a message", min_length=0)
834
- is_finished: bool | None = Field(
944
+ content_type: AssistantMessageDeltaContentType | None = Field(None, alias="contentType")
945
+ delta: str | None = Field(
835
946
  None,
836
- alias="isFinished",
837
- description="Whether the message as a whole is finished.",
947
+ description="The partial content of a message in a streaming response.",
948
+ min_length=0,
838
949
  )
950
+ finish_reason: AssistantMessageFinishReason | None = Field(None, alias="finishReason")
839
951
  tokens_consumed: int | None = Field(
840
952
  None,
841
953
  alias="tokensConsumed",
@@ -867,10 +979,18 @@ class AssistantThreadUsage(CustomBaseModel):
867
979
 
868
980
 
869
981
  class AssistantThreadConfig(CustomBaseModel):
982
+ """
983
+ Configuration for creating a new assistant thread.
984
+ """
985
+
870
986
  name: str | None = Field(None, description="The name of a assistant thread.")
871
987
 
872
988
 
873
989
  class AssistantThreadPatchConfig(CustomBaseModel):
990
+ """
991
+ Configuration for updating an assistant thread.
992
+ """
993
+
874
994
  name: str | None = Field(None, description="The name of a assistant thread.")
875
995
 
876
996
 
@@ -933,7 +1053,7 @@ class Compute(CustomBaseModel):
933
1053
  name: str | None = Field(None, description="The name of a compute resource.", min_length=1)
934
1054
  type: ComputeType | None = None
935
1055
  config: dict[str, Any] | None = None
936
- secrets: dict[str, Any] | None = None
1056
+ secrets: Annotated[dict[str, Any] | None, Field(repr=False)] = None
937
1057
  resources: ComputeResources | None = None
938
1058
  order_index: int | None = Field(
939
1059
  None,
@@ -951,7 +1071,7 @@ class ComputeConfig(CustomBaseModel):
951
1071
  type: ComputeType | None = None
952
1072
  resources: ComputeResources | None = None
953
1073
  config: dict[str, Any] | None = None
954
- secrets: dict[str, Any] | None = None
1074
+ secrets: Annotated[dict[str, Any] | None, Field(repr=False)] = None
955
1075
  order_index: int | None = Field(
956
1076
  None,
957
1077
  alias="orderIndex",
@@ -960,11 +1080,15 @@ class ComputeConfig(CustomBaseModel):
960
1080
 
961
1081
 
962
1082
  class ComputePatchConfig(CustomBaseModel):
1083
+ """
1084
+ The configuration for updating a compute resource.
1085
+ """
1086
+
963
1087
  name: str | None = Field(None, description="The name of a compute resource.", min_length=1)
964
1088
  type: ComputeType | None = None
965
1089
  resources: ComputeResources | None = None
966
1090
  config: dict[str, Any] | None = None
967
- secrets: dict[str, Any] | None = None
1091
+ secrets: Annotated[dict[str, Any] | None, Field(repr=False)] = None
968
1092
  order_index: int | None = Field(
969
1093
  None,
970
1094
  alias="orderIndex",
@@ -1004,7 +1128,7 @@ class Visibility(str, Enum):
1004
1128
 
1005
1129
  class OrganizationInvite(CustomBaseModel):
1006
1130
  """
1007
- An non-personalized time-boxed invite to join an organization.
1131
+ A non-personalized time-boxed invite to join an organization.
1008
1132
  """
1009
1133
 
1010
1134
  token: str | None = Field(
@@ -1075,6 +1199,10 @@ class MemberRolePatchConfig(CustomBaseModel):
1075
1199
 
1076
1200
 
1077
1201
  class AccountType(str, Enum):
1202
+ """
1203
+ The type of account, either a user or an organization.
1204
+ """
1205
+
1078
1206
  user = "USER"
1079
1207
  organization = "ORGANIZATION"
1080
1208
 
@@ -1384,7 +1512,7 @@ class Similarity(CustomBaseModel):
1384
1512
  cosine_similarity_training_holdout: float | None = Field(
1385
1513
  None,
1386
1514
  alias="cosineSimilarityTrainingHoldout",
1387
- description="Cosine similarity between training and holdout centroids. Serves as a reference for `cosine_similarity_training_synthetic`.",
1515
+ description="Cosine similarity between training and holdout centroids. \nServes as a reference for `cosine_similarity_training_synthetic`.\n",
1388
1516
  ge=-1.0,
1389
1517
  le=1.0,
1390
1518
  )
@@ -1398,7 +1526,7 @@ class Similarity(CustomBaseModel):
1398
1526
  discriminator_auc_training_holdout: float | None = Field(
1399
1527
  None,
1400
1528
  alias="discriminatorAUCTrainingHoldout",
1401
- description="Cross-validated AUC of a discriminative model to distinguish between training and holdout samples. Serves as a reference for `discriminator_auc_training_synthetic`.",
1529
+ description="Cross-validated AUC of a discriminative model to distinguish between training and holdout samples. \nServes as a reference for `discriminator_auc_training_synthetic`.\n",
1402
1530
  ge=0.0,
1403
1531
  le=1.0,
1404
1532
  )
@@ -1496,6 +1624,10 @@ class TransferOwnershipConfig(CustomBaseModel):
1496
1624
 
1497
1625
 
1498
1626
  class SetVisibilityConfig(CustomBaseModel):
1627
+ """
1628
+ Configuration for setting the visibility of a resource.
1629
+ """
1630
+
1499
1631
  visibility: Visibility | None = None
1500
1632
 
1501
1633
 
@@ -1602,8 +1734,8 @@ class Connector(CustomBaseModel):
1602
1734
  type: ConnectorType
1603
1735
  access_type: ConnectorAccessType | None = Field(ConnectorAccessType.read_protected, alias="accessType")
1604
1736
  config: dict[str, Any] | None = None
1605
- secrets: dict[str, str] | None = None
1606
- ssl: dict[str, str] | None = None
1737
+ secrets: Annotated[dict[str, str] | None, Field(repr=False)] = None
1738
+ ssl: Annotated[dict[str, str] | None, Field(repr=False)] = None
1607
1739
  metadata: Metadata | None = None
1608
1740
  usage: ConnectorUsage | None = None
1609
1741
  table_id: str | None = Field(
@@ -1625,8 +1757,8 @@ class Connector(CustomBaseModel):
1625
1757
  self,
1626
1758
  name: str | None = None,
1627
1759
  config: dict[str, Any] | None = None,
1628
- secrets: dict[str, str] | None = None,
1629
- ssl: dict[str, str] | None = None,
1760
+ secrets: Annotated[dict[str, str] | None, Field(repr=False)] = None,
1761
+ ssl: Annotated[dict[str, str] | None, Field(repr=False)] = None,
1630
1762
  test_connection: bool | None = True,
1631
1763
  ) -> None:
1632
1764
  """
@@ -1685,6 +1817,7 @@ class Connector(CustomBaseModel):
1685
1817
 
1686
1818
  Args:
1687
1819
  prefix (str): The prefix to filter the results by. Defaults to an empty string.
1820
+
1688
1821
  Returns:
1689
1822
  list[str]: A list of locations (schemas, databases, directories, etc.)."""
1690
1823
  return self.client._locations(connector_id=self.id, prefix=prefix)
@@ -1718,7 +1851,7 @@ class Connector(CustomBaseModel):
1718
1851
 
1719
1852
  def write_data(
1720
1853
  self,
1721
- data: pd.DataFrame,
1854
+ data: pd.DataFrame | None,
1722
1855
  location: str,
1723
1856
  if_exists: Literal["append", "replace", "fail"] = "fail",
1724
1857
  ) -> None:
@@ -1726,12 +1859,21 @@ class Connector(CustomBaseModel):
1726
1859
  Write data to the specified location within the connector.
1727
1860
 
1728
1861
  Args:
1729
- data (pd.DataFrame): The DataFrame to write.
1862
+ data (pd.DataFrame | None): The DataFrame to write, or None to delete the location.
1730
1863
  location (str): The target location within the connector to write data to.
1731
1864
  if_exists (Literal["append", "replace", "fail"]): The behavior if the target location already exists (append, replace, fail). Default is "fail".
1732
1865
  """
1733
1866
  self.client._write_data(connector_id=self.id, data=data, location=location, if_exists=if_exists)
1734
1867
 
1868
+ def delete_data(self, location: str) -> None:
1869
+ """
1870
+ Delete data from the specified location within the connector.
1871
+
1872
+ Args:
1873
+ location (str): The target location within the connector to delete data from.
1874
+ """
1875
+ self.client._delete_data(connector_id=self.id, location=location)
1876
+
1735
1877
 
1736
1878
  class GeneratorListItem(CustomBaseModel):
1737
1879
  """
@@ -1775,7 +1917,7 @@ class Probe(CustomBaseModel):
1775
1917
  """
1776
1918
 
1777
1919
  name: str | None = Field(None, description="The name of the table.")
1778
- rows: list[dict[str, Any]] | None = None
1920
+ rows: list[dict[str, Any]] | None = Field(None, description="An array of sample data objects.")
1779
1921
 
1780
1922
 
1781
1923
  class SourceColumn(CustomBaseModel):
@@ -2028,12 +2170,12 @@ class SyntheticTableConfiguration(CustomBaseModel):
2028
2170
  sample_seed_dict: str | None = Field(
2029
2171
  None,
2030
2172
  alias="sampleSeedDict",
2031
- description="The base64-encoded string derived from a json line file containing the specified sample seed data.\nThis allows conditional live probing via non-python clients.\n",
2173
+ description="The base64-encoded string derived from a json line file containing the specified sample seed data.\nThis allows conditional live probing via non-python clients.\nOnly applicable for subject tables.\n",
2032
2174
  )
2033
2175
  sample_seed_data: str | None = Field(
2034
2176
  None,
2035
2177
  alias="sampleSeedData",
2036
- description="The base64-encoded string derived from a Parquet file containing the specified sample seed data.\nThis allows conditional generation as well as live probing via python clients.\n",
2178
+ description="The base64-encoded string derived from a Parquet file containing the specified sample seed data.\nThis allows conditional generation as well as live probing via python clients.\nOnly applicable for subject tables.\n",
2037
2179
  )
2038
2180
  sampling_temperature: float | None = Field(
2039
2181
  None,
@@ -2078,6 +2220,10 @@ class SyntheticTableConfiguration(CustomBaseModel):
2078
2220
 
2079
2221
 
2080
2222
  class SyntheticDatasetPatchConfig(CustomBaseModel):
2223
+ """
2224
+ The configuration for updating a synthetic dataset.
2225
+ """
2226
+
2081
2227
  name: str | None = Field(None, description="The name of a synthetic dataset.")
2082
2228
  description: str | None = Field(None, description="The description of a synthetic dataset.")
2083
2229
  delivery: SyntheticDatasetDelivery | None = None
@@ -2132,7 +2278,7 @@ class SyntheticTableConfig(CustomBaseModel):
2132
2278
 
2133
2279
  class AssistantThreadListItem(CustomBaseModel):
2134
2280
  """
2135
- Essential assistant thread details for listings.
2281
+ Essential details of an assistant thread for listings.
2136
2282
  """
2137
2283
 
2138
2284
  id: str = Field(..., description="The unique identifier of a assistant thread.")
@@ -2196,7 +2342,7 @@ class Organization(CustomBaseModel):
2196
2342
 
2197
2343
  class OrganizationMember(CustomBaseModel):
2198
2344
  """
2199
- A member of an organization.
2345
+ A member of an organization with their associated role.
2200
2346
  """
2201
2347
 
2202
2348
  user: UserListItem | None = None
@@ -2443,7 +2589,7 @@ class SourceTablePatchConfig(CustomBaseModel):
2443
2589
 
2444
2590
  class SourceTableAddConfig(CustomBaseModel):
2445
2591
  """
2446
- The configuration for adding a new source table to a generator.
2592
+ Configuration for adding a new source table to a generator.
2447
2593
  """
2448
2594
 
2449
2595
  source_connector_id: str = Field(
@@ -3332,3 +3478,39 @@ class _SyntheticDataConfigValidation(CustomBaseModel):
3332
3478
  generator_table, is_probe=isinstance(validation.synthetic_config, SyntheticProbeConfig)
3333
3479
  )
3334
3480
  return validation
3481
+
3482
+
3483
+ def _add_fields_to_docstring(cls):
3484
+ lines = [f"{cls.__doc__.strip()}\n"] if cls.__doc__ else []
3485
+ lines += ["Attributes:"]
3486
+ for name, field in cls.model_fields.items():
3487
+ if name in CustomBaseModel.model_fields:
3488
+ continue
3489
+ field_str = f" {name}"
3490
+ if field.annotation:
3491
+ if isinstance(field.annotation, type):
3492
+ annotation_str = field.annotation.__name__
3493
+ else:
3494
+ annotation_str = (
3495
+ str(field.annotation)
3496
+ .replace("mostlyai.sdk.domain.", "")
3497
+ .replace("typing.", "")
3498
+ .replace("datetime.", "")
3499
+ )
3500
+ else:
3501
+ annotation_str = ""
3502
+ field_str += f" ({annotation_str})" if field.annotation else ""
3503
+ desc_str = f" {field.description.strip()}" if field.description else ""
3504
+ examples = getattr(field, "examples", None)
3505
+ examples_str = f" Examples: {examples[0]}" if examples else ""
3506
+ if desc_str or examples_str:
3507
+ field_str += f":{desc_str}{examples_str}"
3508
+ lines.append(field_str)
3509
+ cls.__doc__ = "\n".join(lines)
3510
+ return cls
3511
+
3512
+
3513
+ # add fields to docstring for all the subclasses of CustomBaseModel
3514
+ for _, _obj in inspect.getmembers(sys.modules[__name__]):
3515
+ if inspect.isclass(_obj) and issubclass(_obj, CustomBaseModel) and _obj is not CustomBaseModel:
3516
+ _add_fields_to_docstring(_obj)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mostlyai"
3
- version = "4.4.2"
3
+ version = "4.4.3"
4
4
  description = "Synthetic Data SDK"
5
5
  authors = [{ name = "MOSTLY AI", email = "dev@mostly.ai" }]
6
6
  requires-python = ">=3.10,<3.14"
@@ -46,8 +46,8 @@ dependencies = [
46
46
  [project.optional-dependencies]
47
47
  local = [
48
48
  # local
49
- "mostlyai-engine==1.1.8",
50
- "mostlyai-qa==1.5.9",
49
+ "mostlyai-engine==1.1.10",
50
+ "mostlyai-qa==1.5.10",
51
51
  "fastapi>=0.115.6,<0.116",
52
52
  "uvicorn>=0.34.0,<0.35",
53
53
  "python-multipart>=0.0.20",
@@ -71,8 +71,8 @@ local = [
71
71
  "adlfs>=2023.4.0",
72
72
  ]
73
73
  local-gpu = [
74
- "mostlyai-engine[gpu]==1.1.8",
75
- "mostlyai-qa[gpu]==1.5.9",
74
+ "mostlyai-engine[gpu]==1.1.10",
75
+ "mostlyai-qa[gpu]==1.5.10",
76
76
  "fastapi>=0.115.6,<0.116",
77
77
  "uvicorn>=0.34.0,<0.35",
78
78
  "python-multipart>=0.0.20",
@@ -96,8 +96,8 @@ local-gpu = [
96
96
  "adlfs>=2023.4.0",
97
97
  ]
98
98
  local-cpu = [
99
- "mostlyai-engine[cpu]==1.1.8",
100
- "mostlyai-qa[cpu]==1.5.9",
99
+ "mostlyai-engine[cpu]==1.1.10",
100
+ "mostlyai-qa[cpu]==1.5.10",
101
101
  "fastapi>=0.115.6,<0.116",
102
102
  "uvicorn>=0.34.0,<0.35",
103
103
  "python-multipart>=0.0.20",
File without changes
File without changes
File without changes
File without changes