Skip to content

Allow to set branch mode in tinybird.config.json#15

Open
manumartinm wants to merge 6 commits into
mainfrom
manum/fwd-796-define-cloud-branch-creation-in-tinybird-config
Open

Allow to set branch mode in tinybird.config.json#15
manumartinm wants to merge 6 commits into
mainfrom
manum/fwd-796-define-cloud-branch-creation-in-tinybird-config

Conversation

@manumartinm

@manumartinm manumartinm commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

This MR releases tinybird-sdk-python version 0.1.11 and aligns the SDK with Tinybird CLI 4.6.1 branch-management behavior.

Changes

  • Bumped package version to 0.1.11.
  • Updated bundled CLI dependency to tinybird==4.6.1.
  • Updated CHANGELOG.md with release notes for 0.1.11.

Included CLI behavior updates (4.6.1)

  • branch_data_on_create is replaced by branch_data_mode; legacy key now raises an explicit migration error.
  • branch_data_mode now only accepts last_partition as user-facing value.
  • In dev_mode=local, branch data mode warnings are shown only when branch_data_mode is explicitly set in tinybird.config.json.
  • tinybird branch create and tinybird branch clear now show a deprecation warning (instead of failing) when --ignore-datasource is passed, then continue by ignoring the flag.

Why

To keep Python SDK users aligned with current CLI semantics and avoid failures in branch flows that now require warning-and-continue behavior.

@manumartinm manumartinm force-pushed the manum/fwd-796-define-cloud-branch-creation-in-tinybird-config branch from 20c06a0 to 75a1202 Compare June 9, 2026 09:35
@manumartinm manumartinm force-pushed the manum/fwd-796-define-cloud-branch-creation-in-tinybird-config branch from 4ad8aad to 59e138c Compare June 10, 2026 10:18
@juliavallina

juliavallina commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

MR title is not correct, right? can we add a MR description also?
And also, we should update docs/changelog/readme, right? how users are going to discover and use this new setting?

@manumartinm manumartinm changed the title Add tinybird.config.json support Allow to set branch mode in tinybird.config.json Jun 15, 2026
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.

2 participants