Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/inverted-ai/invertedai i…
Browse files Browse the repository at this point in the history
…nto develop
  • Loading branch information
Kieran Ratcliffe committed Jan 3, 2024
2 parents a615382 + 3b50af9 commit b98927f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 100 deletions.
4 changes: 4 additions & 0 deletions invertedai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@
log_level = os.environ.get("IAI_LOG_LEVEL", "WARNING")
log_console = strtobool(os.environ.get("IAI_LOG_CONSOLE", "true"))
log_file = strtobool(os.environ.get("IAI_LOG_FILE", "false"))
api_key = os.environ.get("IAI_API_KEY", "")


logger = IAILogger(level=log_level, consoel=bool(log_console), log_file=bool(log_file))

session = Session()
if api_key:
session.add_apikey(api_key)
add_apikey = session.add_apikey
use_mock_api = session.use_mock_api

Expand Down
1 change: 0 additions & 1 deletion invertedai/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import requests
import asyncio
from deprecated import deprecated
import json
import logging
import os
Expand Down
98 changes: 1 addition & 97 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "invertedai"
version = "0.0.11dev1"
version = "0.0.11.post1"
description = "Client SDK for InvertedAI"
authors = ["Inverted AI <info@inverted.ai>"]
readme = "README.md"
Expand All @@ -15,7 +15,6 @@ requests = "^2.28.1"
pydantic = "^1.10.2"
matplotlib = "^3.6.2"
tqdm = "^4.65.0"
deprecated = "^1.2.14"

[tool.poetry.group.dev.dependencies]
numpy = "^1.17.0"
Expand Down

0 comments on commit b98927f

Please sign in to comment.