# Path: turbo/flux.py
# def register(state):
#     def outwrapper(func):
#         def wrapper(*args, **kwargs):
#         def __init__(self, func):
#         def __call__(self, *args, **kwargs):
#     def __init__(self, file_attr):
#     def __get_func(self):
#     def register(self, func):
#     def __getattr__(self, name):
#     def __getattr__(self, name):
#     def __setattr__(self, name, value):
#     def __init__(self, file_attr):
#     def __setattr__(self, name, value):
#     def __getattr__(self, name):
#     def _name(self):
# def dispatch(name, type_name, *args, **kwargs):
# def register_dispatch(name, type_name):
#     def outwrapper(func):
#         def wrapper(*args, **kwargs):
# class CallFuncAsAttr(object):
#     class __CallObject(object):
# class ObjectDict(dict):
# class State(object):
# class Mutation(CallFuncAsAttr):


from util import unittest
from turbo.flux import Mutation, register, dispatch, register_dispatch, State, state
from __future__ import absolute_import, division, print_function, with_statement



mutation = Mutation('flux_test')


@register(mutation)
def increase_rank(rank):
    return rank + 1



# Path: turbo/flux.py
# def register(state):
#     def outwrapper(func):
#         def wrapper(*args, **kwargs):
#         def __init__(self, func):
#         def __call__(self, *args, **kwargs):
#     def __init__(self, file_attr):
#     def __get_func(self):
#     def register(self, func):
#     def __getattr__(self, name):
#     def __getattr__(self, name):
#     def __setattr__(self, name, value):
#     def __init__(self, file_attr):
#     def __setattr__(self, name, value):
#     def __getattr__(self, name):
#     def _name(self):
# def dispatch(name, type_name, *args, **kwargs):
# def register_dispatch(name, type_name):
#     def outwrapper(func):
#         def wrapper(*args, **kwargs):
# class CallFuncAsAttr(object):
#     class __CallObject(object):
# class ObjectDict(dict):
# class State(object):
# class Mutation(CallFuncAsAttr):


# Path: tests/flux_test.py
from util import unittest
from turbo.flux import Mutation, register, dispatch, register_dispatch, State, state

from __future__ import absolute_import, division, print_function, with_statement



mutation = Mutation('flux_test')


@register(mutation)
def increase_rank(rank):
    return rank + 1



@register(mutation)