MCPcopy
hub / github.com/ormar-orm/ormar / include_entry_count

Method include_entry_count

ormar/models/excludable.py:360–367  ·  view source on GitHub ↗

Returns count of include items inside.

(self)

Source from the content-addressed store, hash-verified

358 return new_excludable
359
360 def include_entry_count(self) -> int:
361 """
362 Returns count of include items inside.
363 """
364 count = 0
365 for key in self.items.keys():
366 count += len(self.items[key].include)
367 return count
368
369 def flatten_map(self) -> Optional[FlattenMap]:
370 """

Callers 2

valuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected