dara-core 1.21.9__py3-none-any.whl → 1.21.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69440,12 +69440,22 @@ Inferred class string: "${iconClasses}."`
69440
69440
  const STORE_EXTRAS_MAP$1 = /* @__PURE__ */ new Map();
69441
69441
  function serverSyncEffect(variable, requestExtras) {
69442
69442
  STORE_EXTRAS_MAP$1.set(variable.uid, requestExtras);
69443
- return RecoilSync_index_2({
69443
+ const eff = RecoilSync_index_2({
69444
69444
  /** Use store uid as the unique identifier */
69445
69445
  itemKey: variable.uid,
69446
69446
  refine: Refine_index_6(),
69447
69447
  storeKey: "ServerVariable"
69448
69448
  });
69449
+ return (params) => {
69450
+ const updatedParams = params.parentStoreID_UNSTABLE ? {
69451
+ ...params,
69452
+ storeID: params.parentStoreID_UNSTABLE
69453
+ } : params;
69454
+ const cleanup = eff(updatedParams);
69455
+ return () => {
69456
+ cleanup?.();
69457
+ };
69458
+ };
69449
69459
  }
69450
69460
  const STATE_SYNCHRONIZER = new StateSynchronizer();
69451
69461
  function getOrRegisterServerVariable(variable, extras) {
@@ -98698,6 +98708,7 @@ body,
98698
98708
  exports.ImportersCtx = importersCtx;
98699
98709
  exports.Link = Link;
98700
98710
  exports.LoaderError = LoaderError;
98711
+ exports.LockSecuredCache = SingleUseCache;
98701
98712
  exports.Menu = Menu;
98702
98713
  exports.MenuLink = MenuLink;
98703
98714
  exports.Navigate = Navigate;
@@ -98713,6 +98724,9 @@ body,
98713
98724
  exports.RequestExtrasCtx = requestExtrasCtx;
98714
98725
  exports.RequestExtrasProvider = RequestExtrasProvider;
98715
98726
  exports.ResetVariables = ResetVariables;
98727
+ exports.RouteContentDisplay = RouteContent;
98728
+ exports.RouterContextProvider = RouterContextProvider;
98729
+ exports.RouterRoot = RouterRoot;
98716
98730
  exports.RowFallback = RowFallback;
98717
98731
  exports.ServerVariableSyncProvider = ServerVariableSyncProvider;
98718
98732
  exports.SideBarFrame = SideBarFrame;
@@ -98734,14 +98748,19 @@ body,
98734
98748
  exports.clearCaches_TEST = clearCaches_TEST;
98735
98749
  exports.clearRegistries_TEST = clearRegistries_TEST;
98736
98750
  exports.combineFilters = combineFilters;
98751
+ exports.createRouteLoader = createRouteLoader;
98752
+ exports.createRouter = createRouter;
98737
98753
  exports.default = run;
98738
98754
  exports.deferred = deferred;
98739
98755
  exports.depsRegistry = depsRegistry;
98740
98756
  exports.fetchDerivedVariable = fetchDerivedVariable;
98757
+ exports.fetchRouteData = fetchRouteData;
98741
98758
  exports.fetchTabularServerVariable = fetchTabularServerVariable;
98742
98759
  exports.fetchTaskResult = fetchTaskResult;
98760
+ exports.findFirstPath = findFirstPath;
98743
98761
  exports.getComponentRegistryKey = getComponentRegistryKey;
98744
98762
  exports.getDeps = getDeps;
98763
+ exports.getFromPreloadCache = getFromPreloadCache;
98745
98764
  exports.getIcon = getIcon;
98746
98765
  exports.getOrRegisterDerivedVariable = getOrRegisterDerivedVariable;
98747
98766
  exports.getOrRegisterDerivedVariableResult = getOrRegisterDerivedVariableResult;
@@ -98810,11 +98829,13 @@ body,
98810
98829
  exports.useFetchTabularDerivedVariable = useFetchTabularDerivedVariable;
98811
98830
  exports.useFetchTabularServerVariable = useFetchTabularServerVariable;
98812
98831
  exports.useInterval = useInterval;
98832
+ exports.usePreloadRoute = usePreloadRoute;
98813
98833
  exports.usePrevious = usePrevious$1;
98814
98834
  exports.useRefreshSelector = useRefreshSelector;
98815
98835
  exports.useRefreshServerComponent = useRefreshServerComponent;
98816
98836
  exports.useRegistriesCtx = useRegistriesCtx;
98817
98837
  exports.useRequestExtras = useRequestExtras;
98838
+ exports.useRouterContext = useRouterContext;
98818
98839
  exports.useSession = useSession;
98819
98840
  exports.useSessionToken = useSessionToken;
98820
98841
  exports.useSwitchVariable = useSwitchVariable;
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dara-core
3
- Version: 1.21.9
3
+ Version: 1.21.11
4
4
  Summary: Dara Framework Core
5
5
  Home-page: https://dara.causalens.com/
6
6
  License: Apache-2.0
@@ -21,10 +21,10 @@ Requires-Dist: cachetools (>=5.0.0,<6.0.0)
21
21
  Requires-Dist: certifi (>=2024.7.4)
22
22
  Requires-Dist: click (==8.1.3)
23
23
  Requires-Dist: colorama (>=0.4.6,<0.5.0)
24
- Requires-Dist: create-dara-app (==1.21.9)
24
+ Requires-Dist: create-dara-app (==1.21.11)
25
25
  Requires-Dist: croniter (>=1.0.15,<3.0.0)
26
26
  Requires-Dist: cryptography (>=42.0.4)
27
- Requires-Dist: dara-components (==1.21.9) ; extra == "all"
27
+ Requires-Dist: dara-components (==1.21.11) ; extra == "all"
28
28
  Requires-Dist: exceptiongroup (>=1.1.3,<2.0.0)
29
29
  Requires-Dist: fastapi (>=0.115.0,<0.116.0)
30
30
  Requires-Dist: fastapi_vite_dara (==0.4.0)
@@ -55,7 +55,7 @@ Description-Content-Type: text/markdown
55
55
 
56
56
  # Dara Application Framework
57
57
 
58
- <img src="https://github.com/causalens/dara/blob/v1.21.9/img/dara_light.svg?raw=true">
58
+ <img src="https://github.com/causalens/dara/blob/v1.21.11/img/dara_light.svg?raw=true">
59
59
 
60
60
  ![Master tests](https://github.com/causalens/dara/actions/workflows/tests.yml/badge.svg?branch=master)
61
61
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
@@ -100,7 +100,7 @@ source .venv/bin/activate
100
100
  dara start
101
101
  ```
