openapi-python-sdk icon indicating copy to clipboard operation
openapi-python-sdk copied to clipboard

🐍 A fully-featured and blazing-fast Python API client to interact with @Openapi®

Results openapi-python-sdk issues
Sort by recently updated
recently updated
newest added

Currently, the OpenAPI Python SDK is designed with low-level HTTP primitives. If an API request fails due to a transient error, the client raises an error or fails immediately: 1....

Ref issue #20 This PR resolves the lack of a built-in retry mechanism in the SDK client and OAuth client interfaces. Previously, any temporary network dropout, gateway timeout (502/503/504), or...

### Query parameters not properly URL-encoded (pandas data pipeline) **Description** Special characters break API calls when used in data pipelines. **Code snippet** params = { "denominazione": "azienda & co" }...

good first issue
help wanted

### Retry logic not compatible with urllib3 Retry (requests adapter) **Description** Cannot integrate SDK with urllib3 retry strategies. **Code snippet** from requests.adapters import HTTPAdapter from urllib3.util.retry import Retry retry =...

bug
enhancement

#### **The Problem** By default, the underlying `httpx` HTTP library used by this SDK applies a strict 5-second timeout to all network requests. If an API method takes longer than...

### No way to inject custom requests.Session (Django application) **Description** In Django projects, it's common to reuse a configured requests.Session, but the SDK does not allow it. **Code snippet** import...

good first issue

### JSON response returned as string instead of dict (Flask integration) **Description** SDK returns raw string instead of parsed JSON, adding boilerplate in Flask apps. **Code snippet** from flask import...

good first issue

### Large response handling causes high memory usage (PDF generation use case) **Description** SDK loads entire response into memory, problematic for large files. **Code snippet** response = client.request( "POST", base_url,...

### Token expiration not handled in long-running Airflow DAGs **Description** In Airflow DAGs, token expires and SDK does not refresh automatically. **Code snippet** from airflow import DAG client = Client("token")...

### Multipart file upload not supported (Django Rest Framework use case) **Description** Unable to upload files using SDK in DRF-based APIs. **Code snippet** files = {"file": open("test.pdf", "rb")} response =...