MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / limit

Method limit

sdk-python/src/graphlite_sdk/query.py:88–94  ·  view source on GitHub ↗

Set the LIMIT value to the query Limits the number of results returned.

(self, n: int)

Source from the content-addressed store, hash-verified

86 return self
87
88 def limit(self, n: int) -> 'QueryBuilder':
89 '''
90 Set the LIMIT value to the query
91 Limits the number of results returned.
92 '''
93 self._limit = n
94 return self
95
96 def build(self) -> str:
97 '''

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected