docs: def fromFeatureClass(fc, paramName):
          """
          returns a GPFeatureRecordSetLayer object from a feature class
  
          Input:
             fc - path to a feature class
             paramName - name of the parameter
          """
          from ..common.spatial import featureclass_to_json
          val = json.loads(featureclass_to_json(fc))
          v = GPFeatureRecordSetLayer()
          v.value = val
          v.paramName = paramName
          return v