Source code for acore_soap.gm.create_account
# -*- coding: utf-8 -*-
"""
Usage:
>>> import acore_soap.api as acore_soap
>>> request = acore_soap.gm.CreateAccountRequest(
... account="testacc",
... password="testpass",
... )
>>> soap_response = request.send()
>>> response = acore_soap.gm.CreateAccountResponse.from_soap_response(soap_response)
"""
import re
import dataclasses
from ..request import SOAPResponse
from ..exc import SOAPResponseParseError
from .base import GMCommandRequest, GMCommandResponse
[docs]@dataclasses.dataclass
class CreateAccountResponse(GMCommandResponse):
"""
Parse the response message of ``.account create ...`` command.
"""