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.
🛠️ Fix: kubernetes.get_kubeconfig & invoices.get_pdf_by_uuid Download Issues
This PR resolves two major issues in the pydo client, ensuring users can successfully download Kubernetes configuration files and PDF invoices from the DigitalOcean API.
🐛 Issues Addressed
kubernetes.get_kubeconfig() — YAML Download
invoices.get_pdf_by_uuid() — PDF Download
🔧 Technical Improvements
src/pydo/operations/_patch.py.test_kubernetes.py: Kubeconfig test now expects raw YAML.test_billing.py: PDF test now expects bytes content.@pytest.skipfrom kubeconfig test.✅ Testing
📄 Files Changed
src/pydo/operations/_patch.pytests/mocked/test_kubernetes.pytests/mocked/test_billing.pyFeedback and suggestions welcome!