Skip to main content

Generated openapi models for Argo objects.

Project description


Build Status PyPI version Downloads

argo-models is a argo namespaced package with the argo.models subpackage which contains the generated OpenAPI models from Argo.

Documentations can be found at

pip install argo-models
from argo.models import V1alpha1ArtifactLocation, V1alpha1S3Artifact
from kubernetes.client.models import V1SecretKeySelector

# create aws cred
access_key_secret = V1SecretKeySelector(name="s3_secret", key="accesskey")
secret_key_secret = V1SecretKeySelector(name="s3_secret", key="secretkey")

# create artifact config for s3
s3_artifact = V1alpha1S3Artifact(

# create artifact location
artifact_location = V1alpha1ArtifactLocation(s3=s3_artifact)

Developer notes

To generate the latest models, update version.txt with the desired argo release (e.g. 2.3.0-rc3) and then run ./

To release new version to pypi, create a release with the corresponding version tag (e.g. v2.2.1). Travis will automatically publish the package.


version.txt should hold the current/latest argo version to be generated, as it is also used by as the argo-models package version.

Please install @openapitools/openapi-generator-cli to generate the openapi specs.


This package is licensed under Apache-2.0 and is a derivative of the Argo project using OpenAPI generator.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for argo-models, version 2.7.5
Filename, size File type Python version Upload date Hashes
Filename, size argo-models-2.7.5.tar.gz (51.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page