Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add types to parameters #103

Merged
merged 2 commits into from
Mar 10, 2025
Merged

feat: add types to parameters #103

merged 2 commits into from
Mar 10, 2025

Conversation

christyjacob4
Copy link
Member

@christyjacob4 christyjacob4 commented Mar 10, 2025

What does this PR do?

Fixes #43

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@@ -13,11 +13,11 @@ def __init__(self):
self._endpoint = 'https://cloud.appwrite.io/v1'
self._global_headers = {
'content-type': '',
'user-agent' : 'AppwritePythonSDK/8.0.0 (${os.uname().sysname}; ${os.uname().version}; ${os.uname().machine})',
'user-agent' : 'AppwritePythonSDK/9.0.0 (${os.uname().sysname}; ${os.uname().version}; ${os.uname().machine})',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Existing bug we need to fix, this should be an f-string it's not interpolating this 😬

Comment on lines +11 to +13
result = health.get_queue_stats_usage_dump(
threshold = None # optional
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

err should this endpoint be public?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not really, but its part of the spec. In fact all the queue endpoints should be made hidden :/

@christyjacob4 christyjacob4 merged commit 5e7b0f3 into main Mar 10, 2025
@christyjacob4 christyjacob4 deleted the dev branch March 10, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 Feature: Type hints
3 participants