Skip to content

Commit f93edd3

Browse files
authored
fix(cubejs-backend-native): support context_to_cube_store_router_id (#9200)
1 parent f28500b commit f93edd3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/cubejs-backend-native/python/cube/src/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class Configuration:
6262
logger: Callable
6363
context_to_app_id: Union[str, Callable[[RequestContext], str]]
6464
context_to_orchestrator_id: Union[str, Callable[[RequestContext], str]]
65+
context_to_cube_store_router_id: Union[str, Callable[[RequestContext], str]]
6566
driver_factory: Callable[[RequestContext], Dict]
6667
external_driver_factory: Callable[[RequestContext], Dict]
6768
db_type: Union[str, Callable[[RequestContext], str]]
@@ -108,6 +109,7 @@ def __init__(self):
108109
self.logger = None
109110
self.context_to_app_id = None
110111
self.context_to_orchestrator_id = None
112+
self.context_to_cube_store_router_id = None
111113
self.driver_factory = None
112114
self.external_driver_factory = None
113115
self.db_type = None

packages/cubejs-backend-native/src/python/cube_config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ impl CubeConfigPy {
5050
"context_to_api_scopes",
5151
"context_to_app_id",
5252
"context_to_orchestrator_id",
53+
"context_to_cube_store_router_id",
5354
"context_to_roles",
5455
"db_type",
5556
"driver_factory",

0 commit comments

Comments
 (0)