Repository navigation
v1.1.2
🚀 New Feature:
Addition of utility ContextMetadata object
- it can store various types of parameters useful for async executors or any other context
- values can be queried from SQL, TM1, or given by manual input
- collection of the parameter definitions can be stored in a yaml file for easier/cleaner init
- template yaml-s can be rendered using helper functions for the parameters such as "as_set_mdx" or "as_member_unique_name" for easier usage
- currently supported parameter types: dimension_element, dimension_element_list, other
- currently supported helper properties: as_string, as_set_mdx, as_member_unique_name, default
Usage example:
1. Define an init yaml with content like this:
2. Create the ContextMetadata object using the init yaml:
3. Define a template yaml, call the parameter and its needed property:
4. The output dictionary will be rendered with the parameter and property defined: