René's URL Explorer Experiment


Title: fix(cli): apply input overrides through input blocks by jamesbhobbs · Pull Request #418 · deepnote/deepnote · GitHub

Open Graph Title: fix(cli): apply input overrides through input blocks by jamesbhobbs · Pull Request #418 · deepnote/deepnote

X Title: fix(cli): apply input overrides through input blocks by jamesbhobbs · Pull Request #418 · deepnote/deepnote

Description: Problem deepnote run --input count=7 previously JSON-parsed every CLI value, turning 7 into a number. Slider input blocks store "7" and generate the numeric Python assignment themselves, so writing the number into block metadata caused execution snapshot serialization to fail. Runtime input injection also bypassed the normal input-block Python generation path. Fix Resolve each CLI input name against the input blocks in the selected notebook scope: text, textarea, file, date, slider, and single-select inputs use plain strings checkbox inputs accept true or false multi-select inputs and absolute date ranges accept JSON arrays of strings unknown input names and invalid values are rejected before execution values used by multiple same-name blocks must be accepted by every matching block During execution, ExecutionEngine applies the value to each matching input block and calls the existing createPythonCode(block) path. Inputs without a matching block keep the existing generic Python-literal behavior for programmatic callers. The executed project retains the values expected by its input blocks, allowing snapshots to serialize normally. Tests input value checks for every input block type CLI coverage for strings, checkboxes, multi-selects, date ranges, unknown names, invalid values, notebook scope, and duplicate variable names runtime coverage for input-block Python generation, metadata updates, invalid values, and the generic fallback regression coverage for serializing a snapshot after overriding a slider pnpm test, pnpm typecheck, Biome, and Prettier pass. Notes Base of a stack: #417 (deepnote run --cloud) and #419 (@deepnote/local-runner) build on this PR. Review/merge order: #418 → #417 → #419. Summary by CodeRabbit New Features Added type-aware input values for deepnote run --input. Supports text, slider, checkbox, date-range, single-select, and multi-select inputs. Rejects unknown input names and invalid value formats before execution. Preserves input overrides in generated runs and supports scoped notebook inputs. Documentation Updated CLI help and guides with accepted input formats and examples. Bug Fixes Improved handling of empty values, equals signs, and string-like numeric or boolean values.

Open Graph Description: Problem deepnote run --input count=7 previously JSON-parsed every CLI value, turning 7 into a number. Slider input blocks store "7" and generate the numeric Python assignment themselves, ...

X Description: Problem deepnote run --input count=7 previously JSON-parsed every CLI value, turning 7 into a number. Slider input blocks store "7" and generate the numeric Python assignment them...

