Skip to content

Commit

Permalink
Merge pull request #7 from leap-ai/bump
Browse files Browse the repository at this point in the history
Version Bump SDKs
  • Loading branch information
konfig-publisher authored Feb 12, 2024
2 parents c518ce4 + a248a1a commit abf357b
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 24 deletions.
6 changes: 0 additions & 6 deletions .konfig/changesets/fancy-kiwis-flow.md

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

|Language|Version|Package Manager|README|Source|
|-|-|-|-|-|
|Python|1.0.1|[PyPI](https://pypi.org/project/leap-workflows-python-sdk/1.0.1)|[README](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python#readme)|[Source](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python)|
|TypeScript|1.0.1|[npm](https://www.npmjs.com/package/@leap-ai/workflows/v/1.0.1)|[README](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/typescript#readme)|[Source](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/typescript)|
|Python|2.0.0|[PyPI](https://pypi.org/project/leap-workflows-python-sdk/2.0.0)|[README](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python#readme)|[Source](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python)|
|TypeScript|1.1.0|[npm](https://www.npmjs.com/package/@leap-ai/workflows/v/1.1.0)|[README](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/typescript#readme)|[Source](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/typescript)|
8 changes: 4 additions & 4 deletions konfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readmeHeader:
url: https://www.tryleap.ai/
portal:
favicon: favicon.jpg
primaryColor: "#008ae6"
primaryColor: '#008ae6'
title: Leap
logo:
light: LightMode-BlackLogo.png
Expand All @@ -28,7 +28,7 @@ portal:
website: https://tryleap.ai/
generators:
python:
version: 1.0.1
version: 2.0.0
packageName: leap_workflows
projectName: leap-workflows-python-sdk
outputDirectory: sdks/python
Expand All @@ -38,8 +38,8 @@ generators:
userId: leap-ai
repoId: workflows-sdks/tree/main/sdks/python
typescript:
version: 1.0.1
npmName: "@leap-ai/workflows"
version: 1.1.0
npmName: '@leap-ai/workflows'
outputDirectory: sdks/typescript
clientName: Leap
git:
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/.konfig/generate-id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4f71f80b-914e-45bb-9c44-75bad0032568
8acc65ed-7bd7-443e-adcd-5c5c6a9d264b
4 changes: 2 additions & 2 deletions sdks/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
The Leap Workflows API allows developers to run workflows, fetch workflow runs, and provide other utility functions related to workflow runs. Please use the X-Api-Key for authenticated requests.


[![PyPI](https://img.shields.io/badge/PyPI-v1.0.1-blue)](https://pypi.org/project/leap-workflows-python-sdk/1.0.1)
[![PyPI](https://img.shields.io/badge/PyPI-v2.0.0-blue)](https://pypi.org/project/leap-workflows-python-sdk/2.0.0)
[![README.md](https://img.shields.io/badge/README-Click%20Here-green)](https://github.com/leap-ai/workflows-sdks/tree/main/sdks/python#readme)
[![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://tryleap.ai/)

Expand Down Expand Up @@ -35,7 +35,7 @@ Python >=3.7
## Installation<a id="installation"></a>

```sh
pip install leap-workflows-python-sdk==1.0.1
pip install leap-workflows-python-sdk==2.0.0
```

## Getting Started<a id="getting-started"></a>
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/leap_workflows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Created by: https://tryleap.ai/
"""

__version__ = "1.0.1"
__version__ = "2.0.0"

# import ApiClient
from leap_workflows.api_client import ApiClient
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/leap_workflows/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Konfig/1.0.1/python'
self.user_agent = 'Konfig/2.0.0/python'

def __enter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/leap_workflows/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0\n"\
"SDK Package Version: 1.0.1".\
"SDK Package Version: 2.0.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "leap-workflows-python-sdk"
version = "1.0.1"
version = "2.0.0"
description = "Client for Leap Workflows API"
authors = ["Leap Support <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "leap-workflows-python-sdk"
VERSION = "1.0.1"
VERSION = "2.0.0"
# To install the library, run the following
#
# python setup.py install
Expand Down
2 changes: 1 addition & 1 deletion sdks/typescript/.konfig/generate-id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4f71f80b-914e-45bb-9c44-75bad0032568
8acc65ed-7bd7-443e-adcd-5c5c6a9d264b
2 changes: 1 addition & 1 deletion sdks/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

The Leap Workflows API allows developers to run workflows, fetch workflow runs, and provide other utility functions related to workflow runs. Please use the X-Api-Key for authenticated requests.

[![npm](https://img.shields.io/badge/npm-v1.0.1-blue)](https://www.npmjs.com/package/@leap-ai/workflows/v/1.0.1)
[![npm](https://img.shields.io/badge/npm-v1.1.0-blue)](https://www.npmjs.com/package/@leap-ai/workflows/v/1.1.0)
[![More Info](https://img.shields.io/badge/More%20Info-Click%20Here-orange)](https://tryleap.ai/)

</div>
Expand Down
2 changes: 1 addition & 1 deletion sdks/typescript/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class Configuration {
this.accessToken = param.accessToken;
this.basePath = param.basePath;
this.baseOptions = param.baseOptions ?? {};
this.userAgent = param.userAgent === undefined ? "Konfig/1.0.1/typescript" : param.userAgent;
this.userAgent = param.userAgent === undefined ? "Konfig/1.1.0/typescript" : param.userAgent;
this.formDataCtor = param.formDataCtor;
}

Expand Down
2 changes: 1 addition & 1 deletion sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leap-ai/workflows",
"version": "1.0.1",
"version": "1.1.0",
"description": "Client for Leap Workflows API",
"author": "Konfig",
"engines": {
Expand Down

0 comments on commit abf357b

Please sign in to comment.