bump python client

This commit is contained in:
Kyle Corbitt
2023-08-25 15:39:29 -07:00
parent db1c8f171d
commit d0ed684dab
3 changed files with 5 additions and 3 deletions

View File

@@ -27,3 +27,4 @@ try {
// export const openai = env.OPENPIPE_API_KEY ? new OpenAI.OpenAI(config) : new OriginalOpenAI(config); // export const openai = env.OPENPIPE_API_KEY ? new OpenAI.OpenAI(config) : new OriginalOpenAI(config);
export const openai = new OpenAI(config); export const openai = new OpenAI(config);
`

View File

@@ -6,11 +6,11 @@ from openpipe.api_client.client import AuthenticatedClient
from openpipe.api_client.models.report_json_body_tags import ( from openpipe.api_client.models.report_json_body_tags import (
ReportJsonBodyTags, ReportJsonBodyTags,
) )
import toml
import time import time
import os import os
version = toml.load("pyproject.toml")["tool"]["poetry"]["version"] # TODO: sync with pyproject.toml
version = "3.0.3"
configured_client = AuthenticatedClient( configured_client = AuthenticatedClient(
base_url="https://app.openpipe.ai/api/v1", token="" base_url="https://app.openpipe.ai/api/v1", token=""

View File

@@ -1,12 +1,13 @@
[tool.poetry] [tool.poetry]
name = "openpipe" name = "openpipe"
version = "3.0.1" version = "3.0.3"
description = "Python client library for the OpenPipe service" description = "Python client library for the OpenPipe service"
authors = ["Kyle Corbitt <kyle@openpipe.ai>"] authors = ["Kyle Corbitt <kyle@openpipe.ai>"]
license = "Apache-2.0" license = "Apache-2.0"
readme = "README.md" readme = "README.md"
homepage = "https://github.com/OpenPipe/OpenPipe" homepage = "https://github.com/OpenPipe/OpenPipe"
repository = "https://github.com/OpenPipe/OpenPipe" repository = "https://github.com/OpenPipe/OpenPipe"
include = ["pyproject.toml"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.9" python = "^3.9"