Skip to content

Instantly share code, notes, and snippets.

@martincabrera
Created February 22, 2021 17:33
Show Gist options
  • Save martincabrera/cd13a29f95fdeec510685ce876d02f30 to your computer and use it in GitHub Desktop.
Save martincabrera/cd13a29f95fdeec510685ce876d02f30 to your computer and use it in GitHub Desktop.
Call within our app to PythonWorker
with {:ok, algorithm_result} <- PythonWorker.call(json_input),
{:ok, stacks} <- Jason.decode(algorithm_result) do
{:ok, stacks}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment