guest¶
The following sections list out the changes that were made to the functions
migrated from libwwdtm
to class methods under the wwdtm
module
wwdtm.guest
.
core → GuestAppearances¶
The following functions under the wwdtm.guest.core
module have been
changed to become methods under wwdtm.guest.GuestAppearances
:
retrieve_appearances_by_id()
retrieve_appearances_by_slug()
details → Guest¶
The following functions under the wwdtm.guest.details
module have
been changed to become methods under wwdtm.guest.Guest
:
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 → Guest¶
The following functions under the wwdtm.guest.info
module have been
changed to become methods under wwdtm.guest.Guest
:
retrieve_all()
retrieve_all_ids()
retrieve_by_id()
retrieve_by_slug()
utility → GuestUtility¶
The following function under the wwdtm.guest.utility
module have
been changed to become methods under wwdtm.guest.GuestUtility
:
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
the libwwdtm
to wwdtm
:
utility.validate_id()
Use
wwdtm.guest.GuestUtility.id_exists()
instead
utility.validate_slug()
Use
wwdtm.guest.GuestUtility.slug_exists()
instead