docs: def expose_endpoints (module, *args):
      """
      Expose methods to the given module for each API endpoint
      """
      
      for op in args:
          # Capture the closure state
          def create_method (o):
              return lambda exp: send_request(o, exp)
          
          setattr(sys.modules[__name__], op, create_method(op))
          setattr(module, op, getattr(sys.modules[__name__], op))