Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TaskingAI/TaskingAI
/ rest_capacity
Method
rest_capacity
backend/app/models/retrieval/collection.py:33–34 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
31
return
(self.capacity - self.num_chunks) >= capacity
32
33
def
rest_capacity(self):
34
return
self.capacity - self.num_chunks
35
36
@staticmethod
37
def
get_chunk_table_name(collection_id: str):
Callers
2
create
Method · 0.80
update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected