Organize python code for execution on uipath

Everything works fine running it from the IDE, but the problem I see is in UiPath, when executing the Get Python Object activity

The variable I get when executing the Invoke Python Method activity is ObpyText of type PythonObject, I pass this variable as Input to the Get Python Object activity and I have TypeArgument = String and the output is named Result of type String