Method of a type return multiple different types

Hi, I am trying to create a method of a type that can return either string or integer. How should I define my method’s signature in the .c3typ file?

More specifically, below is my method definition, what should I put there to replace xxx so that this method can return either string or integer.

@py(env='filesystem')
deployModelToEdge: member function(role: !string, seq: !string, topic: !string): xxx

string | int
or
anyof(string, int)

You can also return the type any directly, though this is generally bad practice.