oracle / oracle/wayflow

Handle nested data objects in RemoteTool and ApiCallStep

Open
#35 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
188
Forks
23
Avg merge
1d 12h
Merged PRs (30d)
4

Description

Description:

Currently, the RemoteTool and ApiCallStep components in WayFlow accept a data parameter that is limited to simple data types. This limitation restricts the ability to pass complex data structures, such as nested dictionaries or lists, which are often necessary for advanced use cases. As a result, developers are forced to implement workarounds, leading to less efficient and harder-to-maintain code.

Steps to Reproduce:

  1. Attempt to pass a nested dictionary or list as the data parameter to a RemoteTool or ApiCallStep instance.
  2. Observe that the component does not handle the complex data structure as expected, resulting in errors or unexpected behavior.

Expected Behavior:

The RemoteTool and ApiCallStep components should support complex data structures in the data parameter, allowing developers to pass nested dictionaries, lists, and other complex types without encountering errors.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the RemoteTool and ApiCallStep component definitions and the code handling their data parameters. Trace how nested dictionaries and lists are currently processed, then verify that both components accept these structures without errors or unexpected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.