You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "yuzhangqin (via GitHub)" <gi...@apache.org> on 2025/06/25 02:33:00 UTC

[D] how can I use api for python [dolphinscheduler]

GitHub user yuzhangqin created a discussion: how can I use api for python

I want to use python to online a workflow 
my code:
if test_def["releaseState"] != "ONLINE":
    release_url = (
        f"{API_BASE}/projects/{PROJECT_CODE}"
        "/process-definition/release-process-definition"
    )
    r2 = requests.put(
        release_url,
        headers=headers,
        params={"processDefinitionCode": code}
    )
it's error:
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
so what is correct

GitHub link: https://github.com/apache/dolphinscheduler/discussions/17280

----
This is an automatically sent email for commits@dolphinscheduler.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@dolphinscheduler.apache.org