Skip to content

Switch between legacy file_id and file_ids field when updating blocks#95

Open
ml-evs wants to merge 1 commit into
mainfrom
ml-evs/multiple-files-block
Open

Switch between legacy file_id and file_ids field when updating blocks#95
ml-evs wants to merge 1 commit into
mainfrom
ml-evs/multiple-files-block

Conversation

@ml-evs
Copy link
Copy Markdown
Member

@ml-evs ml-evs commented May 14, 2026

This PR maintains compatibility with old blocks by only sending the list of multiple file_ids via the file_ids parameter, and sending individual files via the "legacy" file_id parameter.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 44.46%. Comparing base (3c1521a) to head (fbc7a0c).

Files with missing lines Patch % Lines
src/datalab_api/__init__.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   44.55%   44.46%   -0.09%     
==========================================
  Files           4        4              
  Lines         514      515       +1     
==========================================
  Hits          229      229              
- Misses        285      286       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ml-evs ml-evs changed the title Switch between legacy file_id and file_ids field when updating blocks Switch between legacy file_id and file_ids field when updating blocks May 14, 2026
@ml-evs ml-evs force-pushed the ml-evs/multiple-files-block branch from 880df76 to fbc7a0c Compare May 15, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant