code: def from_frame(klass, frame, connection):
          
          event = frame.headers['new']
          data = json.loads(frame.body)
          info = data['info']
          build = Build.fromDict(info)
          build.connection = connection
          return klass(build, event)
docs: Create a new BuildStateChange event from a Stompest Frame.