# Path: native_tags/decorators.py
# def tag(bucket, doc):
#     def wrapped(inner, **options):


from native_tags.decorators import function, comparison, filter
from datetime import datetime

def dynamic(*a, **kw):
    return list(a) + sorted(kw.items())
dynamic = function(dynamic)

def no_render(*a, **kw):
     return list(a) + sorted(kw.items())
no_render = function(no_render, resolve=False)

def myfilter(value, arg):
    return value + arg
myfilter = filter(myfilter, test={'args':(1,1),'result':2})
    
def adder(x, y):
    return x + y
adder = function(adder, name='add', test={'args':(1,1),'result':2})
    
def cmp_kwargs(**kw):
    return len(kw)
cmp_kwargs = comparison(cmp_kwargs)

def myinc(noun):
    return 'unittest.html', {'noun': noun}
myinc = function(myinc, inclusion=True)

def ifsomething():
    return True

# Path: native_tags/decorators.py
# def tag(bucket, doc):
#     def wrapped(inner, **options):


# Path: example_project/app/templatetags/app_tags.py
from native_tags.decorators import function, comparison, filter
from datetime import datetime


def dynamic(*a, **kw):
    return list(a) + sorted(kw.items())
dynamic = function(dynamic)

def no_render(*a, **kw):
     return list(a) + sorted(kw.items())
no_render = function(no_render, resolve=False)

def myfilter(value, arg):
    return value + arg
myfilter = filter(myfilter, test={'args':(1,1),'result':2})
    
def adder(x, y):
    return x + y
adder = function(adder, name='add', test={'args':(1,1),'result':2})
    
def cmp_kwargs(**kw):
    return len(kw)
cmp_kwargs = comparison(cmp_kwargs)

def myinc(noun):
    return 'unittest.html', {'noun': noun}
myinc = function(myinc, inclusion=True)

def ifsomething():
    return True

ifsomething = comparison(ifsomething)