{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "tags": [ "remove-cell" ] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Locating credentials..\n", "(1 of 2) Finding snowmobile.toml..\n", "(2 of 2) Cached path found at ../Snowmobile/snowmobile.toml\n", "..connected: snowmobile.Snowmobile(creds='creds1')\n" ] } ], "source": [ "# -- setup --\n", "\n", "# Connection\n", "import snowmobile\n", "sn = snowmobile.connect()\n", "\n", "# Find all code files\n", "from pathlib import Path\n", "\n", "snippets = Path.cwd().parent / 'snippets'\n", "scripts = {p.name: p for p in snippets.glob('**/*.sql')}" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "(sql)=\n", "# SQL\n", "
auto_run