Skip to content

doc: hash size are in bytes - #7866

Merged
dschult merged 2 commits into
networkx:mainfrom
Lattay:doc-hash-size-in-bytes
Feb 21, 2025
Merged

dschult merged 2 commits into
networkx:mainfrom
Lattay:doc-hash-size-in-bytes

Conversation

@Lattay

@Lattay Lattay commented Feb 20, 2025

Copy link
Copy Markdown
Contributor

Just a minor fix of the documentation of weisfeiler_lehman_graph_hash: it takes a number of bytes, passed to blake2b, as size parameter.
I also added an explicit mention of how this translates to the size of the output, for anyone no familiar with hashlib.

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! Thanks very much for preparing this PR!

I've made minor tweak suggestions. This all looks good.

Comment thread networkx/algorithms/graph_hashing.py Resolved
Comment thread networkx/algorithms/graph_hashing.py Resolved

@rossbar rossbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Lattay !

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve this PR
Thanks @Lattay!

@dschult
dschult merged commit abe3c75 into networkx:main Feb 21, 2025
@jarrodmillman jarrodmillman added this to the 3.5 milestone May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants