Add Node to Iterate Key/Value Pairs for Data Containers
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Data containers are the GraphEx equivalent of dictionaries. Currently, they are a bit painful to use in practice. One way to make them easier to work with would be to have a node that retrieves the top level key/value pairs of a given data container. Similar to how you can iterate over a ditionary in python.
There is a node called 'Get Data Container Keys' that you can use for reference when writing this new node. Since we don't know the types of the values, perhaps we just cast them into strings.
Open to discussion on the best way to make this node and/or data container access better in general.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing “Get Data Container Keys” node and the data container node implementations it uses. Read how nodes expose outputs and how container values are represented, then determine how top-level key/value pairs should be returned when value types are unknown. Done means the new iteration node works with a data container and has behavior consistent with the reference node.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100