Skip to content

Instantly share code, notes, and snippets.

@jdunne-kaplan
Created March 18, 2015 16:24
Show Gist options
  • Save jdunne-kaplan/9be48d095cf94f2e1a2d to your computer and use it in GitHub Desktop.
Save jdunne-kaplan/9be48d095cf94f2e1a2d to your computer and use it in GitHub Desktop.
Find deck urls by deck ids
import models
from google.appengine.ext import ndb
ids = ['TODO']
keys = [ndb.Key(models.SlideDeck, id) for id in ids]
decks = ndb.get_multi(keys)
for deck in decks:
if deck is None: continue
print deck.deck_id, deck.deck_url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment