Python 3.9 is now generally available.

google.appengine.ext.db.get

Fetch the specific Model instance with the given key from the datastore.

We support Key objects and string keys (we convert them to Key objects automatically).

keys Key within datastore entity collection to find; or string key; or list of Keys or string keys.
config datastore_rpc.Configuration to use for this request, must be specified as a keyword argument.

If a single key was given: a Model instance associated with key if it exists in the datastore, otherwise None. If a list of keys was
given a list where list[i] is the Model instance for keys[i], or None if no instance exists.