INNER CODE UNIT · Python
stages
concierge-hq/concierge · __init__.py:221
def stages(self, value: Dict[str, List[str]]):
"""Declaratively assign existing tools to stages.
Example:
app.stages = {
"browse": ["search_items", "view_details"],
"checkout": ["add_to_cart", "pay"],
}
"""
self._stages = value
@property
def transitions(self) -> Dict[str, List[str]]:
"""Get transitions: stage_name : [allowed_next_stages]"""
return self._transitions
@transitions.setter
def transitions(self, value: Dict[str, List[str]]):