BaFileSystem
Last updated
Last updated
The BaFileSystem
class provides a pythonic file interface to the BOINC AI Hub based on .
BaFileSystem
is based on , so it is compatible with most of the APIs that it offers. For more details, check out and the fsspec’s .
( *args**kwargs )
Parameters
endpoint (str
, optional) — The endpoint to use. If not provided, the default one () is used.
token (str
, optional) — Authentication token, obtained with BaApi.login
method. Will default to the stored token.
Access a remote BOINC AI Hub repository as if were a local file system.
Usage:
Copied
__init__
( *argsendpoint: typing.Optional[str] = Nonetoken: typing.Optional[str] = None**storage_options )
resolve_path
( path: strrevision: typing.Optional[str] = None )
ls
( path: strdetail: bool = Truerefresh: bool = Falserevision: typing.Optional[str] = None**kwargs )
List the contents of a directory.