Is there a way to share text parameter

I know the risk,just want to know if text parameter can share without change source code like [models.parameterized_query.ParameterizedQuery.is_safe]