bulkoader.yaml:
transformers: - kind: ExampleModel connector: csv property_map: - property: __key__ external_name: key export_transform: transform.key_id_or_name_as_string - property: data external_name: data - property: type external_name: type
model.py:
class ExampleModel(db.Model): data = db.TextProperty(required=True) type = db.StringProperty(required=True)
Everything seems to be in order, but when I load, I get this error: BadValueError: Property data is 24788 bytes long; it must be 500 or less. Consider Text instead, which can store strings of any length. BadValueError: Property data is 24788 bytes long; it must be 500 or less. Consider Text instead, which can store strings of any length.
For some reason, he considers the data to be string.
Does anyone know how I can fix this?
source share