code: def _docstring_parameter(obj_type, subset=False):   # pylint: disable=no-self-argument
          
          docstring = (
              "Flexibly search the JSS for objects of type {}.\n\n\tArgs:\n\t\t"
              "Data: Allows different types to conduct different types of "
              "searches. Argument of type:\n\t\t\tNone (or Provide no argument) "
              "to search for all objects.\n\t\t\tInt to search for an object by "
              "ID.\n\t\t\tString to search for an object by name.\n\t\t\t"
              "xml.etree.ElementTree.Element to create a new object from the "
              "Element's data.{}\n\n\tReturns:\n\t\tJSSObjectList for empty "
              "data arguments.\n\t\tReturns an object of type {} for searches "
              "and new objects.\n\t\t(FUTURE) Will return None if nothing is "
              "found that match the search criteria.\n\n\tRaises:\n\t\t"
              "JSSGetError for nonexistent objects.")
  
          if subset:
              subset_string = (
                  "\n\t\tsubset: A list of XML subelement tags to request\n"
                  "\t\t\t(e.g. ['general', 'purchasing']), OR an '&' \n\t\t\t"
                  "delimited string (e.g. 'general&purchasing').")
          else:
              subset_string = ""
  
          def dec(obj):
              """Dynamically decorate a docstring."""
              class_name = str(obj_type)[:-2].rsplit(".")[-1]
              updated_docstring = docstring.format(class_name, subset_string,
                                                   class_name)
              obj.__doc__ = obj.__doc__.format(
                  dynamic_docstring=updated_docstring)
              return obj
          return dec
docs: Decorator for adding _docstring to repetitive methods.