nmdc-schema 11.11.0__py3-none-any.whl → 11.11.1__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.
@@ -7,11 +7,11 @@ class Migrator(MigratorBase):
7
7
  _from_version = "11.10.0"
8
8
  _to_version = "11.11.0.part_1"
9
9
 
10
- def upgrade(self) -> None:
10
+ def upgrade(self, commit_changes: bool = True) -> None:
11
11
  r"""Migrates the database from conforming to the original schema, to conforming to the new schema."""
12
12
  self.adapter.do_for_each_document("biosample_set", self.check_for_fields)
13
13
 
14
- def check_for_fields(self, biosample: dict) -> dict:
14
+ def check_for_fields(self, biosample: dict) -> None:
15
15
  r"""
16
16
  Check each biosample record to ensure none of the removed slots are being used.
17
17
  List of the slots that were removed:
@@ -27,7 +27,7 @@ from pydantic import (
27
27
 
28
28
 
29
29
  metamodel_version = "None"
30
- version = "11.11.0"
30
+ version = "11.11.1"
31
31
 
32
32
 
33
33
  class ConfiguredBaseModel(BaseModel):
nmdc_schema/nmdc.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # Auto generated from nmdc.yaml by pythongen.py version: 0.0.1
2
- # Generation date: 2025-09-17T19:56:03
2
+ # Generation date: 2025-09-19T01:08:09
3
3
  # Schema: NMDC
4
4
  #
5
5
  # id: https://w3id.org/nmdc/nmdc
@@ -60,7 +60,7 @@ from linkml_runtime.linkml_model.types import Boolean, Decimal, Double, Float, I
60
60
  from linkml_runtime.utils.metamodelcore import Bool, Decimal, URIorCURIE
61
61
 
62
62
  metamodel_version = "1.7.0"
63
- version = "11.11.0"
63
+ version = "11.11.1"
64
64
 
65
65
  # Namespaces
66
66
  BFO = CurieNamespace('BFO', 'http://purl.obolibrary.org/obo/BFO_')
@@ -15555,5 +15555,5 @@
15555
15555
  },
15556
15556
  "title": "NMDC",
15557
15557
  "type": "object",
15558
- "version": "11.11.0"
15558
+ "version": "11.11.1"
15559
15559
  }
@@ -6,7 +6,7 @@
6
6
  "not importing any MIxS terms where the relationship between the name (SCN) and the id isn't 1:1"
7
7
  ],
8
8
  "id": "https://w3id.org/nmdc/nmdc",
9
- "version": "11.11.0",
9
+ "version": "11.11.1",
10
10
  "license": "https://creativecommons.org/publicdomain/zero/1.0/",
11
11
  "prefixes": {
12
12
  "BFO": {
@@ -15641,5 +15641,5 @@
15641
15641
  },
15642
15642
  "title": "NMDC",
15643
15643
  "type": "object",
15644
- "version": "11.11.0"
15644
+ "version": "11.11.1"
15645
15645
  }
@@ -13,7 +13,7 @@ notes:
13
13
  - not importing any MIxS terms where the relationship between the name (SCN) and the
14
14
  id isn't 1:1
15
15
  id: https://w3id.org/nmdc/nmdc
16
- version: 11.11.0
16
+ version: 11.11.1
17
17
  license: https://creativecommons.org/publicdomain/zero/1.0/
18
18
  prefixes:
19
19
  BFO:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nmdc_schema
3
- Version: 11.11.0
3
+ Version: 11.11.1
4
4
  Summary: Schema resources for the National Microbiome Data Collaborative (NMDC)
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -81,7 +81,7 @@ nmdc_schema/migrators/partials/migrator_from_11_0_3_to_11_1_0/migrator_from_11_0
81
81
  nmdc_schema/migrators/partials/migrator_from_11_0_3_to_11_1_0/migrator_from_11_0_3_to_11_1_0_part_2.py,sha256=1YsZSBySqadiKPUtH76j61t_iN8sXKZ0pqZCisVahwU,1911
82
82
  nmdc_schema/migrators/partials/migrator_from_11_0_3_to_11_1_0/migrator_from_11_0_3_to_11_1_0_part_3.py,sha256=KAWPyUA7JwXvQg6cj4CZSyhYkkdQYG5pMhuy7uUXUZc,2115
83
83
  nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/__init__.py,sha256=0Vyyg3SaqNsV426IFeWw1xgEDFAol5J57ggk7bDAAf4,1001
84
- nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/migrator_from_11_10_0_to_11_11_0_part_1.py,sha256=xMUWNbVg_m9he07et39WKDr5VhYHfdoTRpSN9cWFCpQ,3566
84
+ nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/migrator_from_11_10_0_to_11_11_0_part_1.py,sha256=JTjgjW8GhpDuNQajNN2EBoDzm6OFJg9E42pR7HDqIiE,3595
85
85
  nmdc_schema/migrators/partials/migrator_from_11_10_0_to_11_11_0/migrator_from_11_10_0_to_11_11_0_part_2.py,sha256=cNgxp1XBVKSiQAAhUfLXWvEK8UyJTnveO_c_BqvlCVo,1986
86
86
  nmdc_schema/migrators/partials/migrator_from_11_1_0_to_11_2_0/__init__.py,sha256=e-neqgmL6Zsy6h5PGmWPj9qIqrTm3yvNgo2l2i7Sduc,990
87
87
  nmdc_schema/migrators/partials/migrator_from_11_1_0_to_11_2_0/migrator_from_11_1_0_to_11_2_0_part_1.py,sha256=4nN_2iZqML84R9EgznIcj7FjIlRHSSM8XqLerUgMYbI,13230
@@ -102,17 +102,17 @@ nmdc_schema/migrators/partials/migrator_from_11_9_1_to_11_10_0/__init__.py,sha25
102
102
  nmdc_schema/migrators/partials/migrator_from_11_9_1_to_11_10_0/migrator_from_11_9_1_to_11_10_0_part_1.py,sha256=6MYmrB9yfJ3XFb2QabTcJeycK2tyVO3MtSItns2s9Zg,35421
103
103
  nmdc_schema/migrators/partials/migrator_from_11_9_1_to_11_10_0/migrator_from_11_9_1_to_11_10_0_part_2.py,sha256=wzard2sUTeRS7voVTfPt3_OtafTffnv0o0OyE1OBzA0,2987
104
104
  nmdc_schema/migrators/partials/migrator_from_11_9_1_to_11_10_0/migrator_from_11_9_1_to_11_10_0_part_3.py,sha256=crm2NEmn0xepEMKWHvCSkfX3G6hRn377f38rq24XlO8,3710
105
- nmdc_schema/nmdc-pydantic.py,sha256=JKxC9vJdaRKfTNcs2NkCelmasLXa5xrcrLuYNJ2q5Fc,1425683
106
- nmdc_schema/nmdc.py,sha256=eQScds1yaDm5RK7-mwEDpDJWE6Fo2j5-zb7gMJzGzmU,716776
107
- nmdc_schema/nmdc.schema.json,sha256=8yaGu3dQ1hXw90nCdVtiir0Se1Sn8rQjXhS4q0wmLNM,622632
105
+ nmdc_schema/nmdc-pydantic.py,sha256=T0c6vB4cui4HMuTBKboAka30kcINRpTkcMsWnv37Yro,1425683
106
+ nmdc_schema/nmdc.py,sha256=W2SglKly9g1FEXrFiBCTsLjcQAXDO9-zv9Wa-r1FZkE,716776
107
+ nmdc_schema/nmdc.schema.json,sha256=Q_rD8LIpepvcyUMzkVxcy4azuq4Vzq7wnxqyV_O955A,622632
108
108
  nmdc_schema/nmdc_data.py,sha256=_wNKi5NDxuvvRsJEim2ialX7VJkDBJLRpiTOPpFHBm8,9608
109
- nmdc_schema/nmdc_materialized_patterns.json,sha256=hjiO2g64baSTIfAXMEFgFU7QFLe9nVPqdsIuEAzpFvM,901987
110
- nmdc_schema/nmdc_materialized_patterns.schema.json,sha256=3s0V_-HduLwZt1MrfPEbnFu-BySN6gtppbcZ_gN1HWE,630915
111
- nmdc_schema/nmdc_materialized_patterns.yaml,sha256=5Kl9rTknb19Ylgvk8LXCxpnGWWD1xK8xrmDhJZi8Ay0,698448
109
+ nmdc_schema/nmdc_materialized_patterns.json,sha256=MGJWCRnbofHB2992Z6PppkwJJHCqT9WAJh0zMzbvjlQ,901987
110
+ nmdc_schema/nmdc_materialized_patterns.schema.json,sha256=JiEGqUy09djqkws28w_DR2yqvKt8srlUfqMaWsV4EvE,630915
111
+ nmdc_schema/nmdc_materialized_patterns.yaml,sha256=BvlOiASFH0V0I8Rlxvrh91BEyE6CntkhuP-LPAeESB4,698448
112
112
  nmdc_schema/nmdc_version.py,sha256=DsfEKnmN3LHR831WWELxyfZY6rnP9U8tfygamkrsaHY,2305
113
113
  nmdc_schema/validate_nmdc_json.py,sha256=PVJV2O1qQXMi206HaUKqRNLiLc164OpNYKPURSKN8_E,3148
114
- nmdc_schema-11.11.0.dist-info/METADATA,sha256=9s-DP8ligfI85nryRhBoxfpqmHMvgOQZyiq5qCDKdwE,5899
115
- nmdc_schema-11.11.0.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
116
- nmdc_schema-11.11.0.dist-info/entry_points.txt,sha256=ioyD5P6op5Zy68bqg5MafLAryb73rfzyx8YXKItroC8,1531
117
- nmdc_schema-11.11.0.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
118
- nmdc_schema-11.11.0.dist-info/RECORD,,
114
+ nmdc_schema-11.11.1.dist-info/METADATA,sha256=mdoZkUNR001uccR7KyaZUW07n_KlfDtAf9Pf_iu6URY,5899
115
+ nmdc_schema-11.11.1.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
116
+ nmdc_schema-11.11.1.dist-info/entry_points.txt,sha256=ioyD5P6op5Zy68bqg5MafLAryb73rfzyx8YXKItroC8,1531
117
+ nmdc_schema-11.11.1.dist-info/licenses/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
118
+ nmdc_schema-11.11.1.dist-info/RECORD,,