I hereby claim:
- I am danielknell on github.
- I am danielknell (https://keybase.io/danielknell) on keybase.
- I have a public key whose fingerprint is 4527 8AA4 71CF ADED 0CBB 9055 C879 47BF CB16 4668
To claim this, I am signing this object:
| Ook. Ook. Ook. Ook! Ook! Ook? Ook! Ook. Ook. Ook! Ook? Ook! |
I hereby claim:
To claim this, I am signing this object:
| from flask import Flask, Response | |
| from werkzeug.exceptions import HTTPException, NotFound | |
| app = Flask('test') | |
| def handler(e): | |
| return Response('error') | |
| app.register_error_handler(HTTPException, handler) |
There is a problem with how SQLAlchemy stores Python Enum types when native enums are disabled and said Enum contains aliases.
class Country(enum.Enum):
GB = 'gb'
FR = 'fr'
UK = 'gb' # alias the GB item
foo = Table(
'foo',| import React from "react"; | |
| import { BrowserRouter as Router } from "react-router-dom"; | |
| import { Routes, Link, RouteDefinition } from "./router"; | |
| const Home: React.FC<{}> = () => { | |
| return ( | |
| <> | |
| <h1>Home</h1> | |
| <p><Link name="hello" params={{name: "World"}}>Hello World</Link></p> | |
| <p><Link name="hello" params={{name: "Bob"}}>Hello Bob</Link></p> |