mirror of
https://github.com/dlt-hub/dlt.git
synced 2025-12-17 19:31:30 +00:00
* Update playground.py Replace REST demo with DummyJSON users (CORS-safe for Playground) * update with actual use case * feat: improve playground example with real API data - Switch from dummyjson to JSONPlaceholder users API - Add dev_mode=True for better development experience - Fix function parameter (remove unused dlt parameter) - Update table references from 'items' to 'users' consistently - Fix test assertion to expect 10 users instead of 50 - Add write_disposition='replace' to prevent data duplication - Improve data display with proper return statements * feat(playground): make pipeline idempotent with refresh=True * fix: remove problematic sqlite3 micropip install causing linting failure * lint: ruff fix & format playground notebook * Playground: updated assert * feat: add improved Marimo with better optimization and formatting * code edit : removed argument refresh to avoid users confusion * feat: update playground to use customers pipeline - Changed from users API (jsonplaceholder) to customers API (jaffle-shop) - Updated resource name from 'users' to 'customers' - Updated pipeline name from 'users_pipeline' to 'customers_pipeline' - Updated all table references and test assertions - Improved response handling with proper yield from pattern * fix: resolve linting issues in playground notebook - Fixed unused marimo import (auto-removed by ruff) - Fixed unused variable 'con' by returning it from connect function - Applied proper code formatting with ruff - All tests pass locally * Address review feedback: update yield and add limit parameter - Change 'yield from response.json()' to 'yield response.json()' as requested by reviewer - Add ?limit=100 parameter to API call for consistent results - Update assertion to expect exactly 100 customers (== 100) - Addresses feedback from AstrakhantsevaAA in PR #2995