Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Publishing Workflow into another gallery using Python API

sricharan
7 - Meteor

I am working hard to implement publishing the workflows using Python API. I managed to implement download of the workflow.

My major issue is how to pass Multipart/form-data in python requests.

 

Did anyone implemented How to publish the workflow using python API ? If yes, Could you help me in implementation with your solution?

 

Your help is much appreciable.

2 REPLIES 2
joshuaburkhow
ACE Emeritus
ACE Emeritus

Hi @sricharan 

 

Are you able to provide a sample of what you're trying to do. Not exactly sure what you are asking if it's how to publish a workflow with multiple fields or no? 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
sricharan
7 - Meteor

Hi .@joshuaburkhow

Thanks for your quick reply! 

Since I work for an organisation i cannot provide the sample. My question is - when we migrate the workflows using API we need to use multipart/form-data in the API request. I could not find how to to implement multipart/form-data in python. 

 

Could you please help me how to implement multipart/form-data in python?