Skip to content

fix(http-httpx): export HttpxRequestAdapter and KiotaClientFactory from kiota_http package - #825

Open
Hardik K (hardikkaurani) wants to merge 1 commit into
microsoft:mainfrom
hardikkaurani:fix/http-httpx-package-exports
Open

Hardik K (hardikkaurani) wants to merge 1 commit into
microsoft:mainfrom
hardikkaurani:fix/http-httpx-package-exports

Conversation

@hardikkaurani

Copy link
Copy Markdown
Contributor

Description

  • Export HttpxRequestAdapter and KiotaClientFactory in packages/http/httpx/kiota_http/__init__.py and explicitly declare __all__.
    • Since kiota_http contains a py.typed marker (PEP 561), declaring __all__ enables typed consumer applications and IDEs to import directly from the top-level package (from kiota_http import HttpxRequestAdapter, KiotaClientFactory) without reportPrivateImportUsage or typing errors.
  • Fix duplicate word typo in packages/http/httpx/README.md ("to to make HTTP requests").
  • Add unit test in packages/http/httpx/tests/test_typing.py validating package exports.

@hardikkaurani
Hardik K (hardikkaurani) requested a review from a team as a code owner October 22, 2026 10:10
Copilot AI balanced review requested due to automatic review settings October 22, 2026 10:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sonarqubecloud

Copy link
Copy Markdown

@hardikkaurani

Hardik K (hardikkaurani) commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Hi Vincent Biret (@baywet),

I've opened this PR for packages/http/httpx to export HttpxRequestAdapter and KiotaClientFactory from kiota_http/__init__.py and define an explicit __all__ list for the public API.

The PR also fixes a duplicate-word typo in the package README and adds test coverage for the new exports.

Whenever convenient, could you please take a look? Thanks for your time!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants