Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sdks/python/client/** linguist-generated
sdks/java/client/** linguist-generated
manifests/base/crds/*/argoproj.io*.yaml linguist-generated
manifests/quick-start-*.yaml linguist-generated
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ jobs:
- docs/cli/**
- pkg/**
- sdks/java/**
- sdks/python/**
# files that generation is based off
- pkg/**
- cmd/**
Expand Down Expand Up @@ -269,9 +268,6 @@ jobs:
- test: test-java-sdk
profile: minimal
use-api: true
- test: test-python-sdk
profile: minimal
use-api: true
- test: test-artifacts
k8s_version: min
profile: minimal
Expand Down Expand Up @@ -317,12 +313,6 @@ jobs:
java-version: '8'
distribution: adopt
cache: maven
- name: Install Python for the SDK
if: ${{matrix.test == 'test-python-sdk'}}
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: '3.x'
cache: pip
- name: Install socat (needed by Kubernetes) and kit
# socat is needed for "kubectl port-forward" to work when using cri-dockerd: https://github.com/k3s-io/cri-dockerd/blob/4995f339edcffdf890406b3f1477d34e38477f18/streaming/streaming_others.go#L46
# Both cri-o and containerd removed it as a dependency awhile ago, but that hasn't been ported to cri-dockerd.
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sdks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
matrix:
name:
- java
- python
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: make --directory sdks/${{matrix.name}} publish -B
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ git-ask-pass.sh
/.brew_home
/go-diagrams/
/.run/
sdks/python/client/dist/*
/v3/
/cmd/argoexec/commands/test.txt
/db-dumps/
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ codegen: types swagger manifests $(TOOL_MOCKERY) $(GENERATED_DOCS) ## Generate c
# The generated markdown contains links to nowhere for interfaces, so remove them
sed -i.bak 's/\[interface{}\](#interface)/`interface{}`/g' docs/executor_swagger.md && rm -f docs/executor_swagger.md.bak
make --directory sdks/java USE_NIX=$(USE_NIX) generate
make --directory sdks/python USE_NIX=$(USE_NIX) generate

.PHONY: check-pwd
check-pwd:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Just some of the projects that use or rely on Argo Workflows (complete list [her

## Client Libraries

Check out our [Java, Golang and Python clients](docs/client-libraries.md).
Check out our [Java, Golang, and Python (Hera) clients](docs/client-libraries.md).

## Quickstart

Expand Down Expand Up @@ -116,7 +116,7 @@ An incomplete list of features Argo Workflows provides:
* Multiple executors
* Multiple pod and workflow garbage collection strategies
* Automatically calculated resource usage per step
* Java/Golang/Python SDKs
* Java, Golang, and Python (Hera) SDKs
* Pod Disruption Budget support
* Single-sign on (OAuth2/OIDC)
* Webhook triggering
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Just some of the projects that use or rely on Argo Workflows (complete list [her

## Client Libraries

Check out our [Java, Golang and Python clients](client-libraries.md).
Check out our [Java, Golang, and Python (Hera) clients](client-libraries.md).

## Quickstart

Expand Down Expand Up @@ -116,7 +116,7 @@ An incomplete list of features Argo Workflows provides:
* Multiple executors
* Multiple pod and workflow garbage collection strategies
* Automatically calculated resource usage per step
* Java/Golang/Python SDKs
* Java, Golang, and Python (Hera) SDKs
* Pod Disruption Budget support
* Single-sign on (OAuth2/OIDC)
* Webhook triggering
Expand Down
5 changes: 2 additions & 3 deletions docs/client-libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ Please expect very minimal support from the Argo team.
|----------|---------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|
| Golang | [`apiclient.go`](https://github.com/argoproj/argo-workflows/blob/main/pkg/apiclient/apiclient.go) | [Example](https://github.com/argoproj/argo-workflows/blob/main/cmd/argo/commands/submit.go) |
| Java | [Java](https://github.com/argoproj/argo-workflows/blob/main/sdks/java) | |
| Python | ⚠️ deprecated [Python](https://github.com/argoproj/argo-workflows/blob/main/sdks/python) | Use [Hera](#hera-python-sdk) instead. Will be removed in version 3.7 |
| Python | [Hera](#hera-python-sdk) | [Hera walk-through](https://hera.readthedocs.io/en/stable/walk-through/quick-start/) |

## Hera Python SDK

Hera is the go-to Python SDK to make Argo Workflows simple and intuitive. It goes beyond a basic REST interface,
allowing you to easily turn Python functions into script templates, and write whole Workflows in Python:
Hera is the recommended Python SDK for Argo Workflows. It makes Argo Workflows simple and intuitive, going beyond a basic REST interface to allow you to easily turn Python functions into script templates and write whole Workflows in Python:

```py
from hera.workflows import DAG, Workflow, script
Expand Down
11 changes: 0 additions & 11 deletions sdks/python/.gitignore

This file was deleted.

58 changes: 0 additions & 58 deletions sdks/python/Makefile

This file was deleted.

124 changes: 0 additions & 124 deletions sdks/python/README.md

This file was deleted.

27 changes: 0 additions & 27 deletions sdks/python/client/argo_workflows/__init__.py

This file was deleted.

3 changes: 0 additions & 3 deletions sdks/python/client/argo_workflows/api/__init__.py

This file was deleted.

Loading
Loading