Splitting callback definitions in multiple files

Yeah, suppress_callback_exceptions should be set. The full error message indicates this as well:

                Attempting to assign a callback to the application but
                the `layout` property has not been assigned.
                Assign the `layout` property before assigning callbacks.
                Alternatively, suppress this warning by setting
                `app.config['suppress_callback_exceptions']=True`