dbt-labs / metricflow

MetricFlow allows you to define, build, and maintain metrics in code.
https://docs.getdbt.com/docs/build/about-metricflow
Other
1.14k stars 94 forks source link

Streamline `LinkableElementProperty.all_properties()` #1328

Closed plypaul closed 3 months ago

plypaul commented 3 months ago

This PR updates LinkableElementProperty.all_properties() to iterate over the enum to make it less error prone when new properties are added.