rusty-graph 0.3.2__cp312-cp312-macosx_10_12_x86_64.whl → 0.3.3__cp312-cp312-macosx_10_12_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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rusty_graph
3
- Version: 0.3.2
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=UikT-0yNSRjFwHTq48Crva23dP51dpEy0cz15Gdw5Lc,106
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-312-darwin.so,sha256=JbK5kv2NJiK54o3NqPzIG5lH9DS1LjwN8J3Alox2X6o,1269084
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=UikT-0yNSRjFwHTq48Crva23dP51dpEy0cz15Gdw5Lc,106
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-312-darwin.so,sha256=I3DW2swR2WZLJxVVsSpLoN-6mpoBD3Y6ZRTjM50lZdk,1260212
6
- rusty_graph-0.3.2.dist-info/RECORD,,