Raphtory
Raphtory copied to clipboard
Stubsgen: handle python types for unresolved classes
Follows on from https://github.com/Pometry/Raphtory/pull/2273
For the stubsgen errors as follows we need to:
- Expose types to python
- Identify infered type in pthon
- Handle context dependent outputs
WARNING:raphtory.Graph.create_index_in_ram_with_spec:missing parameter py_spec in docs.
ERROR:raphtory.Graph.create_index_in_ram_with_spec:parameter IndexSpec appears in documentation but does not exist.
ERROR:raphtory.PersistentGraph.create_index_in_ram_with_spec:parameter IndexSpec appears in documentation but does not exist.
ERROR:raphtory.Nodes.metadata:Invalid return type 'MetadataView': Unknown type MetadataView
ERROR:raphtory.PathFromNode.metadata:Invalid return type 'MetadataView': Unknown type MetadataView
ERROR:raphtory.PathFromGraph.metadata:Invalid return type 'MetadataListList': Unknown type MetadataListList
ERROR:raphtory.PathFromGraph.properties:Invalid return type 'NestedPropsIterable': Unknown type NestedPropsIterable
ERROR:raphtory.Edge.explode:Invalid return type 'Exploded': Unknown type Exploded
ERROR:raphtory.Edge.explode_layers:Invalid return type 'Exploded': Unknown type Exploded
ERROR:raphtory.Edges.deletions:Invalid return type 'PyGenericIterable': Unknown type PyGenericIterable
ERROR:raphtory.Edges.explode:Invalid return type 'Exploded': Unknown type Exploded
ERROR:raphtory.Edges.explode_layers:Invalid return type 'Exploded': Unknown type Exploded
ERROR:raphtory.Edges.history:Invalid return type 'PyGenericIterable': Unknown type PyGenericIterable
ERROR:raphtory.Edges.metadata:Invalid return type 'MetadataView': Unknown type MetadataView
ERROR:raphtory.Edges.time:Invalid return type 'I64Iterable': Unknown type I64Iterable
ERROR:raphtory.NestedEdges.explode:Invalid return type 'Exploded': Unknown type Exploded
ERROR:raphtory.NestedEdges.explode_layers:Invalid return type 'Exploded': Unknown type Exploded
ERROR:raphtory.NestedEdges.layer_name:Invalid return type 'NestedArcStringIterable': Unknown type NestedArcStringIterable
ERROR:raphtory.NestedEdges.metadata:Invalid return type 'MetadataListList': Unknown type MetadataListList
ERROR:raphtory.NestedEdges.properties:Invalid return type 'PyNestedPropsIterable': Unknown type PyNestedPropsIterable