Skip to content

Instantly share code, notes, and snippets.

Barış Yeşilçiçek frbry

Block or report user

Report or block frbry

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@frbry
frbry / random_sleep.py
Created Jun 30, 2014
A Simple Decorator for Simulating Delays in Method Calls
View random_sleep.py
from functools import wraps
from random import randint
# Example Usage:
#
# @random_sleep
# def get_users(request):
# return database.users()
#
You can’t perform that action at this time.