MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / add

Method add

openlibrary/plugins/admin/graphs.py:33–36  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

31 self.series_list = []
32
33 def add(self, name):
34 s = Series(name)
35 self.series_list.append(s)
36 return s
37
38 def get_queryparams(self, **options):
39 """Returns query params to be passed to the image URL for rendering this graph."""

Callers

nothing calls this directly

Calls 1

SeriesClass · 0.70

Tested by

no test coverage detected