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

Demo of usage ideas for a lighter gcloud #438

Closed
wants to merge 4 commits into from
Closed

Demo of usage ideas for a lighter gcloud #438

wants to merge 4 commits into from

Conversation

elibixby
Copy link

@proppy @silvolu

I'm in the process of writing mock objects so people can play around with this usage in the interpreter (and actually run the demo)

For now just looking for input from the community on usage before I continue (about 65% done with initial implementation)

@dhermes
Copy link
Contributor

dhermes commented Dec 18, 2014

Is there an issue with the current demo? Do we need to delete it?

Could this project be in it's own repository like https://github.com/GoogleCloudPlatform/gcloud-python-expenses-demo and then we can link to it somewhere?

Also can you rebase to HEAD in master so the PR is merge-able?

@beriberikix
Copy link

@elibixby can you create a new project like gcloud-python-todos?

@dhermes this demo is part of the initiative to add backends to the popular TodoMVC. The devrel team already made one for Node.js. There's no need to delete the current demo.

@elibixby
Copy link
Author

No issue, I just accidentally overwrote it when pushing...

As for a new project. Not sure how much frustration it cause to have two 'idiomatic' python client libraries... In any case, writing TodoMVC with the existing library proved to be not very intuitive, and required learning quite a few classes that didn't seem necessary in retrospect.

(@proppy wanted me to link this video: https://www.youtube.com/watch?v=o9pEzgHorH0 )

As a developer using the library, this is the interface I would much prefer to use.

@dhermes
Copy link
Contributor

dhermes commented Dec 18, 2014

Thanks JB!

@elibixby I created https://github.com/GoogleCloudPlatform/gcloud-python-todomvc and initialized with a README.

As far as two different libraries, that is not a good idea. We are happy to take suggestions and have discussions, but they should probably happen in bugs before PRs.

Just looking at the code I was distracted by things like d as a variable name, a docstring floating at the top level like a comment.

I'm currently working on the API surface in #336. I'd agree there are many cases where we could do more with less code and hope to be able to get to that point soon. If you could post the feedback somewhere that'd be great.

@proppy
Copy link
Contributor

proppy commented Dec 18, 2014

Yes, I think this was confusing because it was submitted as a PR in order to get some feedback on the API, I'm not sure the indent for it was to be merged.

@elibixby is just trying to continue the discussion he started in #410 and follow @silvolu suggestion to "show some code".

I think this conversation should definitely continue in #336, and @elibixby can give more specific feedback on what was his experience trying to write the gcloud-todos-python app, share some of the code he had to write, and what he would have liked to write instead.

@dhermes
Copy link
Contributor

dhermes commented Dec 18, 2014

Yes. Overall, if you can break the feedback into smaller, digestible pieces it's easier to have the conversation.

@silvolu
Copy link
Contributor

silvolu commented Dec 18, 2014

@silvolu suggestion to "show some code".

@proppy are you quoting me? because I've never written that :)

@proppy
Copy link
Contributor

proppy commented Dec 18, 2014

@proppy are you quoting me? because I've never wrote that :)

#410 (comment)

@elibixby
Copy link
Author

Not closing this, to leave it open for line commenting, but continuing discussion on #336

@elibixby
Copy link
Author

Closing anyways. Good discussion going in #336

@elibixby elibixby closed this Dec 18, 2014
@dhermes dhermes added the api: datastore Issues related to the Datastore API. label Dec 31, 2015
tseaver added a commit that referenced this pull request Feb 26, 2018
Encapsulates session ID / transaction ID, to be marshalled across
the wire to another process / host for performing partitioned
reads / queries.
tseaver added a commit that referenced this pull request Mar 2, 2018
Encapsulates session ID / transaction ID, to be marshalled across
the wire to another process / host for performing partitioned
reads / queries.
tseaver added a commit that referenced this pull request Mar 8, 2018
Encapsulates session ID / transaction ID, to be marshalled across
the wire to another process / host for performing partitioned
reads / queries.
tseaver added a commit that referenced this pull request Mar 12, 2018
Encapsulates session ID / transaction ID, to be marshalled across
the wire to another process / host for performing partitioned
reads / queries.
tseaver added a commit that referenced this pull request Mar 12, 2018
Encapsulates session ID / transaction ID, to be marshalled across
the wire to another process / host for performing partitioned
reads / queries.
atulep pushed a commit that referenced this pull request Apr 6, 2023
* chore(deps): update all dependencies

* revert

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
atulep pushed a commit that referenced this pull request Apr 6, 2023
* chore(deps): update all dependencies

* revert

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
atulep pushed a commit that referenced this pull request Apr 18, 2023
* chore(deps): update all dependencies

* revert

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea added a commit that referenced this pull request Jun 4, 2023
- Followup to GoogleCloudPlatform/python-docs-samples#8862

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea pushed a commit that referenced this pull request Jun 4, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Jun 4, 2023
…p/templates/python_library/.kokoro (#438)

Source-Link: https://github.com/googleapis/synthtool/commit/bb171351c3946d3c3c32e60f5f18cee8c464ec51
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f62c53736eccb0c4934a3ea9316e0d57696bb49c1a7c86c726e9bb8a2f87dadf
parthea pushed a commit that referenced this pull request Jul 6, 2023
Source-Link: https://github.com/googleapis/synthtool/commit/909573ce9da2819eeb835909c795d29aea5c724e
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:ddf4551385d566771dc713090feb7b4c1164fb8a698fe52bbe7670b24236565b
vchudnov-g pushed a commit that referenced this pull request Sep 20, 2023
* ci: opt in to use multiple projects

* lint
parthea pushed a commit that referenced this pull request Sep 22, 2023
* feat: add Deidentify action

PiperOrigin-RevId: 471923438

Source-Link: googleapis/googleapis@62995d0

Source-Link: googleapis/googleapis-gen@96ba173
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTZiYTE3MzFjNzEyYTY5Mzk5NWRlNzUzNzg5NDg3ODFhZjI4MzczOSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Oct 21, 2023
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea pushed a commit that referenced this pull request Oct 21, 2023
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 451250442

Source-Link: googleapis/googleapis@cca5e81

Source-Link: googleapis/googleapis-gen@0b219da
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGIyMTlkYTE2MWE4YmRjYzNjNmY3YjJlZmNkODIxMDUxODJhMzBjYSJ9
parthea pushed a commit that referenced this pull request Oct 21, 2023
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea added a commit that referenced this pull request Oct 21, 2023
parthea pushed a commit that referenced this pull request Oct 21, 2023
)

Source-Link: https://github.com/googleapis/synthtool/commit/0c7b0333f44b2b7075447f43a121a12d15a7b76a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:08e34975760f002746b1d8c86fdc90660be45945ee6d9db914d1508acdf9a547
parthea added a commit that referenced this pull request Oct 22, 2023
* chore(deps): update all dependencies

* revert

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants