diff --git a/uniconfig/python/CHANGELOG.md b/uniconfig/python/CHANGELOG.md index 411d866..718df9e 100644 --- a/uniconfig/python/CHANGELOG.md +++ b/uniconfig/python/CHANGELOG.md @@ -1,2 +1,5 @@ # 1.0.0 - Upgrade pydantic version to v2 + +# 1.0.1 +- Add missing default value for optional inputs \ No newline at end of file diff --git a/uniconfig/python/frinx_worker/uniconfig/structured_data.py b/uniconfig/python/frinx_worker/uniconfig/structured_data.py index fafdec2..fb124bc 100644 --- a/uniconfig/python/frinx_worker/uniconfig/structured_data.py +++ b/uniconfig/python/frinx_worker/uniconfig/structured_data.py @@ -33,7 +33,7 @@ class WorkerDefinition(TaskDefinition): class WorkerInput(TaskInput): node_id: str - uri: Optional[str] + uri: Optional[str] = None topology_id: str = 'uniconfig' transaction_id: Optional[str] = None uniconfig_server_id: Optional[str] = None @@ -82,7 +82,7 @@ class WorkerDefinition(TaskDefinition): class WorkerInput(TaskInput): node_id: str - uri: Optional[str] + uri: Optional[str] = None template: DictAny method: str = 'PUT' params: Optional[DictAny] = {} diff --git a/uniconfig/python/pyproject.toml b/uniconfig/python/pyproject.toml index 17414ae..2da76d9 100644 --- a/uniconfig/python/pyproject.toml +++ b/uniconfig/python/pyproject.toml @@ -20,7 +20,7 @@ packages = [{ include = "frinx_worker" }] name = "frinx-uniconfig-worker" description = "Conductor worker for Frinx Uniconfig" authors = ["Jozef Volak "] -version = "1.0.0" +version = "1.0.1" readme = ["README.md", "CHANGELOG.md", "RELEASE.md"] keywords = ["frinx-machine", "uniconfig", "worker"] license = "Apache 2.0"