Skip to content

Conversation

@matthewkrausse
Copy link
Collaborator

  • Introduces methods for managing surveys in the ActionNetwork class, including retrieving, creating, and updating surveys.

payload.update(kwargs)

if background_processing:
payload["action_network:background_processing"] = background_processing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @matthewkrausse, are we sure that Surveys support background processing? Also we usually add the param as a query param to the URL:

        if background_processing:
            url = f"{url}?background_processing=true"

        response = self.api.post_request(url, data=json.dumps(data))

You sure what you wrote is accurate? Did you test that? Or maybe we can just remove the background processing param and logic all together from Surveys?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants