[core] Minor docstrings cleanup

This commit is contained in:
Yann Lanthony 2025-02-06 16:46:05 +01:00
parent 4e29b83226
commit 0035dc56ae
2 changed files with 4 additions and 8 deletions

View file

@ -89,10 +89,6 @@ class GraphSerializer:
- version of the file format.
- version of the nodes types used in the graph.
- template flag.
Args:
nodes: (optional) The list of nodes to consider for node types versions - use all nodes if not specified.
template: Whether the graph is going to be serialized as a template.
"""
header: dict[str, Any] = {}
header[GraphIO.Keys.ReleaseVersion] = meshroom.__version__

View file

@ -18,10 +18,10 @@ def nodeFactory(
If any compatibility issue occurs, a NodeCompatibility instance is created instead.
Args:
nodeDict: The serialized Node data.
name: (optional) The node's name.
inTemplate: (optional) True if the node is created as part of a graph template.
expectedUid: (optional) The expected UID of the node within the context of a Graph.
nodeData: The serialized Node data.
name: The node's name.
inTemplate: True if the node is created as part of a graph template.
expectedUid: The expected UID of the node within the context of a Graph.
Returns:
The created Node instance.