Skip to content

Commit 0624dc6

Browse files
declare missing modules
1 parent a07afb6 commit 0624dc6

14 files changed

Lines changed: 87 additions & 4 deletions

File tree

python/python/raphtory/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
_sys.modules["raphtory.vectors"] = vectors
99
_sys.modules["raphtory.graphql"] = graphql
1010
_sys.modules["raphtory.filter"] = filter
11+
_sys.modules["raphtory.iterables"] = iterables
1112

1213
__doc__ = _raphtory.__doc__
1314
if hasattr(_raphtory, "__all__"):

python/python/raphtory/__init__.pyi

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ from pandas import DataFrame
2525
from os import PathLike
2626
import networkx as nx # type: ignore
2727
import pyvis # type: ignore
28+
from raphtory.iterables import *
2829

2930
__all__ = [
3031
"GraphView",
@@ -55,6 +56,7 @@ __all__ = [
5556
"vectors",
5657
"node_state",
5758
"filter",
59+
"iterables",
5860
"nullmodels",
5961
"plottingutils",
6062
]
@@ -3907,8 +3909,13 @@ class PathFromGraph(object):
39073909
"""the node degrees"""
39083910

39093911
@property
3910-
def earliest_date_time(self):
3911-
"""Returns the earliest date time of the nodes."""
3912+
def earliest_date_time(self) -> NestedUtcDateTimeIterable:
3913+
"""
3914+
Returns the earliest date time of the nodes.
3915+
3916+
Returns:
3917+
NestedUtcDateTimeIterable:
3918+
"""
39123919

39133920
@property
39143921
def earliest_time(self):

python/python/raphtory/algorithms/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ from pandas import DataFrame
2525
from os import PathLike
2626
import networkx as nx # type: ignore
2727
import pyvis # type: ignore
28+
from raphtory.iterables import *
2829

2930
__all__ = [
3031
"dijkstra_single_source_shortest_paths",

python/python/raphtory/filter/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ from pandas import DataFrame
2121
from os import PathLike
2222
import networkx as nx # type: ignore
2323
import pyvis # type: ignore
24+
from raphtory.iterables import *
2425

2526
__all__ = [
2627
"FilterExpr",

python/python/raphtory/graph_gen/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ from pandas import DataFrame
2626
from os import PathLike
2727
import networkx as nx # type: ignore
2828
import pyvis # type: ignore
29+
from raphtory.iterables import *
2930

3031
__all__ = ["random_attachment", "ba_preferential_attachment"]
3132

python/python/raphtory/graph_loader/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ from pandas import DataFrame
2626
from os import PathLike
2727
import networkx as nx # type: ignore
2828
import pyvis # type: ignore
29+
from raphtory.iterables import *
2930

3031
__all__ = [
3132
"lotr_graph",

python/python/raphtory/graphql/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ from pandas import DataFrame
2121
from os import PathLike
2222
import networkx as nx # type: ignore
2323
import pyvis # type: ignore
24+
from raphtory.iterables import *
2425

2526
__all__ = [
2627
"GraphServer",
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
from __future__ import annotations
2+
3+
###############################################################################
4+
# #
5+
# AUTOGENERATED TYPE STUB FILE #
6+
# #
7+
# This file was automatically generated. Do not modify it directly. #
8+
# Any changes made here may be lost when the file is regenerated. #
9+
# #
10+
###############################################################################
11+
12+
from typing import *
13+
from raphtory import *
14+
import raphtory.filter as filter
15+
from raphtory.algorithms import *
16+
from raphtory.vectors import *
17+
from raphtory.node_state import *
18+
from raphtory.graphql import *
19+
from raphtory.typing import *
20+
from datetime import datetime
21+
from pandas import DataFrame
22+
from os import PathLike
23+
import networkx as nx # type: ignore
24+
import pyvis # type: ignore
25+
26+
__all__ = ["NestedUtcDateTimeIterable"]
27+
28+
class NestedUtcDateTimeIterable(object):
29+
def __eq__(self, value):
30+
"""Return self==value."""
31+
32+
def __ge__(self, value):
33+
"""Return self>=value."""
34+
35+
def __gt__(self, value):
36+
"""Return self>value."""
37+
38+
def __iter__(self):
39+
"""Implement iter(self)."""
40+
41+
def __le__(self, value):
42+
"""Return self<=value."""
43+
44+
def __len__(self):
45+
"""Return len(self)."""
46+
47+
def __lt__(self, value):
48+
"""Return self<value."""
49+
50+
def __ne__(self, value):
51+
"""Return self!=value."""
52+
53+
def __repr__(self):
54+
"""Return repr(self)."""
55+
56+
def collect(self): ...

python/python/raphtory/node_state/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ from pandas import DataFrame
2121
from os import PathLike
2222
import networkx as nx # type: ignore
2323
import pyvis # type: ignore
24+
from raphtory.iterables import *
2425

2526
__all__ = [
2627
"NodeGroups",

python/python/raphtory/vectors/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ from pandas import DataFrame
2121
from os import PathLike
2222
import networkx as nx # type: ignore
2323
import pyvis # type: ignore
24+
from raphtory.iterables import *
2425

2526
__all__ = ["VectorisedGraph", "Document", "Embedding", "VectorSelection"]
2627

0 commit comments

Comments
 (0)