def _upload_assets_to_OSF(dlgr_id, osf_id, provider="<STR_LIT>"):
root = "<STR_LIT>"<EOL>snapshot_filename = "<STR_LIT>".format(dlgr_id)<EOL>snapshot_path = os.path.join("<STR_LIT>", snapshot_filename)<EOL>r = requests.put(<EOL>"<STR_LIT>".format(root, osf_id, provider),<EOL>params={"<STR_LIT>": "<STR_LIT:file>", "<STR_LIT:name>": snapshot_filename},<EOL>headers={<EOL>"<STR_LIT>": "<STR_LIT>".format(config.get("<STR_LIT>")),<EOL>"<STR_LIT:Content-Type>": "<STR_LIT>",<EOL>},<EOL>data=open(snapshot_path, "<STR_LIT:rb>"),<EOL>)<EOL>r.raise_for_status()<EOL>
Upload experimental assets to the OSF.