Alexis Manin
02/07/2024, 8:10 AMConfigurableResource
description.
Is there a way to display a description in UI for resource attributes/keys ? If so, what would the recommended way to do so ?
Here is a simplified example of what I've tried:
class MyResource(ConfigurableResource):
"""Configurable resource description
This description appears correctly in the UI
"""
resource_attribute: str
"""Attribute description not shown in UI.
Is there a way to attach a description to resource attributes/keys ?
"""
Thanks,Alexis Manin
02/07/2024, 8:20 AMfrom Pydantic import Field
class MyResource(ConfigurableResource):
"""Configurable resource description
This description appears correctly in the UI
"""
resource_attribute: str = Field(description="Attribute description properly shown in UI")