There are 2 different datastore method to get instances.
- get(instance) return a specific instance
- get_all return all instance
get(instance) method should return all instances if instance is None, which make get and get_all merged and factor some code