Python 3.9 is now generally available.

google.appengine.api.datastore_types.ValidatePropertyString

Validates the length of an indexed string property.

name Name of the property this is for.
value String value.