Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding datastore samples. #158

Merged
merged 1 commit into from
Feb 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from nose.plugins.attrib import attr
from tests import CloudBaseTest

from .blog import main


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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from nose.plugins.attrib import attr
from tests import CloudBaseTest

from .wiki import main


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

Expand Down
Empty file added datastore/__init__.py
Empty file.
4 changes: 4 additions & 0 deletions datastore/api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Cloud Datastore API Samples

<!-- auto-doc-link -->
<!-- end-auto-doc-link -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for Sphinx? Never seen it before. Neat.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's for a tool that takes a list of links to this project in https://cloud.google.com and sticks them into the readme. The part of the tool that generates the list of links is internal. :(

Empty file added datastore/api/__init__.py
Empty file.
29 changes: 29 additions & 0 deletions datastore/api/index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
indexes:
- kind: Task
properties:
- name: done
- name: priority
direction: desc
- kind: Task
properties:
- name: priority
- name: percent_complete
- kind: Task
properties:
- name: priority
direction: desc
- name: created
- kind: Task
properties:
- name: priority
- name: created
- kind: Task
properties:
- name: type
- name: priority
- kind: Task
properties:
- name: priority
- name: done
- name: created
direction: desc
Loading