MCPcopy Index your code
hub / github.com/dbcli/pgcli / format_details

Method format_details

pgcli/pyev.py:177–189  ·  view source on GitHub ↗
(self, plan)

Source from the content-addressed store, hash-verified

175 # }
176 #
177 def format_details(self, plan):
178 details = []
179
180 if plan.get("Scan Direction"):
181 details.append(plan["Scan Direction"])
182
183 if plan.get("Strategy"):
184 details.append(plan["Strategy"])
185
186 if len(details) > 0:
187 return self.muted_format(" [%s]" % ", ".join(details))
188
189 return ""
190
191 def format_tags(self, plan):
192 tags = []

Callers 1

create_linesMethod · 0.95

Calls 1

muted_formatMethod · 0.95

Tested by

no test coverage detected