Пример #1
0
  def __init__(self, data=None, context=None):
    super(HuntResult, self).__init__()
    self.data = data

    self.client = client.ClientRef(
        client_id=utils.UrnStringToClientId(data.client_id), context=context)
    self.timestamp = data.timestamp
Пример #2
0
 def Client(self, client_id):
     return client.ClientRef(client_id=client_id, context=self.context)