@@ -51,6 +51,8 @@ class Configuration:
5151 scheduled_refresh_contexts : Callable
5252 context_to_api_scopes : Callable
5353 repository_factory : Callable
54+ schema_version : Callable [[RequestContext ], str ]
55+ semantic_layer_sync : Callable
5456
5557 def __init__ (self ):
5658 self .schema_path = None
@@ -76,6 +78,8 @@ def __init__(self):
7678 self .scheduled_refresh_contexts = None
7779 self .context_to_api_scopes = None
7880 self .repository_factory = None
81+ self .schema_version = None
82+ self .semantic_layer_sync = None
7983
8084 def set_schema_path (self , schema_path : str ):
8185 self .schema_path = schema_path
@@ -140,5 +144,11 @@ def set_scheduled_refresh_contexts(self, scheduled_refresh_contexts: Callable):
140144 def set_repository_factory (self , repository_factory : Callable ):
141145 self .repository_factory = repository_factory
142146
147+ def set_schema_version (self , schema_version : Callable [[RequestContext ], str ]):
148+ self .schema_version = schema_version
149+
150+ def set_semantic_layer_sync (self , semantic_layer_sync : Callable ):
151+ self .semantic_layer_sync = semantic_layer_sync
152+
143153
144154settings = Configuration ()
0 commit comments