You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2020. It is now read-only.
The difference is that getmeta has to do some work to extract the metadata from a docstring, whereas ModuleData and PackageData objects don't.
I'm not a fan of the underscored names getpackage_meta, etc. as public method names. We should be using multiple dispatch to simplify it a bit. Perhaps:
Just thought from a user experience the way of how to get
metadata
is a bit inconsistence.function findmeta
meta = getpackage(root).metadata
meta = getmodule(m).metadata
meta = getmeta(m, obj)
getmeta(obj).metadata
or:
meta = getpackage_meta(root)
meta = getmodule_meta(m)
meta = getobj_meta(obj)
Which fits in to my question about obj meta
Just a thought maybe there is a way to make it for all 3 levels the same? Not necessarily my name suggestion though ;)
The text was updated successfully, but these errors were encountered: