Skip to content

[DO NOT MERGE] Propose new sample format - #1756

Closed
alixhami wants to merge 10 commits into
masterfrom
sample-proposal
Closed

alixhami wants to merge 10 commits into
masterfrom
sample-proposal

Conversation

@alixhami

Copy link
Copy Markdown
Contributor

Proposed template for auto generated Python samples.
See more details in the Node.js PR description.

@alixhami alixhami added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 12, 2018
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 12, 2018
@alixhami
alixhami force-pushed the sample-proposal branch 2 times, most recently from 995861d to b07e410 Compare October 15, 2018 20:56
Comment thread dlp/dlp_inspect_image_file.py Outdated


def inspect_image_file(project_id='YOUR_PROJECT_ID',
filepath='path/to/image.png'):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No hanging indents, please.

If you really wanna be clever run it through black.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Surprisingly, black wanted me to just have a long line that violates the 79 characters rule, so I didn't follow it. Fixed indentation in a8d248c.

Comment thread dlp/dlp_inspect_image_file.py Outdated


if __name__ == '__main__':
inspect_image_file(project_id=sys.argv[1], filepath=sys.argv[2])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is really less than ideal, as if the user tries to run without arguments this they will get a really unhelpful error.

@engelke

engelke commented Nov 20, 2018

Copy link
Copy Markdown
Contributor

Please address requested changes if this PR is still desired.

@googlebot

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

ℹ️ Googlers: Go here for more info.

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Feb 27, 2019
@leahecole

Copy link
Copy Markdown
Collaborator

@alixhami Reopen if still relevant, otherwise, closing.

@meredithslota

Copy link
Copy Markdown
Contributor

With the format guidelines updated in #2565 this feels obsolete. Ok to close?

@tmatsuo

tmatsuo commented Apr 22, 2020

Copy link
Copy Markdown
Contributor

Let's close this. Feel free to reopen.

@tmatsuo tmatsuo closed this Apr 22, 2020
@anguillanneuf
anguillanneuf deleted the sample-proposal branch November 3, 2021 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: no This human has *not* signed the Contributor License Agreement. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants