rasa/core/training/interactive.py
async def replace_events(
    endpoint: EndpointConfig,
    sender_id: Text,
    evts: List[Dict[Text, Any]]
) -> Dict[Text, Any]:
    """Replace all the events of a conversation with the provided ones."""

    subpath = "/conversations/{}/tracker/events".format(sender_id)

    return await endpoint.request(json=evts,
                                  method="put",
                                  subpath=subpath)
Replace all the events of a conversation with the provided ones.
Replace all the events of a conversation with the provided ones.
Replace all the events of a conversation with the provided ones .
async def replace_events(
    endpoint: EndpointConfig,
    sender_id: Text,
    evts: List[Dict[Text, Any]]
) -> Dict[Text, Any]:
    subpath = "/conversations/{}/tracker/events".format(sender_id)
    return await endpoint.request(json=evts,
                                  method="put",
                                  subpath=subpath)
async def replace_events ( endpoint : EndpointConfig , sender_id : Text , evts : List [ Dict [ Text , Any ] ] ) -> Dict [ Text , Any ] : subpath = "/conversations/{}/tracker/events" . format ( sender_id ) return await endpoint . request ( json = evts , method = "put" , subpath = subpath )
Replace all the events of a conversation with the provided ones.
Replace all the events of a conversation with the provided ones .
"""Replace all the events of a conversation with the provided ones."""
endpoint
EndpointConfig
sender_id
Text
evts
List[Dict[Text, Any]]