Skip to content

Add survey methods to ActionNetwork class#1646

Open
matthewkrausse wants to merge 2 commits intomove-coop:mainfrom
matthewkrausse:mk/add-an-surveys
Open

Add survey methods to ActionNetwork class#1646
matthewkrausse wants to merge 2 commits intomove-coop:mainfrom
matthewkrausse:mk/add-an-surveys

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@matthewkrausse just wanted to bump this question for you

@matthewkrausse
Copy link
Collaborator Author

matthewkrausse commented Feb 20, 2026 via email

@bmos
Copy link
Contributor

bmos commented Feb 20, 2026

in that case this seems like it can be closed :)
i don't think there is anything left in this that isn't on main after #1647

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.

3 participants