openepd 4.11.0__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 +1 -1
- openepd/api/average_dataset/generic_estimate_sync_api.py +3 -3
- openepd/api/average_dataset/industry_epd_sync_api.py +3 -5
- openepd/model/declaration.py +7 -0
- openepd/model/epd.py +0 -6
- {openepd-4.11.0.dist-info → openepd-4.11.2.dist-info}/METADATA +1 -1
- {openepd-4.11.0.dist-info → openepd-4.11.2.dist-info}/RECORD +9 -9
- {openepd-4.11.0.dist-info → openepd-4.11.2.dist-info}/LICENSE +0 -0
- {openepd-4.11.0.dist-info → openepd-4.11.2.dist-info}/WHEEL +0 -0
openepd/__version__.py
CHANGED
@@ -34,12 +34,12 @@ class GenericEstimateApi(BaseApiMethodGroup):
|
|
34
34
|
"""API methods for Generic Estimates."""
|
35
35
|
|
36
36
|
@overload
|
37
|
-
def
|
37
|
+
def get_by_openxpd_uuid(self, uuid: str, with_response: Literal[True]) -> tuple[GenericEstimate, Response]: ...
|
38
38
|
|
39
39
|
@overload
|
40
|
-
def
|
40
|
+
def get_by_openxpd_uuid(self, uuid: str, with_response: Literal[False] = False) -> GenericEstimate: ...
|
41
41
|
|
42
|
-
def
|
42
|
+
def get_by_openxpd_uuid(
|
43
43
|
self, uuid: str, with_response: bool = False
|
44
44
|
) -> GenericEstimate | tuple[GenericEstimate, Response]:
|
45
45
|
"""
|
@@ -29,14 +29,12 @@ class IndustryEpdApi(BaseApiMethodGroup):
|
|
29
29
|
"""API methods for Industry EPD."""
|
30
30
|
|
31
31
|
@overload
|
32
|
-
def
|
32
|
+
def get_by_openxpd_uuid(self, uuid: str, with_response: Literal[True]) -> tuple[IndustryEpd, Response]: ...
|
33
33
|
|
34
34
|
@overload
|
35
|
-
def
|
35
|
+
def get_by_openxpd_uuid(self, uuid: str, with_response: Literal[False] = False) -> IndustryEpd: ...
|
36
36
|
|
37
|
-
def
|
38
|
-
self, uuid: str, with_response: bool = False
|
39
|
-
) -> IndustryEpd | tuple[IndustryEpd, Response]:
|
37
|
+
def get_by_openxpd_uuid(self, uuid: str, with_response: bool = False) -> IndustryEpd | tuple[IndustryEpd, Response]:
|
40
38
|
"""
|
41
39
|
Get Industry EPD by OpenEPD UUID.
|
42
40
|
|
openepd/model/declaration.py
CHANGED
@@ -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,9 +1,9 @@
|
|
1
1
|
openepd/__init__.py,sha256=Shkfh0Kun0YRhmRDw7LkUj2eQL3X-HnP55u2THOEALw,794
|
2
|
-
openepd/__version__.py,sha256=
|
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
|
-
openepd/api/average_dataset/generic_estimate_sync_api.py,sha256=
|
6
|
-
openepd/api/average_dataset/industry_epd_sync_api.py,sha256=
|
5
|
+
openepd/api/average_dataset/generic_estimate_sync_api.py,sha256=DM7i8gugUIEAutEsakEUxFjwgtKmcytkjvNAvfhVYUs,7690
|
6
|
+
openepd/api/average_dataset/industry_epd_sync_api.py,sha256=xoicuZdclf4BTBa2ndG1K2Aog-iZd7_jOqdDPZSCLq4,6286
|
7
7
|
openepd/api/base_sync_client.py,sha256=jviqtQgsOVdRq5x7_Yh_Tg8zIdWtVTIUqNCgebf6YDg,20925
|
8
8
|
openepd/api/category/__init__.py,sha256=UGmZGEyMnASrYwEBPHuXmVzHiuCUskUsJEPoHTIo-lg,620
|
9
9
|
openepd/api/category/dto.py,sha256=tDojagSwT7CTtcYq31Qe_c0P3xKKUWXKdzT5iN6odtk,850
|
@@ -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=
|
40
|
-
openepd/model/epd.py,sha256=
|
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.
|
101
|
-
openepd-4.11.
|
102
|
-
openepd-4.11.
|
103
|
-
openepd-4.11.
|
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,,
|
File without changes
|
File without changes
|