Skip to content

Commit

Permalink
auto updated class model
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 23, 2024
1 parent 6b5ce71 commit dfd80f2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, naam: str, label: str, objectUri: str, definition: str, owner
@classmethod
def validate(cls, value, attribuut) -> bool:
if StringField.validate(value, attribuut):
return re.match(r'^[a-zA-Z0-9.\-_]*$', value) is not None
return re.match('^[a-zA-Z0-9.\-_]*$', value) is not None
else:
return False

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ class KlDraagconstructieDwarsdoorsnede(KeuzelijstField):
label='octagonaal',
status='ingebruik',
objectUri='https://wegenenverkeer.data.vlaanderen.be/id/concept/KlDraagconstructieDwarsdoorsnede/octagonaal'),
'rechthoekig': KeuzelijstWaarde(invulwaarde='rechthoekig',
label='rechthoekig',
status='ingebruik',
definitie='rechthoekig',
objectUri='https://wegenenverkeer.data.vlaanderen.be/id/concept/KlDraagconstructieDwarsdoorsnede/rechthoekig'),
'rond': KeuzelijstWaarde(invulwaarde='rond',
label='rond',
status='ingebruik',
Expand Down
14 changes: 11 additions & 3 deletions otlmow_model/version_info.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"current": {
"model_version": "2.13.4.0",
"model_version": "2.13.4.1",
"otl_version": "2.13.0",
"created_at": "2024-11-21T23:40:00",
"created_by": "davidvlaminck"
"created_at": "2024-11-23T04:01:10",
"created_by": "automatic_update.py"
},
"history": {
"2.9.2.1": {
Expand Down Expand Up @@ -339,6 +339,14 @@
"updated_class_model": true,
"updated_enums": false,
"enums_updated": []
},
"2.13.4.1": {
"previous_version": "2.13.4.0",
"updated_class_model": false,
"updated_enums": true,
"enums_updated": [
"KlDraagconstructieDwarsdoorsnede"
]
}
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "otlmow_model"
version = "2.13.4.0"
version = "2.13.4.1"
readme = "README.md"
classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: Dutch", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance",]
requires-python = ">=3.9"
Expand Down

0 comments on commit dfd80f2

Please sign in to comment.