mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-06 22:02:37 +02:00
Fixed a circular dependency causing bootstrap to fail (#863)
TemplateSeed and WorkspaceInit now run pre-gate. They'll write templates and register the default workspace before the gate checks flow-svc, breaking the circular dependency.
This commit is contained in:
parent
9f2bfbce0c
commit
01bf1d89d5
2 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,8 @@ TEMPLATE_WORKSPACE = "__template__"
|
|||
|
||||
class TemplateSeed(Initialiser):
|
||||
|
||||
wait_for_services = False
|
||||
|
||||
def __init__(self, config_file, overwrite=False, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
if not config_file:
|
||||
|
|
|
|||
|
|
@ -33,6 +33,8 @@ TEMPLATE_WORKSPACE = "__template__"
|
|||
|
||||
class WorkspaceInit(Initialiser):
|
||||
|
||||
wait_for_services = False
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
workspace="default",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue