cgl.apps.cookbook package¶
Submodules¶
cgl.apps.cookbook.cookbook module¶
- class cgl.apps.cookbook.cookbook.Cookbook(company: str, parent=None)[source]¶
Bases:
QWidget- Main Cookbook widget:
header
left menu
steps panel (details)
footer
- MARGIN = 5¶
- set_repo_path()[source]¶
Set the footer’s repo path based on the current company selection in the header.
- staticMetaObject = PySide6.QtCore.QMetaObject("Cookbook" inherits "QWidget": )¶
- class cgl.apps.cookbook.cookbook.Keys[source]¶
Bases:
object- COMPANY = 'Context/company_short_name'¶
- PROJECT = 'Context/project_short_name'¶
- RECIPE = 'LeftMenu/lastRecipeLabel'¶
- SOFTWARE = 'LeftMenu/lastSoftware'¶
- TYPE = 'LeftMenu/lastRecipeType'¶
- cgl.apps.cookbook.cookbook.cookbook_override(source_file)[source]¶
Decorator that automatically looks for cookbook overrides
- cgl.apps.cookbook.cookbook.get_cookbook_function(source_file, function_name)[source]¶
Get a function from cookbook first, falling back to default implementation.
- Parameters:
module_path – Dot path to module (e.g., “cookbook.shotgrid.create”)
function_name – Name of function to import
fallback_module – Fallback module if cookbook doesn’t exist
- Returns:
Callable function