close
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: marimo-team/marimo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: brabra13/marimo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 18 files changed
  • 1 contributor

Commits on Apr 15, 2025

  1. feat(wasm): integrate Labdata API with Marimo bootstrap

    Automatically configure Labdata API during Pyodide initialization to provide
    seamless access to internal test data platform.
    
    Key changes:
    - Add Labdata wheel package loading in bootstrap process
    - Configure LABDATA_TOKEN environment variable in Python runtime
    - Add pandas and requests as core dependencies
    - Implement automatic retry logic for API requests
    
    Technical details:
    - Load labdata_api-0.0.12-py3-none-any.whl after Pyodide initialization
    - Set LABDATA_TOKEN in Python environment for internal authentication
    - Pre-install pandas and requests for data handling
    - Add error callbacks for package loading diagnostics
    
    Example usage:
    ```python
    from labdata_api import Labdata
    labdata = Labdata()  # No token needed, configured automatically
    brabra13 committed Apr 15, 2025
    Configuration menu
    Copy the full SHA
    8e65aec View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2025

  1. feat(labdata): Add wheel build configuration and documentation

    Add proper wheel build configuration for labdata_api package and comprehensive
    documentation for wheel management.
    
    Changes:
    - Add pyproject.toml with proper build configuration
    - Update wheel file for frontend/Pyodide integration
    - Add detailed wheel management documentation
    
    Technical details:
    - Configure hatchling as build backend
    - Set proper package includes/excludes
    - Add dependency specifications
    - Document wheel building, testing, and SHA256 verification process
    brabra13 committed Apr 17, 2025
    Configuration menu
    Copy the full SHA
    caf2779 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2025

  1. refactoring your Labdata class

     use an asynchronous initialization pattern with `httpx`  instead of `requests` library for API calls, exhibited critical failures when executed within a Marimo notebook environment. Specifically :
    *   API calls intended to fetch a list of programs resulted in incomplete data being received.
    *   This manifested as a `requests.exceptions.JSONDecodeError: Unterminated string...` because the received data was truncated mid-response.
    *   Debugging confirmed a mismatch between the `Content-Length` header reported by the server (e.g., `112131` bytes) and the actual number of bytes received by `requests` within Marimo (e.g., `7746` or `32383` bytes).
    *   Crucially, the *exact same code* using `requests` executed successfully when run outside Marimo (e.g., in a standard Python script), receiving the full response.
    brabra13 committed Apr 28, 2025
    Configuration menu
    Copy the full SHA
    5c476ba View commit details
    Browse the repository at this point in the history
Loading