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: tinybirdco/tinybird-sdk-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: feat/default-expr-datasource
Choose a base ref
...
head repository: tinybirdco/tinybird-sdk-python
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.
  • 19 commits
  • 14 files changed
  • 3 contributors

Commits on Mar 10, 2026

  1. Merge pull request #9 from tinybirdco/feat/default-expr-datasource

    Support SQL default expressions in Python datasource schema
    rmorehig authored Mar 10, 2026
    Configuration menu
    Copy the full SHA
    8aa948c View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2026

  1. Configuration menu
    Copy the full SHA
    a6fa6f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0042818 View commit details
    Browse the repository at this point in the history
  3. Set package version to 0.1.3

    rmorehig committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    dbfbc1f View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. Support multiline directives in connection file parser

    Add support for the `>` block syntax in the connection parser,
    enabling multiline values like KAFKA_SSL_CA_PEM with PEM certificates.
    
    - Switch connection parser from for-each to index-based while loop
    - Use read_directive_block() for KAFKA_SSL_CA_PEM > blocks
    - Update generator to emit block syntax for multiline values
    - Add tests for multiline parsing and generation
    
    Closes #10
    
    Amp-Thread-ID: https://ampcode.com/threads/T-019d1a2d-e5a7-77fb-b97e-e855f84a34a4
    Co-authored-by: Amp <amp@ampcode.com>
    gnzjgo and ampcode-com committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    7cd1aac View commit details
    Browse the repository at this point in the history
  2. Bump version to 0.1.4

    Amp-Thread-ID: https://ampcode.com/threads/T-019d1a2d-e5a7-77fb-b97e-e855f84a34a4
    Co-authored-by: Amp <amp@ampcode.com>
    gnzjgo and ampcode-com committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    4071e9f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f02f619 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #11 from tinybirdco/support-multiline-connection-d…

    …irectives
    
    Support multiline directives in connection file parser
    rmorehig authored Mar 23, 2026
    Configuration menu
    Copy the full SHA
    b6a0046 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2026

  1. Wire up SDK-owned init command with --folder support

    Instead of delegating 'tinybird init' to the tinybird CLI (which only
    creates config/CI files), the SDK now handles it directly and scaffolds
    Python template files (datasources.py, pipes.py, client.py).
    
    - Add 'init' to SDK-owned commands in CLI dispatcher
    - Support --folder to customize where templates are created
    - Support --force, --skip-login, --dev-mode flags
    - Bump version to 0.1.5
    
    Amp-Thread-ID: https://ampcode.com/threads/T-019d1a2d-e5a7-77fb-b97e-e855f84a34a4
    Co-authored-by: Amp <amp@ampcode.com>
    gnzjgo and ampcode-com committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    60ce63e View commit details
    Browse the repository at this point in the history
  2. Delegate to tinybird CLI first, then create tinybird_resources.py

    - Run tinybird CLI init for the full interactive flow (dev mode,
      CI/CD templates, skills install, login)
    - Then create a single tinybird_resources.py template with datasources,
      endpoints, and client all in one file
    - Update tinybird.config.json include list with the resources file
    - Update workflow test to mock the CLI delegation
    
    Amp-Thread-ID: https://ampcode.com/threads/T-019d1a2d-e5a7-77fb-b97e-e855f84a34a4
    Co-authored-by: Amp <amp@ampcode.com>
    gnzjgo and ampcode-com committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    1f02601 View commit details
    Browse the repository at this point in the history
  3. Add client.py and main.py templates to init scaffolding

    - Split tinybird_resources.py (definitions only) from client.py (Tinybird client)
    - Generate main.py with dotenv loading, ingest, and query examples
    - Import paths computed dynamically from --folder argument
    - Existing files are not overwritten unless --force is used
    
    Amp-Thread-ID: https://ampcode.com/threads/T-019d1a2d-e5a7-77fb-b97e-e855f84a34a4
    Co-authored-by: Amp <amp@ampcode.com>
    gnzjgo and ampcode-com committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    45cfb6e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    475fd8b View commit details
    Browse the repository at this point in the history
  5. Read folder from tinybird.config.json when user picks it interactively

    When the user doesn't pass --folder but types a folder name in the
    tinybird CLI interactive prompt, read the include path from the
    generated tinybird.config.json to place SDK files in the right folder.
    
    Amp-Thread-ID: https://ampcode.com/threads/T-019d1a2d-e5a7-77fb-b97e-e855f84a34a4
    Co-authored-by: Amp <amp@ampcode.com>
    gnzjgo and ampcode-com committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    3cf6cf5 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2026

  1. add publish workflow

    rmorehig committed Mar 26, 2026
    Configuration menu
    Copy the full SHA
    db2e268 View commit details
    Browse the repository at this point in the history
  2. Pin tinybird to 4.3.1

    rmorehig committed Mar 26, 2026
    Configuration menu
    Copy the full SHA
    6f07828 View commit details
    Browse the repository at this point in the history
  3. Bump version to 0.1.5

    rmorehig committed Mar 26, 2026
    Configuration menu
    Copy the full SHA
    3937c93 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0232b4e View commit details
    Browse the repository at this point in the history
  5. Bump version to 0.1.6

    rmorehig committed Mar 26, 2026
    Configuration menu
    Copy the full SHA
    1a07fc1 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #12 from tinybirdco/wire-sdk-init-command

    Wire up SDK-owned init command with --folder support
    rmorehig authored Mar 26, 2026
    Configuration menu
    Copy the full SHA
    ede2035 View commit details
    Browse the repository at this point in the history
Loading