cgl.plugins.preflight package¶
Submodules¶
cgl.plugins.preflight.launch module¶
cgl.plugins.preflight.main module¶
- class cgl.plugins.preflight.main.ItemTable(parent)[source]¶
Bases:
LJTableWidget- item_selected¶
- nothing_selected¶
- 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- check_submit¶
- clean_module(module)[source]¶
cleans up the module string for loading if it has “import” and other information :param module:
Returns:
- get_checks_from_selection()[source]¶
Always compute selected rows directly from the current model. Avoids stale selections after model refresh.
- restore_incomplete_preflight()[source]¶
Restores the last incomplete preflight (where any step != ‘Passed’). Pre-fills the table and selects failed/incomplete checks for rerun.
- 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 )¶
- class cgl.plugins.preflight.main.PreflightExecutor(parent=None)[source]¶
Bases:
QObject- complete¶
- 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.preflight_check module¶
- class cgl.plugins.preflight.preflight_check.PreflightCheck(parent=None)[source]¶
Bases:
object- property manifest¶
Lazy-load manifest when first accessed.
- property manifest_path¶
- class cgl.plugins.preflight.preflight_check.PreflightCheckThreadSafe(parent=None)[source]¶
Bases:
PreflightCheck