Browse Source

@staticmethod to ServerMessage.fromJSON

pull/1/head
Coin de Gamma 6 years ago
parent
commit
a3f4aeff35
  1. 1
      analytics/analytics/services/server_service.py

1
analytics/analytics/services/server_service.py

@ -27,6 +27,7 @@ class ServerMessage:
result['requestId'] = self.request_id result['requestId'] = self.request_id
return result return result
@staticmethod
def fromJSON(json: dict): def fromJSON(json: dict):
method = json['method'] method = json['method']
payload = None payload = None

Loading…
Cancel
Save