SvenO3 commented on code in PR #1147:
URL: https://github.com/apache/streampipes/pull/1147#discussion_r1085223742


##########
streampipes-client-python/streampipes_client/model/common.py:
##########
@@ -55,30 +55,33 @@ class BaseElement(BasicModel):
     element_id: Optional[StrictStr]
 
 
-class EventPropertyQualityRequirement(BaseElement):
+class EventPropertyQualityRequirement(BasicModel):
     """
     Data model of an `EventPropertyQualityRequirement` in compliance to the 
StreamPipes Backend.
     """
 
+    element_id: Optional[StrictStr]
     minimum_property_quality: Optional[BaseElement] = 
Field(alias="eventPropertyQualityDefinition")
     maximum_property_quality: Optional[BaseElement] = 
Field(alias="eventPropertyQualityDefinition")

Review Comment:
   The EventPropertyQualities and EventPropertyQualityRequirement aren't used 
by the API anymore and I think we could remove them. The elementId is also not 
used for every class anymore and we probably should change this. But I can do 
this in another PR too.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to