voxel51 / eta

ETA: Extensible Toolkit for Analytics
https://voxel51.com
Apache License 2.0
29 stars 13 forks source link

Release/v0.12.1 #604

Closed brimoor closed 10 months ago

brimoor commented 10 months ago

Adds support for working with class methods in the two methods shown below:

import eta.core.utils as etau
import fiftyone as fo

etau.get_function_name(fo.Dataset.from_dir)
# 'fiftyone.core.dataset.Dataset.from_dir'

etau.get_function('fiftyone.core.dataset.Dataset.from_dir')
# <bound method Dataset.from_dir of <class 'fiftyone.core.dataset.Dataset'>>