Browse Source

reminders

pull/150/head
chriskiehl 8 years ago
parent
commit
71f484ad10
2 changed files with 4 additions and 11 deletions
  1. 7
      gooey/gui/model.py
  2. 8
      gooey/python_bindings/gooey_decorator.py

7
gooey/gui/model.py

@ -5,13 +5,6 @@ from gooey.gui.lang.i18n import _
from gooey.gui.util.quoting import quote from gooey.gui.util.quoting import quote
# class ArgumentGroup(object):
# def __init__(self, name, data):
# self.name = name
# self.command = data['command']
# self.required_args = data['contents']
# self.optional_args = data['contents']
ArgumentGroup = namedtuple('ArgumentGroup', 'name command required_args optional_args') ArgumentGroup = namedtuple('ArgumentGroup', 'name command required_args optional_args')

8
gooey/python_bindings/gooey_decorator.py

@ -28,14 +28,14 @@ def Gooey(f=None,
optional_cols=2, optional_cols=2,
dump_build_config=False, dump_build_config=False,
load_build_config=None, load_build_config=None,
monospace_display=False,
monospace_display=False, # TODO: add this to the docs
image_dir='default', image_dir='default',
language_dir=get_resource_path('languages'), language_dir=get_resource_path('languages'),
progress_regex=None,
progress_expr=None,
progress_regex=None, # TODO: add this to the docs
progress_expr=None, # TODO: add this to the docs
disable_progress_bar_animation=False, disable_progress_bar_animation=False,
disable_stop_button=False, disable_stop_button=False,
group_by_type=True):
group_by_type=True): # TODO: add this to the docs
''' '''
Decorator for client code's main function. Decorator for client code's main function.
Serializes argparse data to JSON for use with the Gooey front end Serializes argparse data to JSON for use with the Gooey front end

Loading…
Cancel
Save