- DEP: XXX
- Author: Tom Christie
- Implementation Team: Tom Christie
- Shepherd: Tim Graham
- Status: Draft
- Type: Enhancement
This file contains hidden or 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
* CORS | |
* Werkzeug Debugger | |
* Routing | |
* Whitenoise | |
* JWT? | |
* Cache? | |
* ->WSGI / ->ASGI | |
* Pub/Sub | |
* Multipart |
This file contains hidden or 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 asyncio | |
import time | |
import threading | |
import queue | |
async def foo(q): | |
i = 0 | |
while True: | |
q.put(i) |
This file contains hidden or 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
function formToData(form) { | |
const formData = new FormData(form.get()[0]) | |
var params = new Map() | |
var errors = [] | |
var inputElements = {} | |
// Initially iterate through all the inputs | |
form.find(':input').each(function(key, value) { | |
var elem = $(this) | |
var name = elem.attr('name') |
This file contains hidden or 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
class ProductPriceSerializer(serializers.Serializer): | |
title = serializers.CharField(source='product.title') | |
price = serializers.IntegerField() |
This file contains hidden or 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
class Duck(object): | |
def walk(self): | |
print('waddle') | |
def talk(self): | |
print('quack') | |
class Donald(object): | |
def walk(self): |
First you'll want to check if you need a visa to enter the UK.
- Nationals of the EU, Switzerland, and EEA countries will not need a visa, and are free to work and conduct business in the UK.
- Nationals from some designated countries such as USA may travel for tourist or business purposes under a visa exemption. The link above will detail what documents you need to provide in order to travel under a visa exemption.
- Other nationals will need a visa.
The rules for allowable business travel under a visa exemption are covered by the same rules as those travelling under a vistor visa. If you will be travelling under a visa-exemption and the conference is covering your costs in any way you should make sure to read the relevant section below.
This file contains hidden or 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
<form method="POST"> | |
{% csrf_token %} | |
{% bootstrap_form form %} | |
<button type="submit" class="btn btn-primary">Submit</button> | |
</form> |
This file contains hidden or 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
# http://www.data.parliament.uk/dataset/general-election-2015 | |
import tablib | |
coalition_parties = ('Lab', 'LD', 'Green') | |
factor = 1.0 | |
data = tablib.Dataset() | |
data.csv = open('../Desktop/hocl-ge2015-results-full.csv', 'r').read() |
- Schema & hypermedia support.
- Better API documentation options.
- Client libraries for range of languages.
- Mature authentication defaults.
- Faster time-to-production.
- Performance & monitoring.
- Debugging tools.
- Realtime API support & documentation.
- Highlighting & supporting third party packages.
- Beta release versions & reducing bus factor.