Skip to content

Commit 23b944b

Browse files
Joel LeeJoel Lee
authored andcommitted
Remove erroneous ===
1 parent 08f395d commit 23b944b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ license = "MIT"
88
[tool.poetry.dependencies]
99
python = "^3.7.1"
1010
postgrest-py = "^0.3.2"
11-
realtime-py="^0.1.0"
11+
realtime-py="^0.1.2"
1212
gotrue="0.1.2"
1313
pytest="6.2.2"
14-
supabase-realtime-py="0.1.1a0"
1514

1615
[tool.poetry.dev-dependencies]
1716

supabase_py/lib/realtime_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
class SupabaseRealtimeClient:
8-
def __init__(self, socket: Type[Socket], schema: str, table_name: str):
8+
def __init__(self, socket: Socket, schema: str, table_name: str):
99
topic = (
1010
f"realtime:{schema}"
1111
if table_name == "*"
@@ -18,7 +18,7 @@ def get_payload_records(self, payload: Any):
1818
if payload.type == "INSERT" or payload.type == "UPDATE":
1919
records.new = payload.record
2020
convert_change_data(payload.columns, payload.record)
21-
if (payload.type === 'UPDATE' or payload.type === 'DELETE'):
21+
if (payload.type == 'UPDATE' or payload.type == 'DELETE'):
2222
records.old = payload.record
2323
convert_change_data(payload.columns, payload.old_record)
2424
return records

0 commit comments

Comments
 (0)