#include <EditorPythonRunnerRequestsBus.h>
Inherits AZ::EBusTraits.
|
virtual void | ExecuteByString (AZStd::string_view script, bool printResult) |
| executes a Python script using a string, prints the result if printResult is true and script is an expression
|
|
virtual bool | ExecuteByFilename (AZStd::string_view filename) |
| executes a Python script using a filename
|
|
virtual bool | ExecuteByFilenameWithArgs (AZStd::string_view filename, const AZStd::vector< AZStd::string_view > &args) |
| executes a Python script using a filename and args
|
|
virtual bool | ExecuteByFilenameAsTest (AZStd::string_view filename, AZStd::string_view testCase, const AZStd::vector< AZStd::string_view > &args) |
| executes a Python script as a test
|
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
|
Provides a bus to run Python scripts
The documentation for this class was generated from the following file:
- Code/Framework/AzToolsFramework/AzToolsFramework/API/EditorPythonRunnerRequestsBus.h