Skip to main content

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

This version

0.0

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 details)

Uploaded Source

Built Distribution

appwrite_typing-0.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file appwrite-typing-0.0.tar.gz.

File metadata

  • Download URL: appwrite-typing-0.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for appwrite-typing-0.0.tar.gz
Algorithm Hash digest
SHA256 3841770dc8813d0eff7dff14465e99952c001f253a64248d247fd5fd5113177d
MD5 4a3f329e23f4780a565cd8558bfcd616
BLAKE2b-256 994c884ffd48083b5ce129bbf3124fc2c928a1703f19f1e70b23aa52143d9b85

See more details on using hashes here.

File details

Details for the file appwrite_typing-0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for appwrite_typing-0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31b03fddaf1a0afcebb903bb1fbd901f9587a4a8f7d4fb65f5d2f587e278cfe1
MD5 f91ede197b01f36e4dee9808c1b06d21
BLAKE2b-256 2cb48fefec60c69fc0f78b772a451ee65ee1c6695c2d80982830446d73b5e16d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page