<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fromProfileName(cls, name):
 """Return an `Origin` from a given configuration profile name. :see: `ProfileStore`. """

        session = bones.SessionAPI.fromProfileName(name)
        return cls(session)