|
1 | 1 | ## This is a generated file. Do not modify it manually!
|
2 | 2 |
|
3 | 3 | from __future__ import annotations
|
4 |
| -from pydantic import BaseModel, Field, ConfigDict |
5 |
| -from typing import Optional, Generic, TypeVar |
| 4 | + |
6 | 5 | from enum import Enum
|
| 6 | +from typing import Generic, Optional, TypeVar |
7 | 7 | from uuid import uuid4
|
8 | 8 |
|
| 9 | +from pydantic import BaseModel, ConfigDict, Field |
| 10 | + |
9 | 11 | # Filter Wrapper definition used to filter a list of objects
|
10 | 12 | # based on their attributes
|
11 | 13 | Cls = TypeVar("Cls")
|
@@ -104,8 +106,8 @@ class EnzymeMLDocument(BaseModel):
|
104 | 106 | serialization_alias="@context",
|
105 | 107 | default_factory=lambda: {
|
106 | 108 | "enzml": "http://www.enzymeml.org/v2/",
|
107 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
108 | 109 | "schema": "https://schema.org/",
|
| 110 | + "OBO": "http://purl.obolibrary.org/obo/", |
109 | 111 | "name": "schema:title",
|
110 | 112 | "references": {
|
111 | 113 | "@id": "schema:citation",
|
@@ -540,8 +542,8 @@ class Creator(BaseModel):
|
540 | 542 | serialization_alias="@context",
|
541 | 543 | default_factory=lambda: {
|
542 | 544 | "enzml": "http://www.enzymeml.org/v2/",
|
543 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
544 | 545 | "schema": "https://schema.org/",
|
| 546 | + "OBO": "http://purl.obolibrary.org/obo/", |
545 | 547 | "given_name": "schema:givenName",
|
546 | 548 | "family_name": "schema:familyName",
|
547 | 549 | "mail": "schema:email",
|
@@ -638,8 +640,8 @@ class Vessel(BaseModel):
|
638 | 640 | serialization_alias="@context",
|
639 | 641 | default_factory=lambda: {
|
640 | 642 | "enzml": "http://www.enzymeml.org/v2/",
|
641 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
642 | 643 | "schema": "https://schema.org/",
|
| 644 | + "OBO": "http://purl.obolibrary.org/obo/", |
643 | 645 | "id": {
|
644 | 646 | "@id": "schema:identifier",
|
645 | 647 | "@type": "@id",
|
@@ -743,8 +745,8 @@ class Protein(BaseModel):
|
743 | 745 | serialization_alias="@context",
|
744 | 746 | default_factory=lambda: {
|
745 | 747 | "enzml": "http://www.enzymeml.org/v2/",
|
746 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
747 | 748 | "schema": "https://schema.org/",
|
| 749 | + "OBO": "http://purl.obolibrary.org/obo/", |
748 | 750 | "id": {
|
749 | 751 | "@type": "@id",
|
750 | 752 | },
|
@@ -854,8 +856,8 @@ class Complex(BaseModel):
|
854 | 856 | serialization_alias="@context",
|
855 | 857 | default_factory=lambda: {
|
856 | 858 | "enzml": "http://www.enzymeml.org/v2/",
|
857 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
858 | 859 | "schema": "https://schema.org/",
|
| 860 | + "OBO": "http://purl.obolibrary.org/obo/", |
859 | 861 | "id": {
|
860 | 862 | "@id": "schema:identifier",
|
861 | 863 | "@type": "@id",
|
@@ -960,8 +962,8 @@ class SmallMolecule(BaseModel):
|
960 | 962 | serialization_alias="@context",
|
961 | 963 | default_factory=lambda: {
|
962 | 964 | "enzml": "http://www.enzymeml.org/v2/",
|
963 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
964 | 965 | "schema": "https://schema.org/",
|
| 966 | + "OBO": "http://purl.obolibrary.org/obo/", |
965 | 967 | "id": {
|
966 | 968 | "@id": "schema:identifier",
|
967 | 969 | "@type": "@id",
|
@@ -1071,8 +1073,8 @@ class Reaction(BaseModel):
|
1071 | 1073 | serialization_alias="@context",
|
1072 | 1074 | default_factory=lambda: {
|
1073 | 1075 | "enzml": "http://www.enzymeml.org/v2/",
|
1074 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
1075 | 1076 | "schema": "https://schema.org/",
|
| 1077 | + "OBO": "http://purl.obolibrary.org/obo/", |
1076 | 1078 | "id": {
|
1077 | 1079 | "@id": "schema:identifier",
|
1078 | 1080 | "@type": "@id",
|
@@ -1199,8 +1201,8 @@ class ReactionElement(BaseModel):
|
1199 | 1201 | serialization_alias="@context",
|
1200 | 1202 | default_factory=lambda: {
|
1201 | 1203 | "enzml": "http://www.enzymeml.org/v2/",
|
1202 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
1203 | 1204 | "schema": "https://schema.org/",
|
| 1205 | + "OBO": "http://purl.obolibrary.org/obo/", |
1204 | 1206 | "species_id": {
|
1205 | 1207 | "@type": "@id",
|
1206 | 1208 | },
|
@@ -1300,8 +1302,8 @@ class Equation(BaseModel):
|
1300 | 1302 | serialization_alias="@context",
|
1301 | 1303 | default_factory=lambda: {
|
1302 | 1304 | "enzml": "http://www.enzymeml.org/v2/",
|
1303 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
1304 | 1305 | "schema": "https://schema.org/",
|
| 1306 | + "OBO": "http://purl.obolibrary.org/obo/", |
1305 | 1307 | "species_id": {
|
1306 | 1308 | "@type": "@id",
|
1307 | 1309 | },
|
@@ -1461,8 +1463,8 @@ class Parameter(BaseModel):
|
1461 | 1463 | serialization_alias="@context",
|
1462 | 1464 | default_factory=lambda: {
|
1463 | 1465 | "enzml": "http://www.enzymeml.org/v2/",
|
1464 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
1465 | 1466 | "schema": "https://schema.org/",
|
| 1467 | + "OBO": "http://purl.obolibrary.org/obo/", |
1466 | 1468 | "id": {
|
1467 | 1469 | "@id": "schema:identifier",
|
1468 | 1470 | "@type": "@id",
|
@@ -1564,8 +1566,8 @@ class Measurement(BaseModel):
|
1564 | 1566 | serialization_alias="@context",
|
1565 | 1567 | default_factory=lambda: {
|
1566 | 1568 | "enzml": "http://www.enzymeml.org/v2/",
|
1567 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
1568 | 1569 | "schema": "https://schema.org/",
|
| 1570 | + "OBO": "http://purl.obolibrary.org/obo/", |
1569 | 1571 | "id": {
|
1570 | 1572 | "@id": "schema:identifier",
|
1571 | 1573 | "@type": "@id",
|
@@ -1713,8 +1715,8 @@ class MeasurementData(BaseModel):
|
1713 | 1715 | serialization_alias="@context",
|
1714 | 1716 | default_factory=lambda: {
|
1715 | 1717 | "enzml": "http://www.enzymeml.org/v2/",
|
1716 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
1717 | 1718 | "schema": "https://schema.org/",
|
| 1719 | + "OBO": "http://purl.obolibrary.org/obo/", |
1718 | 1720 | "species_id": {
|
1719 | 1721 | "@type": "@id",
|
1720 | 1722 | },
|
@@ -1811,8 +1813,8 @@ class UnitDefinition(BaseModel):
|
1811 | 1813 | serialization_alias="@context",
|
1812 | 1814 | default_factory=lambda: {
|
1813 | 1815 | "enzml": "http://www.enzymeml.org/v2/",
|
1814 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
1815 | 1816 | "schema": "https://schema.org/",
|
| 1817 | + "OBO": "http://purl.obolibrary.org/obo/", |
1816 | 1818 | },
|
1817 | 1819 | )
|
1818 | 1820 |
|
@@ -1941,8 +1943,8 @@ class BaseUnit(BaseModel):
|
1941 | 1943 | serialization_alias="@context",
|
1942 | 1944 | default_factory=lambda: {
|
1943 | 1945 | "enzml": "http://www.enzymeml.org/v2/",
|
1944 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
1945 | 1946 | "schema": "https://schema.org/",
|
| 1947 | + "OBO": "http://purl.obolibrary.org/obo/", |
1946 | 1948 | },
|
1947 | 1949 | )
|
1948 | 1950 |
|
@@ -2036,8 +2038,8 @@ class EqVariable(BaseModel):
|
2036 | 2038 | serialization_alias="@context",
|
2037 | 2039 | default_factory=lambda: {
|
2038 | 2040 | "enzml": "http://www.enzymeml.org/v2/",
|
2039 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
2040 | 2041 | "schema": "https://schema.org/",
|
| 2042 | + "OBO": "http://purl.obolibrary.org/obo/", |
2041 | 2043 | "id": {
|
2042 | 2044 | "@type": "@id",
|
2043 | 2045 | },
|
@@ -2135,8 +2137,8 @@ class EqParameter(BaseModel):
|
2135 | 2137 | serialization_alias="@context",
|
2136 | 2138 | default_factory=lambda: {
|
2137 | 2139 | "enzml": "http://www.enzymeml.org/v2/",
|
2138 |
| - "OBO": "http://purl.obolibrary.org/obo/", |
2139 | 2140 | "schema": "https://schema.org/",
|
| 2141 | + "OBO": "http://purl.obolibrary.org/obo/", |
2140 | 2142 | "id": {
|
2141 | 2143 | "@type": "@id",
|
2142 | 2144 | },
|
|
0 commit comments