location

The following sections list out the changes that were made to the functions migrated from libwwdtm to class methods under the wwdtm module wwdtm.location.

core → LocationRecordings

The following functions under the wwdtm.location.core module have been changed to become methods under wwdtm.location.LocationRecordings:

  • retrieve_recordings_by_id()

  • (New): retrieve_recordings_by_slug()

    • This was missing in libwwdtm but has been implemented in wwdtm

details → LocationRecordings

The following functions under the wwdtm.location.details module have been changed to become methods under wwdtm.location.LocationRecordings:

  • retrieve_recordings_by_id()

    • Renamed to retrieve_details_by_id()

  • retrieve_recordings_by_slug()

    • Renamed to retrieve_details_by_slug()

details → Location

The following functions under the wwdtm.location.details module have been changed to become methods under wwdtm.location.Location:

  • retrieve_all_recordings()

    • Renamed to retrieve_all_details()

info → location

The following functions under the wwdtm.location.info module have been changed to become methods under wwdtm.location.Location:

  • retrieve_all()

  • retrieve_all_ids()

  • retrieve_by_id()

  • retrieve_by_slug()

utility → locationUtility

The following function under the wwdtm.location.utility module have been changed to become methods under wwdtm.location.LocationUtility:

  • 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.location.locationUtility.id_exists() instead

  • utility.validate_slug()

    • Use wwdtm.location.locationUtility.slug_exists() instead