From 24ed35eab499b54f9d5590fe63b0ea3b4a0bcc5e Mon Sep 17 00:00:00 2001 From: David Otte Date: Thu, 15 Aug 2024 13:06:33 +0200 Subject: [PATCH] Send credentials during registration in body --- pyproject.toml | 2 +- tabpfn_client/client.py | 2 +- tabpfn_client/tabpfn_common_utils | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7d0ce3b..2394dcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "tabpfn-client" -version = "0.0.20" +version = "0.0.21" requires-python = ">=3.10" dependencies = [ "httpx>=0.24.1", diff --git a/tabpfn_client/client.py b/tabpfn_client/client.py index 21d2a9d..81c1c09 100644 --- a/tabpfn_client/client.py +++ b/tabpfn_client/client.py @@ -313,7 +313,7 @@ def register( response = self.httpx_client.post( self.server_endpoints.register.path, - params={ + json={ "email": email, "password": password, "password_confirm": password_confirm, diff --git a/tabpfn_client/tabpfn_common_utils b/tabpfn_client/tabpfn_common_utils index c26d6d9..cb44694 160000 --- a/tabpfn_client/tabpfn_common_utils +++ b/tabpfn_client/tabpfn_common_utils @@ -1 +1 @@ -Subproject commit c26d6d928fdd7600f20a5700b25c75edad573c61 +Subproject commit cb4469425eba995b4cefad1357c020878e1a6d02