Skip to content

Instantly share code, notes, and snippets.

View KristinaB's full-sized avatar
🎯
Focusing

Kristina Canessa KristinaB

🎯
Focusing
View GitHub Profile
@KristinaB
KristinaB / prova.md
Last active September 23, 2015 21:11
prova markdown

ciaociao

ciaociao

Keybase proof

I hereby claim:

  • I am KristinaB on github.
  • I am kristinab (https://keybase.io/kristinab) on keybase.
  • I have a public key whose fingerprint is 4CFB 5A49 433E 7C8B 3FBA 775E DF5D 95AD 3CD8 D192

To claim this, I am signing this object:

from fastapi import FastAPI
from pydantic import BaseModel
from typing import Optional
from sqlalchemy import create_engine, Boolean, Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import scoped_session, sessionmaker
engine = create_engine('sqlite:///:memory:')
db_session = scoped_session(sessionmaker(autocommit=False, autoflush=False, bind=engine))
Base = declarative_base()