Skip to content

Instantly share code, notes, and snippets.

@umutcoskun
Created December 10, 2017 20:47
Show Gist options
  • Save umutcoskun/6e6f12d79e3619829077f56abbbedbf4 to your computer and use it in GitHub Desktop.
Save umutcoskun/6e6f12d79e3619829077f56abbbedbf4 to your computer and use it in GitHub Desktop.
@benchmark
@sleep(3)
class User(object):
is_active = True
def __init__(self, name, permissions):
self.name = name
self.permissions = permissions
user = User('umutcoskun', ['can_view_dashboard'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment