mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-01 11:26:22 +02:00
Validate librarian collection (#453)
This commit is contained in:
parent
83f0c1e7f3
commit
6c681967ab
2 changed files with 5 additions and 2 deletions
|
|
@ -176,6 +176,9 @@ class Librarian:
|
|||
|
||||
logger.debug("Adding processing metadata...")
|
||||
|
||||
if not request.processing_metadata.collection:
|
||||
raise RuntimeError("Collection parameter is required")
|
||||
|
||||
if await self.table_store.processing_exists(
|
||||
request.processing_metadata.user,
|
||||
request.processing_metadata.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue