rusty-graph 0.3.2__cp310-cp310-manylinux_2_34_x86_64.whl → 0.3.3__cp310-cp310-manylinux_2_34_x86_64.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.
Potentially problematic release.
This version of rusty-graph might be problematic. Click here for more details.
- rusty_graph/rusty_graph.cpython-310-x86_64-linux-gnu.so +0 -0
- {rusty_graph-0.3.2.dist-info → rusty_graph-0.3.3.dist-info}/METADATA +12 -1
- rusty_graph-0.3.3.dist-info/RECORD +6 -0
- rusty_graph-0.3.2.dist-info/RECORD +0 -6
- {rusty_graph-0.3.2.dist-info → rusty_graph-0.3.3.dist-info}/WHEEL +0 -0
- {rusty_graph-0.3.2.dist-info → rusty_graph-0.3.3.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rusty_graph
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -259,6 +259,17 @@ unique_categories = graph.type_filter('Product').unique_values(
|
|
|
259
259
|
store_as='category_list',
|
|
260
260
|
max_length=10
|
|
261
261
|
)
|
|
262
|
+
|
|
263
|
+
# Convert children properties to a comma-separated list in parent nodes
|
|
264
|
+
users_with_products = graph.type_filter('User').traverse('PURCHASED').children_properties_to_list(
|
|
265
|
+
property='title', # Default is 'title' if not specified
|
|
266
|
+
filter={'price': {'<': 500.0}}, # Optional filtering of children
|
|
267
|
+
sort_spec='price', # Optional sorting of children
|
|
268
|
+
max_nodes=5, # Optional limit of children per parent
|
|
269
|
+
store_as='purchased_products', # Property name to store the list in parent
|
|
270
|
+
max_length=100, # Optional maximum string length (adds "..." if truncated)
|
|
271
|
+
keep_selection=False # Whether to keep the current selection
|
|
272
|
+
)
|
|
262
273
|
```
|
|
263
274
|
|
|
264
275
|
### Custom Calculations
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
rusty_graph-0.3.3.dist-info/METADATA,sha256=Mw0MbC1NTH3MeR59NM8OfIQdfRngmfsngmcusuxTlm4,9739
|
|
2
|
+
rusty_graph-0.3.3.dist-info/WHEEL,sha256=T5N8wV_FFFFqNMyMMjqvVZVA4nBXclX-pkxhEjZDV9w,108
|
|
3
|
+
rusty_graph-0.3.3.dist-info/licenses/LICENSE,sha256=rpMbqF0kOM1XAviOJRrR8UYQsNx0QPAzbf5b4RE358g,932
|
|
4
|
+
rusty_graph/__init__.py,sha256=_Fds04T5qV95XgyZm7qIPfLghgoCZi-_hDbw-e_18oA,127
|
|
5
|
+
rusty_graph/rusty_graph.cpython-310-x86_64-linux-gnu.so,sha256=Uqzfmx20N9EUY5XH_8BRhYb4cBtQLfuW5yRYHIxgdbU,1447912
|
|
6
|
+
rusty_graph-0.3.3.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
rusty_graph-0.3.2.dist-info/METADATA,sha256=ENEOZpmCINj6LknR6FH4GVRz13WOTPKH80lno2dsjvU,9095
|
|
2
|
-
rusty_graph-0.3.2.dist-info/WHEEL,sha256=T5N8wV_FFFFqNMyMMjqvVZVA4nBXclX-pkxhEjZDV9w,108
|
|
3
|
-
rusty_graph-0.3.2.dist-info/licenses/LICENSE,sha256=rpMbqF0kOM1XAviOJRrR8UYQsNx0QPAzbf5b4RE358g,932
|
|
4
|
-
rusty_graph/__init__.py,sha256=_Fds04T5qV95XgyZm7qIPfLghgoCZi-_hDbw-e_18oA,127
|
|
5
|
-
rusty_graph/rusty_graph.cpython-310-x86_64-linux-gnu.so,sha256=52JIvd7CrKHTRdvTzzAv8hufukYOx0kHBiB0mybLtTU,1439064
|
|
6
|
-
rusty_graph-0.3.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|