diff --git a/otlmow_model/OtlmowModel/Classes/ImplementatieElement/AIMNaamObject.py b/otlmow_model/OtlmowModel/Classes/ImplementatieElement/AIMNaamObject.py index ea58a85bd..679a16971 100644 --- a/otlmow_model/OtlmowModel/Classes/ImplementatieElement/AIMNaamObject.py +++ b/otlmow_model/OtlmowModel/Classes/ImplementatieElement/AIMNaamObject.py @@ -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 diff --git a/otlmow_model/OtlmowModel/Datatypes/KlDraagconstructieDwarsdoorsnede.py b/otlmow_model/OtlmowModel/Datatypes/KlDraagconstructieDwarsdoorsnede.py index 5598b52ff..0f7e2351a 100644 --- a/otlmow_model/OtlmowModel/Datatypes/KlDraagconstructieDwarsdoorsnede.py +++ b/otlmow_model/OtlmowModel/Datatypes/KlDraagconstructieDwarsdoorsnede.py @@ -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', diff --git a/otlmow_model/version_info.json b/otlmow_model/version_info.json index 3dd48e215..ef1f76ea3 100644 --- a/otlmow_model/version_info.json +++ b/otlmow_model/version_info.json @@ -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": { @@ -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" + ] } } } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index cc08dc339..29e91c163 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"