(scope)
| 53 | |
| 54 | |
| 55 | def get_datastore_full_scope(scope): |
| 56 | if scope == ALL_SCOPE: |
| 57 | return scope |
| 58 | |
| 59 | if DATASTORE_PARENT_SCOPE in scope: |
| 60 | return scope |
| 61 | |
| 62 | return "%s%s%s" % (DATASTORE_PARENT_SCOPE, DATASTORE_SCOPE_SEPARATOR, scope) |
| 63 | |
| 64 | |
| 65 | def _derive_scope_and_key(key, user, scope=None): |