main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100755
|
File size:
360 bytes
|
Line | |
---|
1 | from ..adapters.google import GoogleDatastore |
---|
2 | from .base import BasicParser, JSONParser |
---|
3 | from . import parsers, for_type |
---|
4 | |
---|
5 | |
---|
6 | @parsers.register_for(GoogleDatastore) |
---|
7 | class GoogleDatastoreParser(BasicParser, JSONParser): |
---|
8 | @for_type("id") |
---|
9 | def _id(self, value): |
---|
10 | return value |
---|
11 | |
---|
12 | @for_type("boolean") |
---|
13 | def _boolean(self, value): |
---|
14 | return value |
---|
Note: See
TracBrowser
for help on using the repository browser.