Python SDK现在是否支持泛化调用
Python SDK现在是否支持泛化调用,如果支持的话能否给出使用的demo
Currently, Dubbo Python does not fully support Generic Call but does offer some related capabilities:
- Parameter Types and Serialization: Dubbo Python does not parse parameter types through API definitions but provides a custom serialization interface for users to implement. By setting up general-purpose serialization functions, you can achieve a certain degree of parameter "generalization."
- Method Name Limitation: At present, the method name must be specified before invocation and cannot be passed dynamically during the call.
Could you share the specific scenario in which you need to use Dubbo Python for Generic Call? Perhaps some existing features can already meet your requirements.
For further questions, feel free to join the Dubbo Python official group:
Currently, Dubbo Python does not fully support Generic Call but does offer some related capabilities:
- Parameter Types and Serialization: Dubbo Python does not parse parameter types through API definitions but provides a custom serialization interface for users to implement. By setting up general-purpose serialization functions, you can achieve a certain degree of parameter "generalization."
- Method Name Limitation: At present, the method name must be specified before invocation and cannot be passed dynamically during the call.
Could you share the specific scenario in which you need to use Dubbo Python for Generic Call? Perhaps some existing features can already meet your requirements.
For further questions, feel free to join the Dubbo Python official group:
We have deployed a RAGFLOW workflow, and we aim to use code nodes to call internal interfaces for data retrieval. Then, based on the results from an internet search, the AI will summarize and output the information. In such a scenario, pure Dubbo services are temporarily incompatible and would require additional HTTP endpoints, but generalization can resolve this issue.
@zhaoqf-cq The current version indeed does not support generic invocation. We are already working on a major refactoring and upgrade, which will introduce generic call capabilities. We also plan to provide ASGI compatibility, allowing it to be used alongside frameworks such as FastAPI. The updated version is expected to be released in 2026.
@zhaoqf-cq The current version indeed does not support generic invocation. We are already working on a major refactoring and upgrade, which will introduce generic call capabilities. We also plan to provide ASGI compatibility, allowing it to be used alongside frameworks such as FastAPI. The updated version is expected to be released in 2026.
Excellent — I’m really looking forward to it. But I have to add a bit more about our business scenario. Some of our internal systems use Dubbo 2.x, while others use Dubbo 3. RagFlow’s code blocks directly use Python’s generalized invocation interface, so they can obtain some already-processed data. So I’m thinking: is it now possible to directly call through these code blocks and treat Python as a service startup to accomplish this, or should we focus on the protocol layer instead?