code: def show_as(**mappings):
      
      def decorator(func):
          @wraps(func)
          def wrapper(*args, **kwargs):
              g.show_request_fields = mappings
              g.show_response_fields = mappings
              return func(*args, **kwargs)
          return wrapper
      return decorator
docs: Show a set of request and/or response fields in logs using a different key.
  
      Example:
  
          @show_as(id="foo_id")
          def create_foo():
              return Foo(id=uuid4())