aas-http-client 0.4.6__py3-none-any.whl → 0.4.7__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.
Potentially problematic release.
This version of aas-http-client might be problematic. Click here for more details.
- aas_http_client/utilities/model_builder.py +9 -3
- {aas_http_client-0.4.6.dist-info → aas_http_client-0.4.7.dist-info}/METADATA +1 -1
- {aas_http_client-0.4.6.dist-info → aas_http_client-0.4.7.dist-info}/RECORD +6 -6
- {aas_http_client-0.4.6.dist-info → aas_http_client-0.4.7.dist-info}/WHEEL +0 -0
- {aas_http_client-0.4.6.dist-info → aas_http_client-0.4.7.dist-info}/licenses/LICENSE +0 -0
- {aas_http_client-0.4.6.dist-info → aas_http_client-0.4.7.dist-info}/top_level.txt +0 -0
|
@@ -39,9 +39,15 @@ def create_base_submodel_element_property(
|
|
|
39
39
|
return sme
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
def clone_submodel_element_property(property: model.Property) -> model.Property:
|
|
43
|
-
"""
|
|
44
|
-
|
|
42
|
+
def clone_submodel_element_property(property: model.Property, new_id_short: str) -> model.Property:
|
|
43
|
+
"""Clones a given property.
|
|
44
|
+
|
|
45
|
+
:param property: Given property to clone
|
|
46
|
+
:param new_id_short: New ID short for the cloned property.
|
|
47
|
+
:return: Cloned property
|
|
48
|
+
"""
|
|
49
|
+
sme = model.Property(id_short=new_id_short, value_type=property.value_type, value=property.value)
|
|
50
|
+
|
|
45
51
|
sme.description = property.description
|
|
46
52
|
sme.display_name = property.display_name
|
|
47
53
|
sme.value = property.value
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aas-http-client
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.7
|
|
4
4
|
Summary: Generic python HTTP client for communication with various types of AAS servers
|
|
5
5
|
Author-email: Daniel Klein <daniel.klein@em.ag>
|
|
6
6
|
License: # :em engineering methods AG Software License
|
|
@@ -6,11 +6,11 @@ aas_http_client/core/version_check.py,sha256=9dR0Q6jCFygH_ctj4vyrjerpHvolT87ayen
|
|
|
6
6
|
aas_http_client/demo/demo_process.py,sha256=uCyvotKWRItlhjNX7ek7ek3r5gXZ3jSARvvzcKhzyqw,3971
|
|
7
7
|
aas_http_client/demo/logging_handler.py,sha256=VJtZ4u3x_LhYZQtfNck7FuXhGFZm7gid0uDhvf9GjJ8,5596
|
|
8
8
|
aas_http_client/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
aas_http_client/utilities/model_builder.py,sha256=
|
|
9
|
+
aas_http_client/utilities/model_builder.py,sha256=l-Y8p5SLFwCWvSqukO_pF5Ncv5_oZ3MGoKgVrqkVwPw,4821
|
|
10
10
|
aas_http_client/utilities/sdk_tools.py,sha256=CDD0mus8jOi-irgPO6dQHulmEyu8BSG_05Mol_nirK0,2008
|
|
11
11
|
aas_http_client/wrapper/sdk_wrapper.py,sha256=OneN_9rtFSYUjnQWFcQneg8cih5YhkyLER4NZTAgUR0,16443
|
|
12
|
-
aas_http_client-0.4.
|
|
13
|
-
aas_http_client-0.4.
|
|
14
|
-
aas_http_client-0.4.
|
|
15
|
-
aas_http_client-0.4.
|
|
16
|
-
aas_http_client-0.4.
|
|
12
|
+
aas_http_client-0.4.7.dist-info/licenses/LICENSE,sha256=ayt4HY-Tjoe1Uvj47j6UdNq8mEufKcKFangurChIHxQ,5990
|
|
13
|
+
aas_http_client-0.4.7.dist-info/METADATA,sha256=dP54xG69lpc5D-OhzXvDuU_zlg27GFWm_fzGLfhXFQA,10467
|
|
14
|
+
aas_http_client-0.4.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
aas_http_client-0.4.7.dist-info/top_level.txt,sha256=vzvoz2vjeTLwpuz-Y-eEfoQ7T3byoaKshVlFMFH5NaM,16
|
|
16
|
+
aas_http_client-0.4.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|