This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import osfclient | |
from osfclient.models.storage import Storage | |
import os | |
from pathlib import Path | |
from typing import Callable, Optional | |
def get_storage(username: str, password: str, project_id: str, storage_provider: str = 'osfstorage') -> Storage: | |
""" | |
project_id is the alpha-numeric sequence at the end of the project url on OSF, e.g., osf.io/ab123 has project id of ab123 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.