Skip to content

[FEATURE] Enable Pre-registered User-Defined Properties via the TOML Config #60

@allRisc

Description

@allRisc

Is this related to a PeakRDL sub-command?
No

Describe the problem/limitation you think should be addressed
It would be convenient to enable registering customer User-Defined Properties Classes (as shown here). This would enable common UDPs to be shared in a local Python package.

Describe the solution you'd like
Create a configuration udp under [peakrdl] section in the configuration TOML. This configuration could be a list of python class types that are added to the rdlc such as below:

[peakrdl]

udp = [
    "my_udp:MyUDPDefinition"
]

Describe alternatives you've considered
Create a custom plugin which includes them under the udp_definitions class variable. However, this doesn't enable them to be shared across all of the various tools to enable direct use when the UDP is not necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions