openepd 4.11.1__py3-none-any.whl → 4.11.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.
openepd/__version__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- VERSION = "4.11.1"
16
+ VERSION = "4.11.2"
@@ -49,6 +49,13 @@ class BaseDeclaration(RootDocument, abc.ABC):
49
49
  description="Last date the document is valid on, including any extensions.",
50
50
  )
51
51
 
52
+ version: pyd.PositiveInt | None = pyd.Field(
53
+ description="Version of this document. The document's issuer should increment it anytime even a single "
54
+ "character changes, as this value is used to determine the most recent version.",
55
+ example=1,
56
+ default=None,
57
+ )
58
+
52
59
  declared_unit: Amount | None = pyd.Field(
53
60
  description="SI declared unit for this document. If a functional unit is "
54
61
  "utilized, the declared unit shall refer to the amount of "
openepd/model/epd.py CHANGED
@@ -69,12 +69,6 @@ class EpdPreviewV0(
69
69
  product_image: pyd.AnyUrl | pyd.FileUrl | None = pyd.Field(
70
70
  description="pointer to image illustrating the product no more than 10MB", default=None
71
71
  )
72
- version: pyd.PositiveInt | None = pyd.Field(
73
- description="Version of this document. The document's issuer should increment it anytime even a single "
74
- "character changes, as this value is used to determine the most recent version.",
75
- example=1,
76
- default=None,
77
- )
78
72
  declaration_url: str | None = pyd.Field(
79
73
  description="Link to data object on original registrar's site",
80
74
  example="https://epd-online.com/EmbeddedEpdList/Download/6029",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openepd
3
- Version: 4.11.1
3
+ Version: 4.11.2
4
4
  Summary: Python library to work with OpenEPD format
5
5
  Home-page: https://github.com/cchangelabs/openepd
6
6
  License: Apache-2.0
@@ -1,5 +1,5 @@
1
1
  openepd/__init__.py,sha256=Shkfh0Kun0YRhmRDw7LkUj2eQL3X-HnP55u2THOEALw,794
2
- openepd/__version__.py,sha256=EYK9dqPu5UixVEzCrpexho3SBeNpo_hcBXok0-R73mU,639
2
+ openepd/__version__.py,sha256=U8LswEaiWPCNIDjB1vi1pVrd5F-2GUY1cSsEF-9K92I,639
3
3
  openepd/api/__init__.py,sha256=UGmZGEyMnASrYwEBPHuXmVzHiuCUskUsJEPoHTIo-lg,620
4
4
  openepd/api/average_dataset/__init__.py,sha256=UGmZGEyMnASrYwEBPHuXmVzHiuCUskUsJEPoHTIo-lg,620
5
5
  openepd/api/average_dataset/generic_estimate_sync_api.py,sha256=DM7i8gugUIEAutEsakEUxFjwgtKmcytkjvNAvfhVYUs,7690
@@ -36,8 +36,8 @@ openepd/model/__init__.py,sha256=UGmZGEyMnASrYwEBPHuXmVzHiuCUskUsJEPoHTIo-lg,620
36
36
  openepd/model/base.py,sha256=o6miTbb4d2BRQ6epN5Jn8mIMkAeoAucd_3op7aEMELc,9044
37
37
  openepd/model/category.py,sha256=IQXNGQFQmFZ_H9PRONloX_UOSf1sTMDq1rM1yz8JR0Y,1639
38
38
  openepd/model/common.py,sha256=aa_bfotPybPoYyzHtwj5E5X1T-fCEyznMfVUWvpUhiM,5460
39
- openepd/model/declaration.py,sha256=w-wC5G8QmO8JxnUyMKfrKARer3VIMbs_vQr3SP_BdCE,8638
40
- openepd/model/epd.py,sha256=RtUeDq1869JJe5fUu-aP31jl_HRAO21NXcLQvRYmQLs,9030
39
+ openepd/model/declaration.py,sha256=RFkjoEKD9QRzOMzd-svXVezzHZsrbPziZhME8SjmV44,8938
40
+ openepd/model/epd.py,sha256=FfU36K5B1iVYksPPvKsg8rZgaO1EKxQar9QcAjAGyiE,8731
41
41
  openepd/model/factory.py,sha256=XP7eeQNW5tqwX_4hfuEb3lK6BFQDb4KB0fSN0r8-lCU,2656
42
42
  openepd/model/generic_estimate.py,sha256=kBRtW6yAXgV3YkflXOI1jy8Tav5k5y8M3MPnuKPCcA4,3938
43
43
  openepd/model/geography.py,sha256=eCt15zXKDtiteNwXQ675cFwBXQqSpiGpIqwDo4nkOek,42091
@@ -97,7 +97,7 @@ openepd/model/validation/quantity.py,sha256=kzug0MZ3Ao0zeVzN-aleyxUg5hA_7D5tNOOe
97
97
  openepd/model/versioning.py,sha256=R_zm6rCrgF3vlJQYbpyWhirdS_Oek16cv_mvZmpuE8I,4473
98
98
  openepd/patch_pydantic.py,sha256=xrkzblatmU9HBzukWkp1cPq9ZSuohoz1p0pQqVKSlKs,4122
99
99
  openepd/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
100
- openepd-4.11.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
101
- openepd-4.11.1.dist-info/METADATA,sha256=vBGfP-NS6XAa-IuHn8sG_V5XWpn14BGJzXNcU-MdWTM,8705
102
- openepd-4.11.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
103
- openepd-4.11.1.dist-info/RECORD,,
100
+ openepd-4.11.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
101
+ openepd-4.11.2.dist-info/METADATA,sha256=D_aVy2u1IP9MMlExPDasxBPahE67B9amDelWGmCanyw,8705
102
+ openepd-4.11.2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
103
+ openepd-4.11.2.dist-info/RECORD,,