def update_entity(namespace, workspace, etype, ename, updates):
headers = _fiss_agent_header({"<STR_LIT>":  "<STR_LIT:application/json>"})<EOL>uri = "<STR_LIT>".format(fcconfig.root_url,<EOL>namespace, workspace, etype, ename)<EOL>return __SESSION.patch(uri, headers=headers, json=updates)<EOL>
Update entity attributes in a workspace.

    Args:
        namespace (str): project to which workspace belongs
        workspace (str): Workspace name
        etype     (str): Entity type
        ename     (str): Entity name
        updates   (list(dict)): List of updates to entity from _attr_set, e.g.

    Swagger:
        https://api.firecloud.org/#!/Entities/update_entity