You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
Python
Describe the bug
AsyncClient.base_url is not used by HttpxRequestAdapter as expected.
http_asyncclient: AsyncClient=AsyncClient(
base_url=self.stimulator_config.server.base_url, # BUG base_url not used, file issue with kiota
),
headers=headers,
)
request_adapter: HttpxRequestAdapter=HttpxRequestAdapter(
authentication_provider=auth_provider,
http_client=http_asyncclient,
# base_url=app_config.server.base_url, # base_url must be set here )client: ApiClient=ApiClient(request_adapter=request_adapter)
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
Set base_url in
Configuration
Linux (Ubuntu)
Debug output
Click to expand log
```
</details>
### Other information
We are using microsoft-kiota-http==1.3.3 (HttpxRequestAdapter). I updated to 1.3.4 but the constructor of HttpxRequestAdapter has not changed from what I can see.
See: https://github.com/microsoft/kiota-http-python/blob/main/kiota_http/httpx_request_adapter.py#L90
The text was updated successfully, but these errors were encountered:
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
Python
Describe the bug
AsyncClient.base_url is not used by HttpxRequestAdapter as expected.
Expected behavior
HttpxRequestAdapter uses HttpxRequestAdapter.http_client.base_url
How to reproduce
See above.
Open API description file
No response
Kiota Version
1.18.0
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
Set base_url in
Configuration
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: