def METHOD_NAME(args: GetPlaylistsArgs):
    playlists = []
    current_user_id = args.get("current_user_id")
    db = get_db_read_replica()
    with db.scoped_session() as session:
        try:
            (playlists, playlist_ids) = _get_unpopulated_playlists(
                session=session, args=args
            )
            # bundle peripheral info into playlist results
            playlists = populate_playlist_metadata(
                session,
                playlist_ids,
                playlists,
                [RepostType.playlist, RepostType.album],
                [SaveType.playlist, SaveType.album],
                current_user_id,
            )
            if args.get("with_users", False):
                playlists = add_users_to_playlists(playlists, session, current_user_id)
        except NoResultFound:
            pass
    return playlists