Type hints for Appwrite Python SDK
Project description
Type hints for your Appwrite Python functions
Whenever I develop an Appwrite function, I am left wondering what all these Flask abstractions mean since they are not from an installable package. Wonder no more!
from appwrite_typing.py310.server import Context
def main(context: "Context"): # <-- we actually know what this means now!
return context.res.send("Hello World!")
def test_main():
response = main(Context()) # <-- we can actually test with real objects
assert response["body"] == "Hello World!"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
appwrite-typing-0.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for appwrite_typing-0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b03fddaf1a0afcebb903bb1fbd901f9587a4a8f7d4fb65f5d2f587e278cfe1 |
|
MD5 | f91ede197b01f36e4dee9808c1b06d21 |
|
BLAKE2b-256 | 2cb48fefec60c69fc0f78b772a451ee65ee1c6695c2d80982830446d73b5e16d |