Metadata-Version: 2.1
Name: argo-models
Version: 2.3.0a0
Summary: Generated openapi models for Argo objects.
Home-page: https://github.com/e2fyi/argo-models
Author: william teo
Author-email: eterna2@hotmail.com
License: UNKNOWN
Download-URL: https://github.com/e2fyi/argo-models/archive/v2.3.0a.tar.gz
Description: # argo-models
        [![Build Status](https://travis-ci.org/e2fyi/argo-models.svg?branch=master)](https://travis-ci.org/e2fyi/argo-models)
        [![PyPI version](https://badge.fury.io/py/argo-models.svg)](https://badge.fury.io/py/argo-models)
        
        `argo-models` is a `argo` namespaced package with the `argo.models` subpackage
        which contains the generated OpenAPI models from [Argo](https://github.com/argoproj/argo).
        
        > ## NOTE
        > Due to human error in the setup.py, argo `2.2.1` will be released as `2.2.1a`
        
        ```bash
        pip install argo-models
        ```
        
        ```py
        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(
            bucket="foobar",
            endpoint="s3.amazonaws.com"
            insecure=False,
            access_key_secret=access_key_secret,
            secret_key_secret=secret_key_secret,
            key=""
        )
        
        # 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 `./generate-api.sh`.
        
        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.
        
        > NOTE
        > `version.txt` should hold the current/latest argo version to be generated, as it 
        > is also used by `setup.py` as the `argo-models` package version.
Keywords: argo openapi swagger kubeflow
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
Description-Content-Type: text/markdown
