code: def fromProfile(cls, profile):
          
          session = bones.SessionAPI.fromProfile(profile)
          return cls(session)
docs: Return an `Origin` from a given configuration profile.
  
          :see: `ProfileStore`.