Read and follow AGENTS.md for all beads workflows, especially the "Landing the Plane" section.
Python CLI application built with Click.
Read and follow AGENTS.md for all beads workflows, especially the "Landing the Plane" section.
Python CLI application built with Click.
| gateways: | |
| duckdb: | |
| connection: | |
| type: duckdb | |
| database: db.db | |
| snowflake: | |
| connection: | |
| type: duckdb | |
| database: snowflake.db |
| gateways: | |
| tobiko_cloud: # this will use the config in tcloud.yaml for state_connection | |
| scheduler: # TODO: add the connection info below into the Tobiko Cloud Connections Page with the service account json in plain text for this scheduler | |
| type: cloud | |
| default_catalog: sqlmesh-public-demo | |
| connection: # This connection is used for automatic unit test generation and external model creation | |
| type: bigquery | |
| method: service-account-json | |
| concurrent_tasks: 5 | |
| register_comments: true |
| gateways: | |
| tobiko_cloud: # this will use the config in tcloud.yaml for state_connection | |
| scheduler: # TODO: add the connection info below into the Tobiko Cloud Connections Page with the service account json in plain text for this scheduler | |
| type: cloud | |
| default_catalog: sqlmesh-public-demo | |
| connection: # This connection is used for automatic unit test generation, external model creation, and table diffing | |
| type: bigquery | |
| method: service-account-json | |
| concurrent_tasks: 5 | |
| register_comments: true |
| name: Tobiko Cloud CI/CD Bot | |
| run-name: 🧃 Tobiko Cloud CI/CD Bot 🧃 | |
| on: | |
| pull_request: | |
| types: | |
| - synchronize | |
| - opened | |
| # Required if using comments to issue commands to the bot | |
| issue_comment: |
| MODEL ( | |
| name tcloud_demo.example, | |
| cron '0 13 * * *', | |
| grain id, | |
| kind INCREMENTAL_BY_TIME_RANGE ( | |
| time_column created_at | |
| ) | |
| ); | |
| @DEF(nested_props, [ |
| """ | |
| Demo script to run a xdb data diff between Databricks and Snowflake with simple API calls | |
| """ | |
| import os | |
| import time | |
| from pydantic import BaseModel | |
| from typing import Any, List, Optional | |
| import requests | |
| from tabulate import tabulate |
| FROM quay.io/astronomer/astro-runtime:7.6.0 | |
| # Install python packages | |
| RUN pip install -r requirements.txt | |
| # Switch to root user for installing git | |
| USER root | |
| # Install git | |
| RUN apt-get update && apt-get install -y git |
| FROM quay.io/astronomer/astro-runtime:7.4.2 | |
| # Install apache-airflow-providers-google package | |
| RUN pip install apache-airflow-providers-google | |
| # Switch to root user for installing git | |
| USER root | |
| # Install git | |
| RUN apt-get update && apt-get install -y git |
| version: 2 | |
| models: | |
| - name: constraints_example | |
| config: | |
| constraints_enabled: true | |
| columns: | |
| - name: id | |
| column_type: integer | |
| description: I want to describe this one, but I don't want to list all the columns |