コード例 #1
0
ファイル: bake.py プロジェクト: warwickmm/openelections-core
def state_file_options(f):
    """Decorator for options for the state_file command"""
    decorator_stack = compose(*STATE_FILE_OPTIONS)
    return decorator_stack(f)
コード例 #2
0
ファイル: bake.py プロジェクト: warwickmm/openelections-core
def base_options(f):
    """Decorator for default options"""
    decorator_stack = compose(*BASE_OPTIONS)
    return decorator_stack(f)
コード例 #3
0
ファイル: bake.py プロジェクト: warwickmm/openelections-core
def election_file_options(f):
    """Decorator for options fo the election_file command"""
    decorator_stack = compose(*ELECTION_FILE_OPTIONS)
    return decorator_stack(f)
コード例 #4
0
def state_file_options(f):
    """Decorator for options for the state_file command"""
    decorator_stack = compose(*STATE_FILE_OPTIONS)
    return decorator_stack(f)
コード例 #5
0
def base_options(f):
    """Decorator for default options"""
    decorator_stack = compose(*BASE_OPTIONS)
    return decorator_stack(f)
コード例 #6
0
def election_file_options(f):
    """Decorator for options fo the election_file command"""
    decorator_stack = compose(*ELECTION_FILE_OPTIONS)
    return decorator_stack(f)