# Splitting callback definitions in multiple files

**URL:** https://community.plotly.com/t/splitting-callback-definitions-in-multiple-files/10583
**Category:** Dash Python
**Created:** [May 30, 2018, 9:30am UTC](https://community.plotly.com/t/splitting-callback-definitions-in-multiple-files/10583 "2018-05-30T09:30:44Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)
#### Post date: [July 31, 2018, 10:01pm UTC](https://community.plotly.com/t/splitting-callback-definitions-in-multiple-files/10583/5 "2018-07-31T22:01:02Z")

</div>

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

```auto
                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`

```

---

_[View the full topic](https://community.plotly.com/t/splitting-callback-definitions-in-multiple-files/10583)._
