<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def process_result_value(self, value, dialect):
 """ SQLAlchemy uses this to convert a string into a SourceLocation object. We separate the fields by a | """

        if value is None:
            return None

        p = value.split("|")

        if len(p) == 0:
            return None
        return SourceLocation(*map(int, p))