Skip to content

Commit

Permalink
lint & rename node
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyballentine committed Jan 15, 2024
1 parent 9d932e1 commit 8488b51
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
from __future__ import annotations

from nodes.properties.inputs.__system_inputs import StaticValueInput
from nodes.properties.inputs.numeric_inputs import get_number_type
from nodes.properties.outputs import NumberOutput

from .. import value_group


@value_group.register(
schema_id="chainner:utility:execution_number",
name="Get Execution Number",
name="Execution Number",
description="Get the current execution number of this session. Increments by 1 every time you press the play button.",
icon="MdNumbers",
inputs=[
Expand All @@ -24,5 +23,5 @@
NumberOutput("Execution Number", output_type="Input0"),
],
)
def get_execution_number_node(number: int) -> int:
def execution_number_node(number: int) -> int:
return number

0 comments on commit 8488b51

Please sign in to comment.