102
102
 
103
- ![Dara App](https://github.com/causalens/dara/blob/v1.21.9/img/components_gallery.png?raw=true)
103
+ ![Dara App](https://github.com/causalens/dara/blob/v1.21.11/img/components_gallery.png?raw=true)
104
104
 
105
105
  Note: `pip` installation uses [PEP 660](https://peps.python.org/pep-0660/) `pyproject.toml`-based editable installs which require `pip >= 21.3` and `setuptools >= 64.0.0`. You can upgrade both with:
106
106
 
@@ -117,9 +117,9 @@ Explore some of our favorite apps - a great way of getting started and getting t
117
117
 
118
118
  | Dara App | Description |
119
119
  | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
120
- | ![Large Language Model](https://github.com/causalens/dara/blob/v1.21.9/img/llm.png?raw=true) | Demonstrates how to use incorporate a LLM chat box into your decision app to understand model insights |
121
- | ![Plot Interactivity](https://github.com/causalens/dara/blob/v1.21.9/img/plot_interactivity.png?raw=true) | Demonstrates how to enable the user to interact with plots, trigger actions based on clicks, mouse movements and other interactions with `Bokeh` or `Plotly` plots |
122
- | ![Graph Editor](https://github.com/causalens/dara/blob/v1.21.9/img/graph_viewer.png?raw=true) | Demonstrates how to use the `CausalGraphViewer` component to display your graphs or networks, customising the displayed information through colors and tooltips, and updating the page based on user interaction. |
120
+ | ![Large Language Model](https://github.com/causalens/dara/blob/v1.21.11/img/llm.png?raw=true) | Demonstrates how to use incorporate a LLM chat box into your decision app to understand model insights |
121
+ | ![Plot Interactivity](https://github.com/causalens/dara/blob/v1.21.11/img/plot_interactivity.png?raw=true) | Demonstrates how to enable the user to interact with plots, trigger actions based on clicks, mouse movements and other interactions with `Bokeh` or `Plotly` plots |
122
+ | ![Graph Editor](https://github.com/causalens/dara/blob/v1.21.11/img/graph_viewer.png?raw=true) | Demonstrates how to use the `CausalGraphViewer` component to display your graphs or networks, customising the displayed information through colors and tooltips, and updating the page based on user interaction. |
123
123
 
124
124
  Check out our [App Gallery](https://dara.causalens.com/gallery) for more inspiration!
125
125
 
@@ -146,9 +146,9 @@ And the supporting UI packages and tools.
146
146
  - `ui-utils` - miscellaneous utility functions
147
147
  - `ui-widgets` - widget components
148
148
 
149
- More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.21.9/CONTRIBUTING.md) file.
149
+ More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.21.11/CONTRIBUTING.md) file.
150
150
 
151
151
  ## License
152
152
 
153
- Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.21.9/LICENSE).
153
+ Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.21.11/LICENSE).
154
154
 
@@ -93,7 +93,7 @@ dara/core/router/compat.py,sha256=WAVzDcJFJOVoIQ5inplIhXD58TWsWwTTebTCqpG4nGs,31
93
93
  dara/core/router/components.py,sha256=K6bj04_ZPJcU9JQjaxPJkbUeaHtA_jeJNEvCqQbDf3A,5090
94
94
  dara/core/router/dependency_graph.py,sha256=AyjSk3DuvCgACrgpID4oSpms1X6GQJUbt-scY5X_LN4,2305
95
95
  dara/core/router/router.py,sha256=1r3rFGiftOXC6GP66hKqTdcVNDRJsZWBWvL74wNG4dA,29719
96
- dara/core/umd/dara.core.umd.cjs,sha256=_3lj4wdDwfrH5bP1BzlH_2cTZatXsiIOOHwRcxwIRY8,5150233
96
+ dara/core/umd/dara.core.umd.cjs,sha256=QxIkXaGT8Otvw65YHp4yDAjv3oTEeoMKH-wSJm50Pg0,5151009
97
97
  dara/core/umd/style.css,sha256=yT3PKpi2sKI2-kQIF8xtVbTPQqgpK7-Ua7tfzDPuSsI,4095881
98
98
  dara/core/visual/__init__.py,sha256=QN0wbG9HPQ_vXh8BO8DnBXeYLIENVTNtRmYzZf1lx7c,577
99
99
  dara/core/visual/components/__init__.py,sha256=nmCsnMLXeZAjkhMYz-mIFodpVY-69IO1fvwwXbFlMQ4,2447
@@ -120,8 +120,8 @@ dara/core/visual/themes/__init__.py,sha256=aM4mgoIYo2neBSw5FRzswsht7PUKjLthiHLmF
120
120
  dara/core/visual/themes/dark.py,sha256=UQGDooOc8ric73eHs9E0ltYP4UCrwqQ3QxqN_fb4PwY,1942
121
121
  dara/core/visual/themes/definitions.py,sha256=5g83t24w8Ar51Cl9REBJfCU7_DtlashBQeUTKDg3D1M,2862
122
122
  dara/core/visual/themes/light.py,sha256=-Tviq8oEwGbdFULoDOqPuHO0UpAZGsBy8qFi0kAGolQ,1944
123
- dara_core-1.21.9.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
124
- dara_core-1.21.9.dist-info/METADATA,sha256=TNCrcVLJcY7-PIrkbEgbN1q2U5v6Zncu4DD5K1lnwR4,7534
125
- dara_core-1.21.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
126
- dara_core-1.21.9.dist-info/entry_points.txt,sha256=H__D5sNIGuPIhVam0DChNL-To5k8Y7nY7TAFz9Mz6cc,139
127
- dara_core-1.21.9.dist-info/RECORD,,
123
+ dara_core-1.21.11.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
124
+ dara_core-1.21.11.dist-info/METADATA,sha256=Sy6DKIN0id1OrPQEyUk8Z0sqIyzJpBHjueqTGx7BySg,7544
125
+ dara_core-1.21.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
126
+ dara_core-1.21.11.dist-info/entry_points.txt,sha256=H__D5sNIGuPIhVam0DChNL-To5k8Y7nY7TAFz9Mz6cc,139
127
+ dara_core-1.21.11.dist-info/RECORD,,