aliyun/log/logclient.py [4878:4889]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if not isinstance(topostore_name, str):
            raise TypeError("topostore_name type must be str")
        if not isinstance(relation, TopostoreRelation):
            raise TypeError("relation must be instance of TopostoreRelation ")
        params = {}
        relation.check_for_create()
        body = relation.to_dict()
        property = relation.get_property()
        if property:
            body['property'] = json.dumps(property)
        body_str = six.b(json.dumps(body))
        headers = {'x-log-bodyrawsize': str(len(body_str))}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aliyun/log/logclient.py [4934:4945]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if not isinstance(topostore_name, str):
            raise TypeError("topostore_name type must be str")
        if not isinstance(relation, TopostoreRelation):
            raise TypeError("relation must be instance of TopostoreRelation ")
        params = {}
        relation.check_for_create()
        body = relation.to_dict()
        property = relation.get_property()
        if property:
            body['property'] = json.dumps(property)
        body_str = six.b(json.dumps(body))
        headers = {'x-log-bodyrawsize': str(len(body_str))}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



