Update block.py
Browse files
block.py
CHANGED
|
@@ -15,6 +15,12 @@ class MyCustomBlock(ModularPipelineBlocks):
|
|
| 15 |
|
| 16 |
Replace this with your implementation.
|
| 17 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
@property
|
| 20 |
def expected_components(self) -> List[ComponentSpec]:
|
|
|
|
| 15 |
|
| 16 |
Replace this with your implementation.
|
| 17 |
"""
|
| 18 |
+
|
| 19 |
+
@property
|
| 20 |
+
def description(self) -> str:
|
| 21 |
+
"""Description of the block."""
|
| 22 |
+
return "A template custom block - replace with your description"
|
| 23 |
+
|
| 24 |
|
| 25 |
@property
|
| 26 |
def expected_components(self) -> List[ComponentSpec]:
|