blob: f437212b3f50fa32121708de12dc50d9c44e5e3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# imports
import typing
# bsfs imports
from bsfs.graph import Graph
# inner-module imports
from . import builder
# exports
__all__: typing.Sequence[str] = (
'Open',
)
## code ##
# NOTE: Capitalized to mark entry point and to separate from builtin open.
def Open(cfg: typing.Any) -> Graph: # pylint: disable=invalid-name
"""Open a BSFS storage and return a `bsfs.graph.Graph` instance."""
return builder.build_graph(cfg)
## EOF ##
|