Skip to main content

Get Config Value

Description​

Gets config value.

Function Signature:​

def get_config_value(config_folder_path: str, name: str, default_value: str = '') -> str:

Parameters​

  • config_folder_path (str): Input value for config_folder_path.
  • name (str): Input value for name.
  • default_value (str): Input value for default_value.

Returns​

  • str: Return value from the function.

Example Usage​

# Example usage
config_folder_path = "example"
name = "example"
default_value = "example"
result = get_config_value(config_folder_path, name, default_value)
print(result)

Behavior​

  • Executes the function logic with the provided arguments.
  • On success, returns the computed value or result object.

Error Handling​

  • Exceptions are handled within the function where implemented.