MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _cloud_data

Method _cloud_data

tests/test_add_command.py:391–405  ·  view source on GitHub ↗
(self, doc_name="Cloud-Paper")

Source from the content-addressed store, hash-verified

389 return tmp_path
390
391 def _cloud_data(self, doc_name="Cloud-Paper"):
392 from openkb.indexer import CloudImportData
393
394 return CloudImportData(
395 doc_id="cloud-1",
396 doc_name=doc_name,
397 cloud_name="Cloud Paper.pdf",
398 description="desc",
399 tree={
400 "doc_name": "Cloud Paper.pdf",
401 "doc_description": "desc",
402 "structure": [],
403 },
404 all_pages=[{"page": 1, "content": "Cloud page", "images": []}],
405 )
406
407 def test_registers_rawless_cloud_entry(self, tmp_path):
408 import hashlib

Calls 1

CloudImportDataClass · 0.90

Tested by

no test coverage detected