MCPcopy Create free account
hub / github.com/apache/storm / trimmed_title

Method trimmed_title

dev-tools/github/__init__.py:48–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 return self.data["title"]
47
48 def trimmed_title(self):
49 limit = 40
50 title = self.data["title"]
51 return title if len(title) < limit else title[0:limit] + "..."
52
53 def number(self):
54 return self.data["number"]

Callers 1

_row_tupleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected