Rachel H
07/26/2023, 11:51 PMNate
07/26/2023, 11:54 PMRachel H
07/27/2023, 12:13 AMNate
07/27/2023, 1:33 AMfrom prefect.blocks.system import JSON
class DescriptiveJSON(JSON):
"""
A block for storing JSON data with a description.
"""
_block_type_slug = "descriptive-json"
description: str = None
to register the new block type with your workspace (first time only)
❯ prefect block register -f descriptive_json.py
or delete the block type
❯ prefect block type delete descriptive-json
otherwise, feel free to make a feature request, since your original request would require some UI work I believeRachel H
07/27/2023, 2:13 AMNate
07/27/2023, 3:08 AM