Skip to content

Instantly share code, notes, and snippets.

@brianz brianz/service.py
Last active Sep 15, 2016

Embed
What would you like to do?
from servant.service.base import Service
import actions
class CalculatorService(Service):
name = 'calculator_service'
version = 1
action_map = {
'add': actions.AddAction,
'subtract': actions.SubtractAction,
'divide': actions.DivideAction,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.