This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sqlparse | |
import duckdb | |
from duckdb import DuckDBPyConnection as DuckConn | |
from fastapi import FastAPI | |
from datetime import datetime | |
from typing import List, Any, Tuple | |
app = FastAPI() | |
conn = duckdb.connect(database=':memory:', read_only=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Package p contains an HTTP Cloud Function. | |
package p | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"strings" | |
"net/url" |