[docs] Fix documentation inconsistencies in doc/ folder
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 1/100
- Issue-Typ
- Dokumentation
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- markdown, python
- Bereich
- documentation
Rechercherichtung
The issue describes changes in doc/request_builders.md, doc/send_request.md, doc/dev/code_snippets.md, and doc/tool_usage_guide.md, and says the updates were pushed to branch docs/fix-doc-inconsistencies-9c62d1fd62a3b2f5. Review the branch and its pull request status first, since the proposed work is already prepared. Done means the documentation matches the referenced azure-core methods, sample line numbers, and azpysdk commands.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
[!TIP]
Your pull request is ready to create! 🎉 ✅Everything is OK—the changes have been pushed to branch
docs/fix-doc-inconsistencies-9c62d1fd62a3b2f5. Please review the changes, including any protected files, before creating the pull request.The original pull request description is below.
Summary
Reviewed every markdown file under doc/ against the current source code and found a handful of inconsistencies, which this PR fixes.
Changes
doc/request_builders.md
response.text→response.text()—HttpResponse.textis a method inazure.core.rest, not a property (verified againstsdk/core/azure-core/azure/core/rest/_rest_py3.py).from azure.example.core.rest import HttpRequest→from azure.core.rest import HttpRequest— the example used an invalid/nonexistent module path;HttpRequestlives inazure.core.rest..raise_for_error()→.raise_for_status()—azure-core'sHttpResponse/AsyncHttpResponseonly defineraise_for_status(); the doc elsewhere in the same file correctly usesraise_for_status().
doc/send_request.md
- Same
.raise_for_error()→.raise_for_status()fix as above (duplicated content in this file had the same stale reference).
doc/dev/code_snippets.md
- Updated a GitHub line-range link (
#L63-L68→#L64-L69) to match the actual current location of the# [START asyncio]/# [END asyncio]snippet insdk/core/azure-core/samples/test_example_async.py.
doc/tool_usage_guide.md
- Added missing entries for the
mindependency,latestdependency, andchangelogazpysdksubcommands to the tool table. These checks exist ineng/tools/azure-sdk-tools/azpysdk/(mindependency.py,latestdependency.py,changelog.py) but were not documented.
Verification
- Cross-checked all code examples and command names against the actual implementation in
sdk/core/azure-coreandeng/tools/azure-sdk-tools/azpysdk. - Scanned all 56 markdown files under
doc/for broken relative links (images, cross-doc references) — no additional broken links found. - Confirmed tool version table in
doc/analyze_check_versions.mdand py.typed packaging guidance indoc/dev/static_type_checking.mdalready match current source (no changes needed there).
No build/test suite applies to documentation-only changes.
[!NOTE]
GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch
docs/fix-doc-inconsistencies-9c62d1fd62a3b2f5and are ready to review.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (47 of 95 lines)
From 133686c70ed31fd180dd0875232dc761ba9196d3 Mon Sep 17 00:00:00 2001
X-GH-AW-Base-Commit: c00962557a45a95b75f28adfd6b7497713c6fe4e
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Mon, 19 Oct 2026 04:55:50 +0000
Subject: [PATCH] docs: fix API drift and missing tool entries in doc/
- Fix response.text -> response.text() (method, not property) in request_builders.md
- Fix incorrect import azure.example.core.rest -> azure.core.rest in request_builders.md
- Fix .raise_for_error() -> .raise_for_status() (actual azure-core method) in request_builders.md and send_request.md
- Fix stale GitHub line-range link in code_snippets.md to match current sample file lines
- Add missing mindependency, latestdependency, and changelog entries to the azpysdk tool table in tool_usage_guide.md
Co-authored-by: Copilot <[email protected]>
---
doc/dev/code_snippets.md | 2 +-
doc/request_builders.md | 6 +++---
doc/send_request.md | 2 +-
doc/tool_usage_guide.md | 3 +++
4 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/doc/dev/code_snippets.md b/doc/dev/code_snippets.md
index de136c82..f1341d62 100644
--- a/doc/dev/code_snippets.md
+++ b/doc/dev/code_snippets.md
@@ -23,7 +23,7 @@ async with AsyncPipeline(AsyncioRequestsTransport(), policies=policies) as pipel
# [END asyncio]
-https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/samples/test_example_async.py#L63-L68
+https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/samples/test_example_async.py#L64-L69
Refer samples
diff --git a/doc/request_builders.md b/doc/request_builders.md
index 57678dd8..62be2eaf 100644
--- a/doc/request_builders.md
+++ b/doc/request_builders.md
@@ -17,7 +17,7 @@ Here's how to get started:
response
<HttpResponse: 200 OK, Content-Type: text/plain>
response.raise_for_status()
->>> response.text
+>>> response.text()
'Happy to see you!'
@@ -137,7 +137,7 @@ Fo
... (truncated)
Generated by Documentation Consistency Check · copilot · sonnet50 · 116.2 AIC · ⌖ 0.654 AIC · ⊞ 8.7K · ◷
- Vorherrschende Sprache
- Python
- Sterne
- 5.6k
- Forks
- 3.4k
- Ø Merge
- 1 T. 22 Std.
- Gemergte PRs (30 T.)
- 189
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Azure/azure-sdk-for-python
-
needs-triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
Azure/azure-sdk-for-python#50155 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Teams Chatbot]: next-mypy install 404s should point to CFS auth or --pypi workaroundEvtl. vergeben @jianingwang123 hat das vor 17 Tagen übernommen. Offenneeds-triage
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Azure/azure-sdk-for-python#49886 · 1 Kommentar · 2 Reaktionen · 2 zugewiesene Personen ·
Maintainer antworten meist innerhalb von 1 Tag
-
[AI Projects] AIProjectInstrumentor: non-streamed responses.create raises AttributeError ('NonRecordingSpan' object has no attribute 'attributes') when the span is not sampledEvtl. vergeben @14H034160212 hat das vor 19 Tagen übernommen. OffenAI Projects Client customer-reported question
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Azure/azure-sdk-for-python#49854 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
azure-eventhub migration guide: legacy checkpoint sample writes "None" metadata for partitions that were never checkpointedEvtl. vergeben @hidingmyname hat das vor 27 Tagen übernommen. OffenClient customer-reported Event Hubs needs-team-attention question Service Attention
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Azure/azure-sdk-for-python#49723 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Scheduled test pipelines fail at the Analyze_Test stage due to date formattingEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. OffenEngSys
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Azure/azure-sdk-for-python#49614 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Azure/azure-sdk-for-python
Ähnliche Issues
-
🧫10장-투향
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
hyunjimoon/golden-cage-book#188 ·
-
agent/scanner bug stage/010-actionable
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
torch-spyre/spyre-inference#1812 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Bug: fenced drafts inside <think> tags break parsing or are returned instead of the answerEvtl. vergeben @aad1tyaaaaa hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
google/langextract#639 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[oblt-aw][autodoc] Update autodoc routing docs for relative in-repo lock usesEvtl. vergeben @github-actions hat das heute übernommen. Offen
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 87/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag