def set_workspace_id(dxid):

    global WORKSPACE_ID
    WORKSPACE_ID = dxid
:param dxid: ID of a project or workspace
dataset/ETHPy150Open dnanexus/dx-toolkit/src/python/dxpy/__init__.py/set_workspace_id