# ask-the-community

Sundeep K

02/27/2024, 1:13 AM
Hi Community, I am trying to create a custom task that overrides the execute method of the task. I see various options available for doing so. Shell task is using PythonInstanceTask, SQLLite3 is using PythonCustomizedContainerTask. Both of them seem to achieve similar goal. Which of these classes should extended for custom tasks: PythonInstanceTask, PythonTask, TrackedInstance, PythonCustomizedContainerTask. I see examples for all these in the plugins, any guidance on when to use these is much appreciated. TIA