mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-25 15:25:12 +02:00
Validate librarian collection (#453)
This commit is contained in:
parent
83f0c1e7f3
commit
6c681967ab
2 changed files with 5 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -70,8 +70,8 @@ some-containers:
|
||||||
-t ${CONTAINER_BASE}/trustgraph-base:${VERSION} .
|
-t ${CONTAINER_BASE}/trustgraph-base:${VERSION} .
|
||||||
${DOCKER} build -f containers/Containerfile.flow \
|
${DOCKER} build -f containers/Containerfile.flow \
|
||||||
-t ${CONTAINER_BASE}/trustgraph-flow:${VERSION} .
|
-t ${CONTAINER_BASE}/trustgraph-flow:${VERSION} .
|
||||||
${DOCKER} build -f containers/Containerfile.mcp \
|
# ${DOCKER} build -f containers/Containerfile.mcp \
|
||||||
-t ${CONTAINER_BASE}/trustgraph-mcp:${VERSION} .
|
# -t ${CONTAINER_BASE}/trustgraph-mcp:${VERSION} .
|
||||||
# ${DOCKER} build -f containers/Containerfile.vertexai \
|
# ${DOCKER} build -f containers/Containerfile.vertexai \
|
||||||
# -t ${CONTAINER_BASE}/trustgraph-vertexai:${VERSION} .
|
# -t ${CONTAINER_BASE}/trustgraph-vertexai:${VERSION} .
|
||||||
# ${DOCKER} build -f containers/Containerfile.bedrock \
|
# ${DOCKER} build -f containers/Containerfile.bedrock \
|
||||||
|
|
|
||||||
|
|
@ -176,6 +176,9 @@ class Librarian:
|
||||||
|
|
||||||
logger.debug("Adding processing metadata...")
|
logger.debug("Adding processing metadata...")
|
||||||
|
|
||||||
|
if not request.processing_metadata.collection:
|
||||||
|
raise RuntimeError("Collection parameter is required")
|
||||||
|
|
||||||
if await self.table_store.processing_exists(
|
if await self.table_store.processing_exists(
|
||||||
request.processing_metadata.user,
|
request.processing_metadata.user,
|
||||||
request.processing_metadata.id
|
request.processing_metadata.id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue