code: def os_workload_status(configs, required_interfaces, charm_func=None):
      
      def wrap(f):
          @wraps(f)
          def wrapped_f(*args, **kwargs):
              # Run the original function first
              f(*args, **kwargs)
              # Set workload status now that contexts have been
              # acted on
              set_os_workload_status(configs, required_interfaces, charm_func)
          return wrapped_f
      return wrap
docs: Decorator to set workload status based on complete contexts