addu390 opened a new pull request, #558:
URL: https://github.com/apache/flink-agents/pull/558

   Linked issue: #424
   
   ### Purpose of change
   
   Support sending custom events using a string identifier instead of requiring 
a `new Event` subclass.
   
   Can now do: `ctx.send_event(identifier="MyEvent", field1="test", field2=1)`, 
with `@action("MyEvent")`.
   
   ### Tests
   
   - Added Unit tests for `DynamicEvent` serialization, `get_event_type` 
routing, and `@action` decorator.
   - E2E local runner tests for dynamic-only and mixed event workflows.
   - `AgentPlan` serialization round-trip test verifying string identifiers are 
preserved.
   
   ### API
   
   - `RunnerContext.send_event()` now accepts a string identifier with 
`**kwargs` in addition to an `Event` object
   - `@action` decorator now accepts string identifiers alongside `Event` 
subclasses
   - New `DynamicEvent` class and `get_event_type()`
   
   ### Documentation
   
   - [x] `doc-needed`
   - [ ] `doc-not-needed`
   - [ ] `doc-included`


-- 
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