code: def hide(*keys):
      
      def decorator(func):
          @wraps(func)
          def wrapper(*args, **kwargs):
              g.hide_request_fields = keys
              g.hide_response_fields = keys
              return func(*args, **kwargs)
          return wrapper
      return decorator
docs: Hide a set of request and/or response fields from logs.
  
      Example:
  
          @hide("id")
          def create_foo():
              return Foo(id=uuid4())