MCPcopy Create free account
hub / github.com/instantdb/instant / send_magic_code

Method send_magic_code

client/packages/python/src/instantdb/_sync/auth.py:18–24  ·  view source on GitHub ↗
(self, email: str)

Source from the content-addressed store, hash-verified

16 self._app_id = app_id
17
18 def send_magic_code(self, email: str) -> str:
19 result = self._http.post(
20 "/admin/send_magic_code",
21 params={"app_id": self._app_id},
22 json={"email": email},
23 )
24 return result["code"]
25
26 def generate_magic_code(self, email: str) -> str:
27 result = self._http.post(

Callers 1

test_send_magic_codeFunction · 0.45

Calls 1

postMethod · 0.45

Tested by 1

test_send_magic_codeFunction · 0.36