-
Notifications
You must be signed in to change notification settings - Fork 0
Update Modal to version 0.73.107 and adapt code to latest API changes #11
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
Conversation
Reviewer's GuideThis pull request updates the Modal library dependency to version 0.73.107 in File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Hey! 👋 I see one of the checks failed. I am on it! 🫡 |
|
I'm looking into the failing check on PR #11. I can see that it's related to a permission issue with the GitHub Actions workflow. I'll fix this and push an update to the PR branch shortly. |
|
I'm working on fixing the failing check for PR #11. The issue is with the GitHub Actions workflow that's checking user permissions. I'll update the PR with a fix shortly. |
27f0eca to
f4656a2
Compare
This PR updates the Modal library in the codegen-on-oss directory to version 0.73.107 and adapts the code to use the latest API changes.
Changes:
pyproject.tomlfrom 0.73.51 to 0.73.107include_source=Trueto all App declarations to ensure proper source code inclusionconcurrency_limittomax_containersin function definitions as per Modal's API changesmodal.current_function_call_id()which can returnNonein some casesThese changes ensure compatibility with the latest Modal API and follow the recommended practices for Modal 1.0 migration.
Testing:
The code has been updated according to Modal's latest documentation and changelog. The changes should maintain the same functionality while adapting to the new API requirements.
References:
💻 View my work • About Codegen
Summary by Sourcery
Update Modal library to version 0.73.107 and adapt code to its latest API changes
New Features:
include_source=Trueto Modal App declarationsBug Fixes:
concurrency_limittomax_containersin function definitions to match new Modal APIEnhancements:
modal.current_function_call_id()to handle potentialNonereturnChores: