Test if we are updating custom_metadata in workflows
Open
Nobody has claimed this yet.
priority:medium
- Dominant language
- Python
- Stars
- 36
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
for dictionary fields, like custom_metadata especially,
# test if we are updating or replacing when
# an existing wf already has custom_metadata and we call this method
Contributor guide
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 at flowcept/commons/daos/document_db_dao.py around line 293 and inspect the workflow update method. Add a test with an existing workflow that already has custom_metadata, call the method, and make the expected update-versus-replace behavior explicit in the test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100