import girder_client gc = girder_client.GirderClient(apiUrl='http://localhost:8080/api/v1') folder_resp = gc.createFolder('myFolder', parentFolderId='parentFolderId')
import girder_client gc = girder_client.GirderClient(apiUrl='http://localhost:8080/api/v1') folder_resp = gc.createFolder('myFolder', parentFolderId='parentFolderId') folder_model = girder.models.folder.Folder() folder = folder_model.load(folder_resp['_id'], force=True)This code demonstrates how to load an existing Folder instance using the model provided by Girder. In this case, we use the `_id` attribute returned by the API call to find the new folder created in Code Example 1.