cgl.plugins.preflight package

Submodules

cgl.plugins.preflight.launch module

cgl.plugins.preflight.launch.launch_(parent, path_object, software='alchemy')[source]

cgl.plugins.preflight.main module

class cgl.plugins.preflight.main.ItemTable(parent)[source]

Bases: LJTableWidget

item_selected
mouseReleaseEvent(self, event: PySide6.QtGui.QMouseEvent) None[source]
nothing_selected
row_selected()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("ItemTable" inherits "LJTableWidget": Methods:   #111 type=Signal, signature=item_selected(PyObject), parameters=PyObject   #112 type=Signal, signature=nothing_selected() )
class cgl.plugins.preflight.main.Preflight(parent=None, software='alchemy', preflight='', model=None, path_object=None, current_selection=None, auto_show=False, pf_type='publish', force_top_level=False, use_threads=True, extra_shared_data=None, manifest_path=None, **kwargs)[source]

Bases: QDialog

begin_checks(checks)[source]
check_complete(class_, index)[source]
check_request(index)[source]
check_submit
clean_module(module)[source]

cleans up the module string for loading if it has “import” and other information :param module:

Returns:

closeEvent(self, arg__1: PySide6.QtGui.QCloseEvent) None[source]
close_threads()[source]
end_checks()[source]
get_checks_from_selection()[source]

Always compute selected rows directly from the current model. Avoids stale selections after model refresh.

populate_table()[source]
previous_checks_passed(check)[source]
restore_incomplete_preflight()[source]

Restores the last incomplete preflight (where any step != ‘Passed’). Pre-fills the table and selects failed/incomplete checks for rerun.

run_all_clicked()[source]
run_selected_clicked(checks=None)[source]
staticMetaObject = PySide6.QtCore.QMetaObject("Preflight" inherits "QDialog": Methods:   #42 type=Signal, signature=check_submit(PyObject,PyObject), parameters=PyObject, PyObject   #43 type=Slot, signature=check_complete(PyObject,PyObject), parameters=PyObject, PyObject )
update_event_step(status, check)[source]
update_progress(value, max_value)[source]
update_selection(data)[source]
update_status(check, status)[source]
class cgl.plugins.preflight.main.PreflightExecutor(parent=None)[source]

Bases: QObject

complete
run(class_, index)[source]
staticMetaObject = PySide6.QtCore.QMetaObject("PreflightExecutor" inherits "QObject": Methods:   #5 type=Signal, signature=complete(PyObject,PyObject), parameters=PyObject, PyObject   #6 type=Slot, signature=run(PyObject,PyObject), parameters=PyObject, PyObject )
class cgl.plugins.preflight.main.PreflightModel(data_list, header_titles=None, data_filter=False)[source]

Bases: QAbstractTableModel

columnCount(self, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = Invalid(PySide6.QtCore.QModelIndex)) int[source]
data(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, role: int = Instance(Qt.DisplayRole)) Any[source]
headerData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, role: int = Instance(Qt.DisplayRole)) Any[source]
rowCount(self, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = Invalid(PySide6.QtCore.QModelIndex)) int[source]
staticMetaObject = PySide6.QtCore.QMetaObject("PreflightModel" inherits "QAbstractTableModel": )
cgl.plugins.preflight.main.main(path_object)[source]
cgl.plugins.preflight.main.try_run_class(class_, msd=None, check_name=None, recipe_type=None)[source]

cgl.plugins.preflight.preflight_check module

class cgl.plugins.preflight.preflight_check.PreflightCheck(parent=None)[source]

Bases: object

fail_check(feedback)[source]
static final_check()[source]
getName()[source]
init()[source]
property manifest

Lazy-load manifest when first accessed.

property manifest_path
pass_check(feedback)[source]
run()[source]
save_manifest()[source]

Validate and write manifest back to disk, then reload it fresh.

shared_data = {}
class cgl.plugins.preflight.preflight_check.PreflightCheckThreadSafe(parent=None)[source]

Bases: PreflightCheck

Module contents