From 723c96a7c35e0632932f4496284eca74fefab595 Mon Sep 17 00:00:00 2001 From: Tevfik Date: Thu, 8 Apr 2021 09:23:50 +0200 Subject: [PATCH] Update README.md Insertion of data code was not correct due to a copy paste error. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 901a2d10..224aa74a 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ from supabase_py import create_client, Client url: str = os.environ.get("SUPABASE_TEST_URL") key: str = os.environ.get("SUPABASE_TEST_KEY") supabase: Client = create_client(url, key) -data = supabase.table("countries").select("*").execute() +data = supabase.table("countries").insert({"name":"Germany"}).execute() assert len(data.get("data", [])) > 0 ```