repo_splitter.gui package¶
Submodules¶
repo_splitter.gui.config module¶
repo_splitter.gui.loading module¶
-
class
repo_splitter.gui.loading.
Result
(success=None, value=None, exception=None)[source]¶ Bases:
object
-
__init__
(success=None, value=None, exception=None)¶ - Return type
None
-
property
empty
¶ - Return type
bool
-
exception
= None¶
-
success
= None¶
-
value
= None¶
-
property
was_successful
¶ - Return type
bool
-
-
repo_splitter.gui.loading.
run_put_result_in_queue
(func, gui_queue, *args, **kwargs)[source]¶ A worker thread that communicates with the GUI through a queue This thread can block for as long as it wants and the GUI will not be affected :type _sphinx_paramlinks_repo_splitter.gui.loading.run_put_result_in_queue.func:
Callable
:param _sphinx_paramlinks_repo_splitter.gui.loading.run_put_result_in_queue.func: Function to run :type _sphinx_paramlinks_repo_splitter.gui.loading.run_put_result_in_queue.gui_queue:Queue
:param _sphinx_paramlinks_repo_splitter.gui.loading.run_put_result_in_queue.gui_queue: (queue.Queue) Queue to communicate back to GUI that task is completed :return:
repo_splitter.gui.main module¶
-
exception
repo_splitter.gui.main.
MustProvideInputException
(*args, input_name=None, **kwargs)[source]¶ Bases:
Exception
-
exception
repo_splitter.gui.main.
MustProvideRepoException
(*args, input_name=None, **kwargs)[source]¶
-
class
repo_splitter.gui.main.
SelectRepoConfig
(new_repo_name, gh_token, repo_url=None, repo_local_path=None, all_branches=False, include_tags=False, remove_files_from_old_repo=True, create_new_repo=True, store_gh_token=True)[source]¶ Bases:
object
-
__init__
(new_repo_name, gh_token, repo_url=None, repo_local_path=None, all_branches=False, include_tags=False, remove_files_from_old_repo=True, create_new_repo=True, store_gh_token=True)¶ - Return type
None
-
all_branches
= False¶
-
create_new_repo
= True¶
-
remove_files_from_old_repo
= True¶
-
property
repo_loc
¶ - Return type
str
-
repo_local_path
= None¶
-
repo_url
= None¶
-
store_gh_token
= True¶
-
-
repo_splitter.gui.main.
repo_select_gui
(defaults=None)[source]¶ - Return type
Optional
[SelectRepoConfig
]