Retrieve a Parameter by its key.
This method allows access to a class or instance Parameter using its name.
- Parameters:
key (str) – The name of the Parameter to retrieve.
- Returns:
The Parameter associated with the given key. If accessed on an instance,
the method returns the instantiated (copied) parameter.
- Return type:
Parameter