gtristan commented on code in PR #2035:
URL: https://github.com/apache/buildstream/pull/2035#discussion_r2209390399


##########
src/buildstream/types.py:
##########
@@ -389,6 +389,40 @@ def new_from_node(cls, node: MappingNode) -> 
"_SourceMirror":
 
         return cls(name, aliases)
 
+# Used to indicate the state of a given element
+class _ElementState(FastEnum):

Review Comment:
   Thats fine with me.
   
   While it would be good to code share this switch case with the other one in 
`_frontend/widget.py`, I'm happy that this at least lives exclusively in the 
frontend (view/controller) rather than in the core (data model).
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to