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: elabftw/elabapi-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: elabftw/elabapi-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: mouss-suggestions
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 3 files changed
  • 3 contributors

Commits on Mar 3, 2026

  1. Create resource_extra_fields_export.py

    Python script to export extra fields of items in a specific resource category
    ELN-uzun authored Mar 3, 2026
    Configuration menu
    Copy the full SHA
    ee01749 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2026

  1. feat: examples: improve extra fields export compatibility and parsing

    Enhance resource_extra_fields_export example script to support
    multiple API response formats and improve robustness.
    
    - Use `_preload_content=False` and manually decode JSON response.
    - Support metadata returned as either JSON string or object.
    - Normalize extra field keys for case/space-insensitive matching.
    - Add backward compatibility for different elabapi_python versions
      (dict-style and object-style access).
    - Use safe `.get()` access for item fields.
    - Ignore generated export files via `.gitignore` (export.*).
    
    This makes the example script more resilient across API versions
    and metadata formats.
    MoustaphaCamara committed Mar 6, 2026
    Configuration menu
    Copy the full SHA
    4b7cf84 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2026

  1. Apply suggestion from @MoustaphaCamara

    Co-authored-by: Mouss <104678778+MoustaphaCamara@users.noreply.github.com>
    ELN-uzun and MoustaphaCamara authored Mar 9, 2026
    Configuration menu
    Copy the full SHA
    ce58347 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2026

  1. Configuration menu
    Copy the full SHA
    5c25878 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2026

  1. ci: pin GitHub Actions to SHA-pinned commit versions

    Pin github actions to SHA-pinned commit versions
    MoustaphaCamara committed Apr 3, 2026
    Configuration menu
    Copy the full SHA
    2794d81 View commit details
    Browse the repository at this point in the history
Loading