Opengraph URL: https://github.com/deepnote/deepnote/pull/418

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files/:range(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d6f213f6-122a-ad74-07dd-00071cd5c7aa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BA6:292AD9:A7C967:DD8B2D:6AEDCF6A
html-safe-nonced140aa0390c273a7c44db0f3fce392d3cb0748db7161babb31555e287233db1d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkE2OjI5MkFEOTpBN0M5Njc6REQ4QjJEOjZBRURDRjZBIiwidmlzaXRvcl9pZCI6IjI4MjQ0MjI2MDY0ODE3NzIzOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc9de6466f812f5bedd6ea6e3d91fa85711ddf9480b3f630f97f92e5f32075240
hovercard-subject-tagpull_request:4031109535
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
twitter:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/15235276?s=400&v=4
og:image:altProblem deepnote run --input count=7 previously JSON-parsed every CLI value, turning 7 into a number. Slider input blocks store "7" and generate the numeric Python assignment themselves, ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef60373873bb1ef795e8511ea1f2a76997e9c649d72b02942aedf2def3423a0ce
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/deepnote/deepnote git https://github.com/deepnote/deepnote.git
octolytics-dimension-user_id45339858
octolytics-dimension-user_logindeepnote
octolytics-dimension-repository_id1066509034
octolytics-dimension-repository_nwodeepnote/deepnote
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1066509034
octolytics-dimension-repository_network_root_nwodeepnote/deepnote
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0f55cfa61438c7dc93d1024a1e5e5182b36830e2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F418%2Ffiles%2F25d38497656bafb0b97817a6e562801011017cf6
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F418%2Ffiles%2F25d38497656bafb0b97817a6e562801011017cf6
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=deepnote%2Fdeepnote
Reloadhttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
Reloadhttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
Reloadhttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
deepnotehttps://github.com/deepnote
deepnotehttps://github.com/deepnote/deepnote
Codehttps://github.com/deepnote/deepnote
Issues14 (14)https://github.com/deepnote/deepnote/issues
Pull requests24 (24)https://github.com/deepnote/deepnote/pulls
Discussionshttps://github.com/deepnote/deepnote/discussions
Actionshttps://github.com/deepnote/deepnote/actions
Security and qualityhttps://github.com/deepnote/deepnote/security
Insightshttps://github.com/deepnote/deepnote/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdeepnote%2Fdeepnote%2Fissues%2Fnew%2Fchoose
dinohamzichttps://github.com/dinohamzic
mainhttps://github.com/deepnote/deepnote/tree/main
fix/input-coercion-snapshothttps://github.com/deepnote/deepnote/tree/fix/input-coercion-snapshot
Conversation 4 https://github.com/deepnote/deepnote/pull/418
Commits 6 https://github.com/deepnote/deepnote/pull/418/commits
Checks 20 https://github.com/deepnote/deepnote/pull/418/checks
Files changed https://github.com/deepnote/deepnote/pull/418/files
Please reload this pagehttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
fix(cli): apply input overrides through input blocks https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#top
Show all changes 6 commits https://github.com/deepnote/deepnote/pull/418/files
ae895f2 fix(cli): coerce input overrides to schema shape so snapshots serialize jamesbhobbs Jul 10, 2026 https://github.com/deepnote/deepnote/pull/418/commits/ae895f219fa65240e5ffbde3f05a22b13ad58e50
bdc3ecb fix(cli): align input overrides with block schemas dinohamzic Jul 13, 2026 https://github.com/deepnote/deepnote/pull/418/commits/bdc3ecb594779c895a12292df7d66be77eec4017
25d3849 refactor: simplify dinohamzic Jul 13, 2026 https://github.com/deepnote/deepnote/pull/418/commits/25d38497656bafb0b97817a6e562801011017cf6
6f7bb5f refactor: simplify dinohamzic Jul 13, 2026 https://github.com/deepnote/deepnote/pull/418/commits/6f7bb5f1121c7700db5230c2878898205d8044bc
617f358 refactor: simplify dinohamzic Jul 13, 2026 https://github.com/deepnote/deepnote/pull/418/commits/617f35830ab55562c850796578c65f8c0666151e
4219a04 refactor: remove references to outdated implementation dinohamzic Jul 13, 2026 https://github.com/deepnote/deepnote/pull/418/commits/4219a04974d0df25f931cbb24f48dc2a9f7b5e59
Clear filters https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
Please reload this pagehttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
Please reload this pagehttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
input-blocks.test.ts https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-f4a8a25dfe5c693d72717fade8d2d4ad8c609daac75ec89ca569ac0a7ad52a30
input-blocks.ts https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-1b6ee8fed5e5c5b6a639a6f96cb5e96428a7a9792ce470a1fadd743cc212debe
index.ts https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-4ff684ecca471cb01525c1dad8f170df4fa303d7ef842c52d6b21eb467d74688
README.md https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-15986190ef9581ab59bcd5483b2c09e7fd0bd439d6f6cddbc94b0b1de094ee51
cli.ts https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-7a02f7d6513a60a87cae3086768db219f1908f2594dc77cd1a13a0107cbb24e3
run.test.ts https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-230f6aaa853030f701f82028ebd0815847e138377fb2aa3b9ca5f24e39a1b19d
run.ts https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-5c08ad8f28c154fbb0d4328601c767bdffc4dcdf207b9e1ffcc72c73902e64b6
execution-engine.test.ts https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-0b627d37726333e896c042864adff1322f8bb6d41faa228b1a5f357d1ce805c0
execution-engine.ts https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-a98a106038f750a12d33bc3ad1423bcbe1a622f45ebff6a7655e10ed0b4489ed
cli-run.md https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-e8ab7c37c6af71ee31cb469e1f122f928fb434c0e7e4e30f43f8a389daf4fbc6
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/blocks/src/blocks/input-blocks.test.tshttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-f4a8a25dfe5c693d72717fade8d2d4ad8c609daac75ec89ca569ac0a7ad52a30
View file https://github.com/deepnote/deepnote/blob/25d38497656bafb0b97817a6e562801011017cf6/packages/blocks/src/blocks/input-blocks.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/418/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-f4a8a25dfe5c693d72717fade8d2d4ad8c609daac75ec89ca569ac0a7ad52a30
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-f4a8a25dfe5c693d72717fade8d2d4ad8c609daac75ec89ca569ac0a7ad52a30
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-f4a8a25dfe5c693d72717fade8d2d4ad8c609daac75ec89ca569ac0a7ad52a30
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/blocks/src/blocks/input-blocks.tshttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-1b6ee8fed5e5c5b6a639a6f96cb5e96428a7a9792ce470a1fadd743cc212debe
View file https://github.com/deepnote/deepnote/blob/25d38497656bafb0b97817a6e562801011017cf6/packages/blocks/src/blocks/input-blocks.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/418/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-1b6ee8fed5e5c5b6a639a6f96cb5e96428a7a9792ce470a1fadd743cc212debe
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-1b6ee8fed5e5c5b6a639a6f96cb5e96428a7a9792ce470a1fadd743cc212debe
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-1b6ee8fed5e5c5b6a639a6f96cb5e96428a7a9792ce470a1fadd743cc212debe
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/blocks/src/index.tshttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-4ff684ecca471cb01525c1dad8f170df4fa303d7ef842c52d6b21eb467d74688
View file https://github.com/deepnote/deepnote/blob/25d38497656bafb0b97817a6e562801011017cf6/packages/blocks/src/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/418/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-4ff684ecca471cb01525c1dad8f170df4fa303d7ef842c52d6b21eb467d74688
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-4ff684ecca471cb01525c1dad8f170df4fa303d7ef842c52d6b21eb467d74688
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-4ff684ecca471cb01525c1dad8f170df4fa303d7ef842c52d6b21eb467d74688
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/cli/README.mdhttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-15986190ef9581ab59bcd5483b2c09e7fd0bd439d6f6cddbc94b0b1de094ee51
View file https://github.com/deepnote/deepnote/blob/25d38497656bafb0b97817a6e562801011017cf6/packages/cli/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/418/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-15986190ef9581ab59bcd5483b2c09e7fd0bd439d6f6cddbc94b0b1de094ee51
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-15986190ef9581ab59bcd5483b2c09e7fd0bd439d6f6cddbc94b0b1de094ee51
https://github.com/deepnote/deepnote/blob/main/.github/CODEOWNERS#L2
packages/cli/src/cli.tshttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-7a02f7d6513a60a87cae3086768db219f1908f2594dc77cd1a13a0107cbb24e3
View file https://github.com/deepnote/deepnote/blob/25d38497656bafb0b97817a6e562801011017cf6/packages/cli/src/cli.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/418/files/{{ revealButtonHref }}
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-7a02f7d6513a60a87cae3086768db219f1908f2594dc77cd1a13a0107cbb24e3
https://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6#diff-7a02f7d6513a60a87cae3086768db219f1908f2594dc77cd1a13a0107cbb24e3
Please reload this pagehttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
Please reload this pagehttps://github.com/deepnote/deepnote/pull/418/files/25d38497656bafb0b97817a6e562801011017cf6
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.