FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add 'Sink.create' API wrapper and 'Client.sink' factory. by tseaver · Pull Request #1596 · googleapis/google-cloud-python · GitHub

Add 'Sink.create' API wrapper and 'Client.sink' factory. - #1596

Merged
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-sink_create
Mar 11, 2016
Merged

Add 'Sink.create' API wrapper and 'Client.sink' factory.#1596
tseaver merged 1 commit into
googleapis:logging-apifrom
tseaver:logging-sink_create

Conversation

tseaver commented Mar 10, 2016

Copy link
Copy Markdown
Contributor

This PR punts on any answer to #1591.

tseaver added the api: logging Issues related to the Cloud Logging API. label Mar 10, 2016
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 10, 2016
Comment thread gcloud/logging/client.py
return Logger(name, client=self)

def sink(self, name, filter_, destination):
"""Creates a sink bound to the current client.

This comment was marked as spam.

This comment was marked as spam.

dhermes commented Mar 11, 2016

Copy link
Copy Markdown
Contributor

Mostly looks good but

  • I don't know enough about what's being done to say LGTM
  • Merge conflicts

Comment thread gcloud/logging/client.py Outdated
"""
return Logger(name, client=self)

<<<<<<< HEAD

This comment was marked as spam.

This comment was marked as spam.

dhermes commented Mar 11, 2016

Copy link
Copy Markdown
Contributor

LGTM pending Travis. Squash if it pleases you.

I have found it quite easy in my workflow to do:

$ git checkout branch-working-on
$ git reset HEAD^
$ # Repeat for as many commits need to be squashed
$ git add -p .  # I make sure I am adding the right stuff
$ git commit --amend  # Just save it

and then the amend will add back the staged contents to the original base commit.

tseaver commented Mar 11, 2016

Copy link
Copy Markdown
Contributor Author

Squashed. I will merge after Travis passes.

tseaver commented Mar 11, 2016

Copy link
Copy Markdown
Contributor Author

I've been using git rebase -i <target branch> to fixup/squash/reword commit history.

tseaver added a commit that referenced this pull request Mar 11, 2016
Add 'Sink.create' API wrapper and 'Client.sink' factory.
tseaver merged commit 6f3d1a7 into googleapis:logging-api Mar 11, 2016
tseaver deleted the logging-sink_create branch March 11, 2016 20:59
parthea added a commit that referenced this pull request Nov 24, 2025
* feat: add generator option proto-plus-dep

* fix mypy

* fix style

* update goldens

* fix tests

* clean up

* clean up

* add support for dependency google-cloud-kms

* Address review comments

* add missing file

* run formatting tool

* style

* address review comments

* formatting

* address review feedback

* style

* add pypi package google-geo-type

* bump google-cloud-documentai dependency to 2.0.0

* address review comment

* add docstring

* address review comment

* fix docs
parthea pushed a commit that referenced this pull request Mar 9, 2026
* feat: provide option to update user_agent

fixes #1327

* make tests more readable and intuitive

* 🦉 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 pushed a commit that referenced this pull request Apr 1, 2026
* chore: add blob snippets

* fix lint

* polish

* fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the Cloud Logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL