Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change yaml default_style #413

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Change yaml default_style #413

wants to merge 3 commits into from

Conversation

PythonFZ
Copy link
Member

@PythonFZ PythonFZ commented Oct 14, 2022

This does not work so far:

class InputOutputNode(Node):
    """Simple InputOutputNode

    This Node simply writes the Input into the Output.

    Example
    -------
    >>> InputOutputNode(input=25).write_graph(run=True)
    >>> assert InputOutputNode.load().output == 25
    """

still yields

"stages":
    "InputOutputNode":
        "cmd": "python -c \"from main import InputOutputNode; InputOutputNode.load(name='InputOutputNode').run_and_save()\"\
            \ "
        "desc": "Simple InputOutputNode\n\n    This Node simply writes the Input into\
            \ the Output.\n\n    Example\n    -------\n    >>> InputOutputNode(input=25).write_graph(run=True)\n\
            \    >>> assert InputOutputNode.load().output == 25\n    "
        "outs":

@codecov
Copy link

codecov bot commented Oct 14, 2022

Codecov Report

Merging #413 (6e6b66f) into main (5382ba2) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #413   +/-   ##
=======================================
  Coverage   97.07%   97.07%           
=======================================
  Files          33       33           
  Lines        1472     1472           
  Branches      538      538           
=======================================
  Hits         1429     1429           
  Misses         43       43           
Flag Coverage Δ
fulltest 96.39% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
zntrack/utils/file_io.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant