dataiku / dataiku/dataiku-api-client-python

recipe definition and payload

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

Nobody has claimed this yet.

Dominant language
Python
Stars
44
Forks
29
Avg merge
3h 34m
Merged PRs (30d)
2

Description

These functions are missing the return statement.

def set_payload(self, payload):
    """
    Set the raw payload of this recipe
    :param str payload: the payload, as a string
    """
    self.data['payload'] = payload

def set_json_payload(self, payload):
    """
    Set the raw payload of this recipe
    :param dict payload: the payload, as a dict. The payload will be converted to a JSON string internally
    """
    self.data['payload'] = json.dumps(payload)

Contributor guide

No contributing guide indexed for this repository

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 recipe definitions of set_payload and set_json_payload, then inspect how callers use these methods and whether similar methods return a value. Confirm the intended return behavior from the surrounding API client conventions and add coverage or verification for both payload setters before considering the issue done.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.