def FeatureClassesFromWorkspace(inputTDSFeatureDataset):
    arcpy.env.workspace = os.path.dirname(inputTDSFeatureDataset)
    tdsFeatureClasses = arcpy.ListFeatureClasses("*", "Polygon",
                                                 os.path.basename(inputTDSFeatureDataset))
    return tdsFeatureClasses
get a list of feature classes in a workspace
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/GenerateIntermediateLayers.py/FeatureClassesFromWorkspace