deriva-ml 1.17.1__py3-none-any.whl → 1.17.2__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.
@@ -105,12 +105,16 @@ class DatasetHistory(BaseModel):
105
105
  dataset_rid: RID
106
106
  version_rid: RID
107
107
  execution_rid: Optional[RID] = None
108
- description: str = ""
109
- minid: Optional[str] = None
110
- snapshot: Optional[str] = None
108
+ description: str | None = ""
109
+ minid: str | None = None
110
+ snapshot: str | None = None
111
111
 
112
112
  model_config = ConfigDict(arbitrary_types_allowed=True)
113
113
 
114
+ @field_validator("description", mode="after")
115
+ def _default_description(cls, v) -> str:
116
+ return v or ""
117
+
114
118
 
115
119
  class DatasetMinid(BaseModel):
116
120
  """Represent information about a MINID that refers to a dataset
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deriva-ml
3
- Version: 1.17.1
3
+ Version: 1.17.2
4
4
  Summary: Utilities to simplify use of Dervia and Pandas to create reproducable ML pipelines
5
5
  Author-email: ISRD <isrd-dev@isi.edu>
6
6
  Requires-Python: >=3.11
@@ -16,7 +16,7 @@ deriva_ml/core/ermrest.py,sha256=N0IJ3TE87jElaBChEIo5AFDTr0SIrb6F90yiimRfPr4,101
16
16
  deriva_ml/core/exceptions.py,sha256=4MZNPOyN-UMaGeY9sqJDVwh_iOmz1ntp4usSyCNqVMg,934
17
17
  deriva_ml/core/filespec.py,sha256=BQAAcRXfXq1lDcsKlokLOOXCBtEZpPgXxrFOIZYAgLg,4229
18
18
  deriva_ml/dataset/__init__.py,sha256=wTCQaWGfRYEiUoOOxerKSpkbl1T5YFhoCyemlxGTk8k,283
19
- deriva_ml/dataset/aux_classes.py,sha256=4m1XrKOvStRW2Esmp5mv9xxQyliV5KqYGd4clSmCSz8,7171
19
+ deriva_ml/dataset/aux_classes.py,sha256=e0D83IEDvsSIx79lKoCsD-CcIFmnoinNtzvpdMMQ80E,7291
20
20
  deriva_ml/dataset/dataset.py,sha256=d860WuCL0-Pz6TyRpGVzhpPWDMco01-I5LT4dZjYxsQ,64728
21
21
  deriva_ml/dataset/dataset_bag.py,sha256=ori3BuYVqfeHkVCjNSKuZh7oMdC6uufsszicpTPODiw,19944
22
22
  deriva_ml/dataset/history.py,sha256=FK5AYYz11p4E4FWMVg4r7UPWOD4eobrq3b3xMjWF59g,3197
@@ -37,9 +37,9 @@ deriva_ml/schema/create_schema.py,sha256=9qK9_8SRQT-DwcEwTGSkhi3j2NaoH5EVgthvV2k
37
37
  deriva_ml/schema/deriva-ml-reference.json,sha256=AEOMIgwKO3dNMMWHb0lxaXyamvfAEbUPh8qw0aAtsUQ,242460
38
38
  deriva_ml/schema/policy.json,sha256=5ykB8nnZFl-oCHzlAwppCFKJHWJFIkYognUMVEanfY8,1826
39
39
  deriva_ml/schema/table_comments_utils.py,sha256=4flCqnZAaqg_uSZ9I18pNUWAZoLfmMCXbmI5uERY5vM,2007
40
- deriva_ml-1.17.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- deriva_ml-1.17.1.dist-info/METADATA,sha256=qcweWrGkXmnS8FXXaPOHlONbuPHjhIFJzKUSrz6FgqQ,1272
42
- deriva_ml-1.17.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
- deriva_ml-1.17.1.dist-info/entry_points.txt,sha256=XsHSbfp7S1cKMjHoPUdFIaFcp9lHXHS6CV1zb_MEXkg,463
44
- deriva_ml-1.17.1.dist-info/top_level.txt,sha256=I1Q1dkH96cRghdsFRVqwpa2M7IqJpR2QPUNNc5-Bnpw,10
45
- deriva_ml-1.17.1.dist-info/RECORD,,
40
+ deriva_ml-1.17.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ deriva_ml-1.17.2.dist-info/METADATA,sha256=kBjucGR6nFW84qfxY8z34Xsz4XxMv9ljmFCoxFwwYA8,1272
42
+ deriva_ml-1.17.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
43
+ deriva_ml-1.17.2.dist-info/entry_points.txt,sha256=XsHSbfp7S1cKMjHoPUdFIaFcp9lHXHS6CV1zb_MEXkg,463
44
+ deriva_ml-1.17.2.dist-info/top_level.txt,sha256=I1Q1dkH96cRghdsFRVqwpa2M7IqJpR2QPUNNc5-Bnpw,10
45
+ deriva_ml-1.17.2.dist-info/RECORD,,