sceneoverride

class guerilla.sceneoverride

Bases: guerilla.scene

A scene object that performs attribute overrides on its input scene

compile()

Compiles all overrides. This step is mandatory after all overrides have been set.

set(pathregex, overrides)

Associates a path regular expression to a dict of variables to override. Call compile after setting all overrides

Parameters:
  • pathregex (str) – the path regular expression to match
  • overrides (table) – the dict of attribute name to override value