what will be the best away to transform a StringProperty to an IntegerProperty without break code and doing so dynamically without changing all entities of a kind?
Obviously assuming the data is correct.
For example:
StringProperty= u’1234′ transform to IntegerProperty=1234
Now if you modify a property in model from str to int when fetching data this property says None
thanks
If you’re using NDB you might also wanna try ComputedProperty:
https://docs.google.com/document/d/1dsx1hihmMXMJm8wIRu49tJR-KEng80o3wkg4Nlbqn-w/edit#heading=h.crpcpjr4rp21
well, then you could define your own property type, e.g.
And then in your model