mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-30 19:06:21 +02:00
Fix erroneous handling of __template__ and __system__ workspaces (#860)
__template__ and __system__ are not real workspace but config zones for workspace template and init handling. They should not be processed as workspaces. Now ignores workspace beginning with '_' prefix.
This commit is contained in:
parent
69b0b9b326
commit
89f058d35b
1 changed files with 4 additions and 0 deletions
|
|
@ -209,6 +209,8 @@ class AsyncProcessor:
|
|||
|
||||
# Call the handler once per workspace
|
||||
for ws, config in per_ws.items():
|
||||
if ws.startswith("_"):
|
||||
continue
|
||||
await entry["handler"](ws, config, version)
|
||||
|
||||
logger.info(
|
||||
|
|
@ -310,6 +312,8 @@ class AsyncProcessor:
|
|||
per_ws.setdefault(ws, {})[t] = kv
|
||||
|
||||
for ws, config in per_ws.items():
|
||||
if ws.startswith("_"):
|
||||
continue
|
||||
await entry["handler"](
|
||||
ws, config, notify_version,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue