def _opt_call_from_base_type(self, value):
    if isinstance(value, _BaseValue):
      value = self._call_from_base_type(value.b_val)
    return value
Generates a random string of the given length. Defaults to 32 characters.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/Property._opt_call_from_base_type--crossover with--dataset/ETHPy150Open tooxie/shiva-server/shiva/utils.py/randstr