Skip to content

Commit

Permalink
Merge branch 'docs' of https://github.com/zincware/ZnTrack into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Feb 13, 2025
2 parents 8a9ce24 + 1426131 commit d1d48f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/node_details.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ By default, a :term:`Node` will execute the ``run`` method.
Sometimes it is useful to define multiple methods for a single :term:`Node` with slightly different behavior.
This can be achieved by using :meth:`zntrack.apply`.

.. autofunction:: zntrack.apply
.. autofunction:: zntrack.apply
2 changes: 1 addition & 1 deletion zntrack/apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def apply(obj: o, method: str) -> o:
"""Update the default ``run`` method of ``zntrack.Node``.
Parameters
----------
obj : zntrack.Node
Expand Down
6 changes: 3 additions & 3 deletions zntrack/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
@dataclasses.dataclass(frozen=True)
class NodeStatus:
"""Node status object.
Parameters
----------
remote : str, optional
Expand Down Expand Up @@ -91,12 +91,12 @@ def nwd(self):
@property
def fs(self) -> AbstractFileSystem:
"""Get the file system of the Node.
If the remote is None, the local file system is returned.
Otherwise, a DVCFileSystem is returned.
The FileSystem should be used to open files to ensure,
that the correct version of the file is loaded.
Examples
--------
Expand Down

0 comments on commit d1d48f5

Please sign in to comment.