Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
schrockn committed Dec 24, 2024
1 parent 2355dd2 commit ee30a4a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def _find_repo_root():

def _generate_test_component_source(number: int) -> str:
return textwrap.dedent(f"""
from dagster_components import Component, component
@component(name="test_component_{number}")
from dagster_components import Component, component_type
@component_type(name="test_component_{number}")
class TestComponent{number}(Component):
pass
""")
Expand Down

0 comments on commit ee30a4a

Please sign in to comment.