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

Adds include_source on run_function #2864

Merged

Conversation

freider
Copy link
Contributor

@freider freider commented Feb 12, 2025

Extracted as a separate patch from #2860 so we can fix the integration tests before merging the patch that will break them


Check these boxes or delete any item (or this section) if not relevant for this PR.

  • Client+Server: this change is compatible with old servers
  • Client forward compatibility: this change ensures client can accept data intended for later versions of itself

Note on protobuf: protobuf message changes in one place may have impact to
multiple entities (client, server, worker, database). See points above.

@freider freider requested a review from mwaskom February 12, 2025 12:26
@freider
Copy link
Contributor Author

freider commented Feb 12, 2025

@prbot approve

Copy link

@modal-pr-review-automation modal-pr-review-automation bot left a comment

Choose a reason for hiding this comment

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

Approved 👍. @mwaskom will follow-up review this.

@freider
Copy link
Contributor Author

freider commented Feb 12, 2025

@prbot automerge

@modal-pr-review-automation
Copy link

Some required workflows are pending. Will automerge once they complete successfully. Please bear with us in this difficult time.

@modal-pr-review-automation modal-pr-review-automation bot merged commit 60b183a into main Feb 12, 2025
24 checks passed
@modal-pr-review-automation modal-pr-review-automation bot deleted the freider/include-source-on-run-function branch February 12, 2025 12:47
@@ -1924,6 +1924,8 @@ def run_function(
region: Optional[Union[str, Sequence[str]]] = None, # Region or regions to run the function on.
args: Sequence[Any] = (), # Positional arguments to the function.
kwargs: dict[str, Any] = {}, # Keyword arguments to the function.
*,
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nicer to have this right after raw_f but we'll need to do it gradually.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed :(

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.

2 participants