Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Update Changes #19

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ build-backend = "hatchling.build"

[project]
name = "tabpfn-client"
version = "0.0.7"
version = "0.0.11"
requires-python = ">=3.10"
dependencies = [
"httpx>=0.24.1",
"pandas>=1.3.0",
"omegaconf>=2.3.0",
"tabpfn>=0.1.9",
"password_strength",
]

[tool.hatch.build.targets.wheel]
Expand Down
5 changes: 4 additions & 1 deletion tabpfn_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ def try_connection(self) -> bool:
if response.status_code == 200:
found_valid_connection = True

except httpx.ConnectError:
except httpx.ConnectError as e:
logger.error(f"Failed to connect to the server with error: {e}")
import traceback
SamuelGabriel marked this conversation as resolved.
Show resolved Hide resolved
traceback.print_exc()
found_valid_connection = False

return found_valid_connection
Expand Down
Loading