コード例 #1
0
def test():
    try:
        return disclient.disclient(endpoint=endpoint,
                                   ak=ak,
                                   sk=sk,
                                   projectid=projectid,
                                   region=region)
    except Exception as ex:
        print(str(ex))
コード例 #2
0
def test():
    try:
        return disclient.disclient(endpoint=endpoint,
                                   ak=ak,
                                   sk=sk,
                                   projectid=projectid,
                                   region=region,
                                   bodySerializeType="protobuf")
    except Exception as ex:
        print(str(ex))