This is an automated email from the ASF dual-hosted git repository.

oehler pushed a commit to branch improve-python-client
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/improve-python-client by this 
push:
     new 2729d044f Update data model
2729d044f is described below

commit 2729d044f96acd629385a149364e7c07b2a63009
Author: Sven Oehler <[email protected]>
AuthorDate: Tue Feb 28 12:07:41 2023 +0100

    Update data model
---
 streampipes-client-python/streampipes/model/common.py                 | 4 ++--
 .../streampipes/model/resource/data_lake_measure.py                   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/streampipes-client-python/streampipes/model/common.py 
b/streampipes-client-python/streampipes/model/common.py
index edc24b955..a6c21aa84 100644
--- a/streampipes-client-python/streampipes/model/common.py
+++ b/streampipes-client-python/streampipes/model/common.py
@@ -93,8 +93,8 @@ class EventProperty(BasicModel):
     description: Optional[StrictStr]
     runtime_name: StrictStr
     required: StrictBool = Field(default=False)
-    domain_properties: List[StrictStr] = Field(default_factory=list)
-    property_scope: StrictStr = Field(default="MEASUREMENT_PROPERTY")
+    domain_properties: Optional[List[StrictStr]] = Field(default_factory=list)
+    property_scope: Optional[StrictStr] = Field(default="MEASUREMENT_PROPERTY")
     index: StrictInt = Field(default=0)
     runtime_id: Optional[StrictStr]
     runtime_type: StrictStr = 
Field(default="http://www.w3.org/2001/XMLSchema#string";)
diff --git 
a/streampipes-client-python/streampipes/model/resource/data_lake_measure.py 
b/streampipes-client-python/streampipes/model/resource/data_lake_measure.py
index 1dcbe3a4a..d72732afa 100644
--- a/streampipes-client-python/streampipes/model/resource/data_lake_measure.py
+++ b/streampipes-client-python/streampipes/model/resource/data_lake_measure.py
@@ -52,4 +52,4 @@ class DataLakeMeasure(Resource):
     pipeline_id: Optional[StrictStr]
     pipeline_name: Optional[StrictStr]
     pipeline_is_running: StrictBool
-    schema_version: StrictStr
+    schema_version: Optional[StrictStr]

Reply via email to