dara-core 1.12.5__py3-none-any.whl → 1.12.6__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.
- dara/core/internal/cache_store/lru.py +3 -2
- {dara_core-1.12.5.dist-info → dara_core-1.12.6.dist-info}/METADATA +10 -10
- {dara_core-1.12.5.dist-info → dara_core-1.12.6.dist-info}/RECORD +6 -6
- {dara_core-1.12.5.dist-info → dara_core-1.12.6.dist-info}/LICENSE +0 -0
- {dara_core-1.12.5.dist-info → dara_core-1.12.6.dist-info}/WHEEL +0 -0
- {dara_core-1.12.5.dist-info → dara_core-1.12.6.dist-info}/entry_points.txt +0 -0
|
@@ -85,7 +85,7 @@ class LRUCache(CacheStoreImpl[LruCachePolicy]):
|
|
|
85
85
|
self.tail = node.prev
|
|
86
86
|
|
|
87
87
|
# Delete from the dictionary
|
|
88
|
-
|
|
88
|
+
self.cache.pop(key, None)
|
|
89
89
|
return node.value
|
|
90
90
|
|
|
91
91
|
async def get(self, key: str, unpin: bool = False) -> Optional[Any]:
|
|
@@ -142,7 +142,8 @@ class LRUCache(CacheStoreImpl[LruCachePolicy]):
|
|
|
142
142
|
self.tail = evict_node.prev
|
|
143
143
|
if self.tail:
|
|
144
144
|
self.tail.next = None
|
|
145
|
-
|
|
145
|
+
# Use pop instead of delete just in case
|
|
146
|
+
self.cache.pop(evict_node.key, None)
|
|
146
147
|
else:
|
|
147
148
|
# all nodes are pinned, can't evict
|
|
148
149
|
break
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dara-core
|
|
3
|
-
Version: 1.12.
|
|
3
|
+
Version: 1.12.6
|
|
4
4
|
Summary: Dara Framework Core
|
|
5
5
|
Home-page: https://dara.causalens.com/
|
|
6
6
|
License: Apache-2.0
|
|
@@ -20,10 +20,10 @@ Requires-Dist: async-asgi-testclient (>=1.4.11,<2.0.0)
|
|
|
20
20
|
Requires-Dist: certifi (>=2024.7.4)
|
|
21
21
|
Requires-Dist: click (==8.1.3)
|
|
22
22
|
Requires-Dist: colorama (>=0.4.6,<0.5.0)
|
|
23
|
-
Requires-Dist: create-dara-app (==1.12.
|
|
23
|
+
Requires-Dist: create-dara-app (==1.12.6)
|
|
24
24
|
Requires-Dist: croniter (>=1.0.15,<2.0.0)
|
|
25
25
|
Requires-Dist: cryptography (>=42.0.4)
|
|
26
|
-
Requires-Dist: dara-components (==1.12.
|
|
26
|
+
Requires-Dist: dara-components (==1.12.6) ; extra == "all"
|
|
27
27
|
Requires-Dist: exceptiongroup (>=1.1.3,<2.0.0)
|
|
28
28
|
Requires-Dist: fastapi (==0.109.0)
|
|
29
29
|
Requires-Dist: fastapi-vite (==0.3.1)
|
|
@@ -51,7 +51,7 @@ Description-Content-Type: text/markdown
|
|
|
51
51
|
|
|
52
52
|
# Dara Application Framework
|
|
53
53
|
|
|
54
|
-
<img src="https://github.com/causalens/dara/blob/v1.12.
|
|
54
|
+
<img src="https://github.com/causalens/dara/blob/v1.12.6/img/dara_light.svg?raw=true">
|
|
55
55
|
|
|
56
56
|

|
|
57
57
|
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
@@ -96,7 +96,7 @@ source .venv/bin/activate
|
|
|
96
96
|
dara start
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-

|
|
100
100
|
|
|
101
101
|
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:
|
|
102
102
|
|
|
@@ -113,9 +113,9 @@ Explore some of our favorite apps - a great way of getting started and getting t
|
|
|
113
113
|
|
|
114
114
|
| Dara App | Description |
|
|
115
115
|
| -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
116
|
-
|  | Demonstrates how to use incorporate a LLM chat box into your decision app to understand model insights |
|
|
117
|
+
|  | 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 |
|
|
118
|
+
|  | 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. |
|
|
119
119
|
|
|
120
120
|
Check out our [App Gallery](https://dara.causalens.com/gallery) for more inspiration!
|
|
121
121
|
|
|
@@ -127,9 +127,9 @@ This repository covers the Dara Application Framework first-party packages.
|
|
|
127
127
|
- `dara-components`: Components for the Dara Framework.
|
|
128
128
|
- `create-dara-app`: A CLI tool for creating new Dara applications.
|
|
129
129
|
|
|
130
|
-
More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.12.
|
|
130
|
+
More information on the repository structure can be found in the [CONTRIBUTING.md](https://github.com/causalens/dara/blob/v1.12.6/CONTRIBUTING.md) file.
|
|
131
131
|
|
|
132
132
|
## License
|
|
133
133
|
|
|
134
|
-
Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.12.
|
|
134
|
+
Dara is open-source and licensed under the [Apache 2.0 License](https://github.com/causalens/dara/blob/v1.12.6/LICENSE).
|
|
135
135
|
|
|
@@ -31,7 +31,7 @@ dara/core/internal/cache_store/__init__.py,sha256=7JCmQwNIMzfyLZGnsk0BbT1EdDFO_P
|
|
|
31
31
|
dara/core/internal/cache_store/base_impl.py,sha256=gQ3N2diA4QihkLctP82vxfsSBntQy4cbjsAmmcSEPP4,1237
|
|
32
32
|
dara/core/internal/cache_store/cache_store.py,sha256=X6VMB-vFZkuxvYCS_mjmMuz8gs1Mqn49I5dXYqu9jHQ,8445
|
|
33
33
|
dara/core/internal/cache_store/keep_all.py,sha256=hFT2jjkVtV2UFedYNjdzAw1VqZo4c0F7OoKWqocO_GA,2231
|
|
34
|
-
dara/core/internal/cache_store/lru.py,sha256=
|
|
34
|
+
dara/core/internal/cache_store/lru.py,sha256=V0KkpsU9oJ_vJ2j7iKFTxxihF1zCxVTvKBfi3m9kDlU,5143
|
|
35
35
|
dara/core/internal/cache_store/ttl.py,sha256=7zcVYR9a2M5qOTWuhor-TgKBKERPn6qsZsDnoUyazfM,4755
|
|
36
36
|
dara/core/internal/cgroup.py,sha256=o1Qqn5LV3TOPK7lQ0xbQj01zYT1pv-X_edGx8VhFvEw,3218
|
|
37
37
|
dara/core/internal/custom_response.py,sha256=aSPonh8AdRjioTk1MaPwdaJHkO4R4aG_osGAGCIHbtg,1341
|
|
@@ -105,8 +105,8 @@ dara/core/visual/themes/__init__.py,sha256=aM4mgoIYo2neBSw5FRzswsht7PUKjLthiHLmF
|
|
|
105
105
|
dara/core/visual/themes/dark.py,sha256=UQGDooOc8ric73eHs9E0ltYP4UCrwqQ3QxqN_fb4PwY,1942
|
|
106
106
|
dara/core/visual/themes/definitions.py,sha256=m3oN0txs65MZepqjj7AKMMxybf2aq5fTjcTwJmHqEbk,2744
|
|
107
107
|
dara/core/visual/themes/light.py,sha256=-Tviq8oEwGbdFULoDOqPuHO0UpAZGsBy8qFi0kAGolQ,1944
|
|
108
|
-
dara_core-1.12.
|
|
109
|
-
dara_core-1.12.
|
|
110
|
-
dara_core-1.12.
|
|
111
|
-
dara_core-1.12.
|
|
112
|
-
dara_core-1.12.
|
|
108
|
+
dara_core-1.12.6.dist-info/LICENSE,sha256=r9u1w2RvpLMV6YjuXHIKXRBKzia3fx_roPwboGcLqCc,10944
|
|
109
|
+
dara_core-1.12.6.dist-info/METADATA,sha256=hw9ZCren224YQQEpDUsYd83NCGruzySuODIJU0ep_qQ,6771
|
|
110
|
+
dara_core-1.12.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
111
|
+
dara_core-1.12.6.dist-info/entry_points.txt,sha256=H__D5sNIGuPIhVam0DChNL-To5k8Y7nY7TAFz9Mz6cc,139
|
|
112
|
+
dara_core-1.12.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|