Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/j/s/jsinclude-1.2.1/jsinclude/templatetags/pkg/VariableArgument.py   jsinclude(Download)
from .utils import escapeQuotes
from .ArgumentValue import ArgumentValue
 
def VariableArgument(key, context):
    """Template context variable as a dictionary.
 
    return {
        key: ArgumentValue(value)
    }
 

src/j/s/jsinclude-1.2.1/jsinclude/templatetags/pkg/StaticArgument.py   jsinclude(Download)
from .utils import escapeQuotes, stripQuotes
from .JSIError import JSIError
from .ArgumentValue import ArgumentValue
 
def StaticArgument(pair):
 
    return {
        key: ArgumentValue(value)
    }