summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
0090883)
Framework name fixed in documentation part
Change-Id: I1bd5e4f41c82db41327124e2b5b60473ccdbdc3f
@staticmethod
def embed_data(data, code=0, desc=""):
"""
@staticmethod
def embed_data(data, code=0, desc=""):
"""
- Embeds the data into the NCIR Restfulframework preferred format.
+ Embeds the data into the YARF preferred format.
:param data: The data to encapsulate, it should be a dictionary
:param code: The error code, it should be 0 on success. (Default: 0)
:param desc: The description of the error, if no error happened it can be an empty string.
:param data: The data to encapsulate, it should be a dictionary
:param code: The error code, it should be 0 on success. (Default: 0)
:param desc: The description of the error, if no error happened it can be an empty string.