Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e92bf8

Browse filesBrowse files
author
Jon Wayne Parrott
committed
Adding datastore samples.
1 parent 41dd294 commit 8e92bf8
Copy full SHA for 8e92bf8

File tree

Expand file treeCollapse file tree

12 files changed

+1336
-0
lines changed
Filter options
Expand file treeCollapse file tree

12 files changed

+1336
-0
lines changed

‎blog/introduction_to_data_models_in_cloud_datastore/blog_test.py

Copy file name to clipboardExpand all lines: blog/introduction_to_data_models_in_cloud_datastore/blog_test.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14+
from nose.plugins.attrib import attr
1415
from tests import CloudBaseTest
1516

1617
from .blog import main
1718

1819

20+
@attr('slow')
1921
class BlogTestCase(CloudBaseTest):
2022
"""Simple test case that ensures the blog code doesn't throw any errors."""
2123

‎blog/introduction_to_data_models_in_cloud_datastore/wiki_test.py

Copy file name to clipboardExpand all lines: blog/introduction_to_data_models_in_cloud_datastore/wiki_test.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14+
from nose.plugins.attrib import attr
1415
from tests import CloudBaseTest
1516

1617
from .wiki import main
1718

1819

20+
@attr('slow')
1921
class WikiTestCase(CloudBaseTest):
2022
"""Simple test case that ensures the wiki code doesn't throw any errors."""
2123

‎datastore/__init__.py

Copy file name to clipboardExpand all lines: datastore/__init__.py
Whitespace-only changes.

‎datastore/api/README.md

Copy file name to clipboard
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Cloud Datastore API Samples
2+
3+
<!-- auto-doc-link -->
4+
<!-- end-auto-doc-link -->

‎datastore/api/__init__.py

Copy file name to clipboardExpand all lines: datastore/api/__init__.py
Whitespace-only changes.

‎datastore/api/index.yaml

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
indexes:
2+
- kind: Task
3+
properties:
4+
- name: done
5+
- name: priority
6+
direction: desc
7+
- kind: Task
8+
properties:
9+
- name: priority
10+
- name: percent_complete
11+
- kind: Task
12+
properties:
13+
- name: priority
14+
direction: desc
15+
- name: created
16+
- kind: Task
17+
properties:
18+
- name: priority
19+
- name: created
20+
- kind: Task
21+
properties:
22+
- name: type
23+
- name: priority
24+
- kind: Task
25+
properties:
26+
- name: priority
27+
- name: done
28+
- name: created
29+
direction: desc

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.