Skip to content

Commit d24b6c3

Browse files
authored
Update to aas-core-meta, codegen, testgen 899add1, 4c01ed64, a8c4155e (#43)
Update to aas-core-meta, codegen, testgen 899add1, 4c01ed64, a8c4155e We update the development requirements to and re-generate everything with: * [aas-core-meta 899add1], * [aas-core-codegen 4c01ed64] and * [aas-core3.0-testgen a8c4155e]. Notably, this propagates a fix for references index constraint where indices in references were erroneously assumed to be positive integers. [aas-core-meta 899add1]: aas-core-works/aas-core-meta@899add1 [aas-core-codegen 4c01ed64]: aas-core-works/aas-core-codegen@4c01ed64 [aas-core3.0-testgen a8c4155e]: aas-core-works/aas-core3.0-testgen@a8c4155e
1 parent 550e98c commit d24b6c3

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

_dev_scripts/aas_core3/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
44
This copy is necessary so that we can decouple from ``aas-core*-python`` repository.
55
6-
The revision of aas-core-codegen was: c77b7dc6
6+
The revision of aas-core-codegen was: 4c01ed64
77
"""

_dev_scripts/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
keywords="asset administration shell code generation industry 4.0 industrie i4.0",
2929
install_requires=[
3030
"icontract>=2.6.1,<3",
31-
"aas-core-meta@git+https://github.com/aas-core-works/aas-core-meta@f2fd738#egg=aas-core-meta",
32-
"aas-core-codegen@git+https://github.com/aas-core-works/aas-core-codegen@c77b7dc6#egg=aas-core-codegen",
31+
"aas-core-meta@git+https://github.com/aas-core-works/aas-core-meta@899add1#egg=aas-core-meta",
32+
"aas-core-codegen@git+https://github.com/aas-core-works/aas-core-codegen@4c01ed64#egg=aas-core-codegen",
3333
],
3434
# fmt: off
3535
extras_require={

verification/verification.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11665,7 +11665,9 @@ func VerifyReference(
1166511665
aascommon.AllRange(
1166611666
func(i int) bool {
1166711667
return !(that.Keys()[i].Type() == aastypes.KeyTypesSubmodelElementList) ||
11668-
MatchesXsPositiveInteger(that.Keys()[i+1].Value())
11668+
MatchesXsNonNegativeInteger(
11669+
that.Keys()[i+1].Value(),
11670+
)
1166911671
},
1167011672
0,
1167111673
len(that.Keys())-1,

0 commit comments

Comments
 (0)