Skip to content

Commit 3be6b77

Browse files
committed
update changelog, comment, docs
Hide the inherttited members for mixins
1 parent 14214a3 commit 3be6b77

File tree

12 files changed

+17
-10
lines changed

12 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to the PyGraphistry are documented in this file. The PyGraph
55
The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and all PyGraphistry-specific breaking changes are explictly noted here.
77

8+
## Dev
9+
10+
### Breaking
11+
* Plottable is now a Protocol
12+
* py.typed added, type checking active on PyGraphistry!
13+
814
## [0.38.0 - 2025-06-17]
915

1016
### Changed

docs/source/api/ai.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,4 @@ HeterographEmbedModuleMixin
5858
.. automodule:: graphistry.embed_utils
5959
:members:
6060
:undoc-members:
61-
:inherited-members:
6261
:show-inheritance:

docs/source/api/compute.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ ComputeMixin module
66
.. automodule:: graphistry.compute.ComputeMixin
77
:members:
88
:undoc-members:
9-
:inherited-members:
109
:show-inheritance:
1110

1211
Collapse

docs/source/api/layout/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,4 @@ LayoutsMixin
3838
.. automodule:: graphistry.layouts.LayoutsMixin
3939
:members:
4040
:undoc-members:
41-
:inherited-members:
4241
:show-inheritance:

docs/source/api/plotter.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,12 @@ PlotterBase Class
2626
:undoc-members:
2727
:inherited-members:
2828
:show-inheritance:
29+
30+
31+
Plottable Interface
32+
----------------------
33+
.. automodule:: graphistry.Plottable
34+
:members:
35+
:undoc-members:
36+
:inherited-members:
37+
:show-inheritance:

docs/source/api/plugins/compute/cugraph.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ cuGraph is a GPU-accelerated graph library that leverages the Nvidia RAPIDS ecos
99
.. automodule:: graphistry.plugins.cugraph
1010
:members:
1111
:undoc-members:
12-
:inherited-members:
1312
:show-inheritance:
1413

1514
.. rubric:: Constants

docs/source/api/plugins/compute/graphviz.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ graphviz is a popular graph visualization library that PyGraphistry can interfac
99
.. automodule:: graphistry.plugins.graphviz
1010
:members:
1111
:undoc-members:
12-
:inherited-members:
1312
:show-inheritance:
1413

1514
.. rubric:: Constants

docs/source/api/plugins/compute/igraph.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ igraph is a popular graph library that PyGraphistry can interface with. This all
99
.. automodule:: graphistry.plugins.igraph
1010
:members:
1111
:undoc-members:
12-
:inherited-members:
1312
:show-inheritance:
1413

1514
.. rubric:: Constants

docs/source/api/plugins/db/cosmos.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ Azure Cosmos DB supports Gremlin graph queries
1010
.. autoclass:: graphistry.gremlin.CosmosMixin
1111
:members:
1212
:undoc-members:
13-
:inherited-members:
1413
:show-inheritance:

docs/source/api/plugins/db/gremlin.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ As an open source technology, multiple databases support it.
1212
.. autoclass:: graphistry.gremlin.GremlinMixin
1313
:members:
1414
:undoc-members:
15-
:inherited-members:
1615
:show-inheritance:

docs/source/api/plugins/db/neptune.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ Amazon Neptune is a managed graph database by Amazon. It supports OpenCypher, RD
1010
.. autoclass:: graphistry.gremlin.NeptuneMixin
1111
:members:
1212
:undoc-members:
13-
:inherited-members:
1413
:show-inheritance:

graphistry/feature_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,8 @@ def featurize_or_get_nodes_dataframe_if_X_is_None(
28112811

28122812
if reuse_if_existing and res._node_features is not None:
28132813
logger.info('-Reusing Existing Node Featurization')
2814-
# NOTE: Wasn't sure if " res._node_target is not None" ought to have been a condition for this code path
2814+
# NOTE: Perhaps for these df.empty stubs, we need len(y.index) == len(X.index)
2815+
# even if no columns, downstream code could be confused on shape mismatch
28152816
node_target = res._node_target if res._node_target is not None else pd.DataFrame()
28162817
return res._node_features, node_target, res
28172818

0 commit comments

Comments
 (0)