33
44import click
55
6- from sap import CachedCollection , Sap , giant , load
6+ from sap import Collection , Sap , giant , load
77
88logger = logging .getLogger (__name__ )
99
@@ -70,7 +70,7 @@ def export(ctx, sources, output):
7070 Creates a tree from a set of files and stores it in graphml format.
7171 """
7272 sapper = ctx .obj ["sapper" ]
73- graph = giant (CachedCollection (* sources ))
73+ graph = giant (Collection (* sources ))
7474 graph = sapper .tree (graph )
7575 graph .write (output , format = "graphml" )
7676
@@ -84,7 +84,7 @@ def describe(ctx, sources, output):
8484 Describe every graph in a given bibliography collection.
8585 """
8686 sapper = ctx .obj ["sapper" ]
87- for graph in load (CachedCollection (* sources )):
87+ for graph in load (Collection (* sources )):
8888 try :
8989 graph = sapper .tree (graph )
9090 click .echo (graph .summary () + "\n " )
@@ -150,7 +150,7 @@ def root(ctx, sources, output, _open):
150150
151151
152152def show (part , sapper , sources , output , _open ):
153- for graph in load (CachedCollection (* sources )):
153+ for graph in load (Collection (* sources )):
154154 tree = sapper .tree (graph )
155155 items = sorted (
156156 [
0 commit comments