dataverse-python-advanced-patterns

작성자: github

프로덕션 환경에 적합한 Dataverse SDK 패턴으로, 오류 처리, 배치 작업 및 최적화 기법을 포함합니다. 일시적 오류에 대한 지수 백오프 재시도 로직, 오류 복구가 포함된 배치 CRUD 작업, 필터, 선택, 확장 및 올바른 논리적 이름을 사용한 페이지 매김을 통한 OData 쿼리 최적화를 보여줍니다. 테이블 메타데이터 생성 및 검사, IntEnum 옵션 세트가 포함된 사용자 정의 열 정의, 스키마 변경 시 캐시 플러시 전략을 다룹니다. 구성 모범 사례를 포함합니다...

npx skills add https://github.com/github/awesome-copilot --skill dataverse-python-advanced-patterns

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.