Split actions in multiple files

Is it possible to split actions.py in multiple files and then give a folder instead of a file just like the stories ? If not, does anyone have an idea to reduce the length of the file ?

If you only want to reduce the length, create python files and call them in the actions.py when you need.

I thought of this, not the best option but yes it would reduce the file.

@akelad @souvikg10 @Juste is there any way . help is appreciated :slight_smile:

I like the suggestion above, use basic object oriented programming. simply create another python file, name a class and inherit the method of that class in this file

or just create an actions module works too.

hi @naoko,

can you put up and example on how I can active this

thank you