Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1.8k
Removing datastore.Dataset class and its uses.#500
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3,7 +3,6 @@ | ||
| :hidden: | ||
| datastore-api | ||
| datastore-dataset | ||
| datastore-entities | ||
| datastore-keys | ||
| datastore-transactions | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,12 @@ | ||
| """Module to provide implicit behavior based on enviroment. | ||
| Acts as a mutable namespace to allow the datastore package to | ||
| imply the current dataset and connection from the enviroment. | ||
| imply the current dataset ID and connection from the enviroment. | ||
| """ | ||
| DATASET_ID = None | ||
| """Module global to allow persistent implied dataset ID from enviroment.""" | ||
| DATASET = None | ||
| """Module global to allow persistent implied dataset from enviroment.""" | ||
| CONNECTION = None | ||
| """Module global to allow persistent implied connection from enviroment.""" |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -83,9 +83,8 @@ def _validate_dataset_id(self): | ||
| can be implied. | ||
| """ | ||
| if self._dataset_id is None: | ||
| if _implicit_environ.DATASET is not None: | ||
| # This assumes DATASET.id() is not None. | ||
| self._dataset_id = _implicit_environ.DATASET.id() | ||
| if _implicit_environ.DATASET_ID is not None: | ||
This comment was marked as spam.Sorry, something went wrong. Uh oh!There was an error while loading. Please reload this page.
This comment was marked as spam.Sorry, something went wrong. Uh oh!There was an error while loading. Please reload this page.
This comment was marked as spam.Sorry, something went wrong. Uh oh!There was an error while loading. Please reload this page. | ||
| self._dataset_id = _implicit_environ.DATASET_ID | ||
| else: | ||
| raise ValueError('A Key must have a dataset ID set.') | ||
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.