MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / clear

Method clear

demo/client/prettytable/__init__.py:771–777  ·  view source on GitHub ↗

Delete all rows and field names from the table, maintaining nothing but styling options

(self)

Source from the content-addressed store, hash-verified

769 self._rows = []
770
771 def clear(self):
772
773 """Delete all rows and field names from the table, maintaining nothing but styling options"""
774
775 self._rows = []
776 self._field_names = []
777 self._widths = []
778
779 ##############################
780 # MISC PUBLIC METHODS #

Calls

no outgoing calls

Tested by 13

stress_serverMethod · 0.36
run_concurrentFunction · 0.36
stress_serverMethod · 0.36
test00_stressMethod · 0.36
test01_bgsave_stressMethod · 0.36