wenjin272 commented on issue #476:
URL: https://github.com/apache/flink-agents/issues/476#issuecomment-4276141564

   Hi, @JinkunLiu, thanks for your interest.
   
   > 1. Target API shape
   
   My vision is that users can be completely unaware of the existence of 
MemoryRef, like
   ```python
   @action(MyEvent)
   @staticmethod
   def second_action(event: Event, ctx: RunnerContext):
           content: Any = event.value
   ```
   This means the `value` is actually a `MemoryRef` object, but when user get 
it in the action, it will be auto resolved. 
   In #631, we are refactoring the `Event`. After the refactor, I think maybe 
we could automatically resolve the value within the event when it is detected 
to be of type MemoryRef.
   
   > 2. Priority between Java and Python APIs:
   
   Both are acceptable.


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