host¶
The following sections list out the changes that were made to the functions
migrated from libwwdtm
to class methods under the wwdtm
module
wwdtm.host
.
core → HostAppearances¶
The following functions under the wwdtm.host.core
module have been
changed to become methods under wwdtm.host.HostAppearances
:
retrieve_appearances_by_id()
retrieve_appearances_by_slug()
details → Host¶
The following functions under the wwdtm.host.details
module have
been changed to become methods under wwdtm.host.Host
:
retrieve_by_id()
Renamed to
retrieve_details_by_id()
retrieve_by_slug()
Renamed to
retrieve_details_by_slug()
retrieve_all()
Renamed to
retrieve_all_details()
info → Host¶
The following functions under the wwdtm.host.info
module have been
changed to become methods under wwdtm.host.Host
:
retrieve_all()
retrieve_all_ids()
retrieve_by_id()
retrieve_by_slug()
utility → HostUtility¶
The following function under the wwdtm.host.utility
module have
been changed to become methods under wwdtm.host.HostUtility
:
convert_id_to_slug()
convert_slug_to_id()
id_exists()
slug_exists()
Deprecated Functions¶
The following functions have been deprecated and were not migrated over from
libwwdtm
to wwdtm
:
utility.validate_id()
Use
wwdtm.host.HostUtility.id_exists()
instead
utility.validate_slug()
Use
wwdtm.host.HostUtility.slug_exists()
instead