# How to compile custom actions.py to find syntax errors on docker compose

**URL:** <https://forum.rasa.com/t/how-to-compile-custom-actions-py-to-find-syntax-errors-on-docker-compose/42499>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [April 16, 2021, 5:48am UTC](https://forum.rasa.com/t/how-to-compile-custom-actions-py-to-find-syntax-errors-on-docker-compose/42499 "2021-04-16T05:48:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![poojavi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/poojavi/32/16129_2.png) [@poojavi](https://forum.rasa.com/u/poojavi)\
**Post date:** [April 16, 2021, 5:48am UTC](https://forum.rasa.com/t/how-to-compile-custom-actions-py-to-find-syntax-errors-on-docker-compose/42499/1 "2021-04-16T05:48:29Z")

</div>

Hi,

I am running rasa/rasa x on docket compose. After making changes in actions.py, I use to down and up docker compose. Before getting down and up docker compose, is there a way to check and found syntax error on actions.py. Any command for that?

Thanks
