Conversation
…rs option The prefect integration makes HTTP requests but never exposed the standard HTTP configuration options (TLS verification, auth, proxy, timeout, headers) that the http template provides. Add init_config/http and instances/http templates so users get the full set of standard options. This also removes the bespoke custom_headers instance option, which is now redundant with the standard headers/extra_headers options the http template provides, and drops the manual merge of custom_headers into self.http.options in check.py since RequestsWrapper already merges headers/extra_headers automatically. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
|
|
Contributor
✅ Dispatcher tests · passed
Batches
e070621 — GitHub Run.
|
evalya-impact-summaryevalya impact analysis |
Contributor
|
✅ All CI checks and tests passed. 🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: fa860c0 | Docs | View more details | Give us feedback! |
Contributor
Disk usage changeCommit Uncompressed
Details
Compressed
Details
|
Contributor
Validation ReportAll 21 validations passed. Show details
|
luisorofino
approved these changes
Sep 18, 2026
brett0000FF
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds the standard
httpconfiguration template (init_config/httpandinstances/http) to theprefectintegration's spec, giving it the usual set of HTTP options (tls_verify,auth_type,timeout,proxy,headers/extra_headers, etc.). Also removes the integration's bespokecustom_headersinstance option and the manual merge of it intoself.http.options['headers']incheck.py, since the standardheaders/extra_headersoptions from the template now cover that use case and the baseRequestsWrappermerges them automatically.Motivation
The
prefectintegration makes HTTP calls to the Prefect API but never included the standard HTTP configuration template, so users had no way to configure TLS verification, authentication, proxying, or timeouts — only a one-offcustom_headersoption for headers. This PR bringsprefectin line with other HTTP-based integrations by adopting the standard template, and replacescustom_headerswith the standardheaders/extra_headersoptions it provides, so there is a single, consistent way to configure headers across integrations.Review checklist (to be filled by reviewers)
qa/requiredif this PR needs QA validation, orqa/skip-qaif it does not. Exactly one of the two is required.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged🤖 Generated with Claude Code