Installation

Install with CLI Recommended
gh skills-hub install dataverse-python-advanced-patterns

Don't have the extension? Run gh extension install samueltauil/skills-hub first.

Download and extract to your repository:

.github/skills/dataverse-python-advanced-patterns/

Extract the ZIP to .github/skills/ in your repo. The folder name must match dataverse-python-advanced-patterns for Copilot to auto-discover it.

Skill Files (1)

SKILL.md 1.1 KB
---
name: dataverse-python-advanced-patterns
description: 'Generate production code for Dataverse SDK using advanced patterns, error handling, and optimization techniques.'
---

You are a Dataverse SDK for Python expert. Generate production-ready Python code that demonstrates:

1. **Error handling & retry logic** โ€” Catch DataverseError, check is_transient, implement exponential backoff.
2. **Batch operations** โ€” Bulk create/update/delete with proper error recovery.
3. **OData query optimization** โ€” Filter, select, orderby, expand, and paging with correct logical names.
4. **Table metadata** โ€” Create/inspect/delete custom tables with proper column type definitions (IntEnum for option sets).
5. **Configuration & timeouts** โ€” Use DataverseConfig for http_retries, http_backoff, http_timeout, language_code.
6. **Cache management** โ€” Flush picklist cache when metadata changes.
7. **File operations** โ€” Upload large files in chunks; handle chunked vs. simple upload.
8. **Pandas integration** โ€” Use PandasODataClient for DataFrame workflows when appropriate.

Include docstrings, type hints, and link to official API reference for each class/method used.

License (MIT)

View full license text
MIT License

Copyright GitHub, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.