GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — automl beta by sirtorry · Pull Request #1575 · GoogleCloudPlatform/python-docs-samples Conversation
sirtorry
force-pushed
the
automl
branch
4 times, most recently
from
23d0f49 to
8153edf
Compare
crwilcox
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you explain why you need to be able to get the operation status? If you think there is a legitimate use case for this we may want to consider adding a method on the client object for this, since you are relying on an internal object here.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these training jobs can be long running, up to a day.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alright. I am going to create an issue on the library for us to consider this as a change. Thanks!
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not 100% sure but I think response.operation.refresh() will give the current status.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what would response be in response.operation.refresh()?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
happyhuman
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have only reviewed automl_natural_language_dataset.py so far. Most of my comments are applicable to all sample functions and in other python files too, so I avoided to duplicate them. I will review other files soon.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was told we are supposed to start using LLC instead of Inc from now on.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need region tags for imports too? I did not know.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. removed
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tim Swast advised me to put the region tags inside the function body. He told me this is the new standard.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe for samples this import should be inside the function body. That way then the code snippet is selected using the region tags, the imports will also be included in the selected snippet.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You need these comment lines here (or something like this): The reason is that once the function body is selected to be shown in some web page using the region tags, these comments tell the user what these parameters should be.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nothing wrong with the lines above, a more compact way is of course:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. doesn't really affect snippet quality or functionality. won't fix.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above comments. Region tag should be inside the function body.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This too should be inside the function
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line can be simplified to:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. doesn't affect snippet quality or functionality. won't fix.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line can be simplified to:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. doesn't affect snippet quality or functionality. won't fix.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
happyhuman
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is quite a large PR. It will be great to have smaller PR's in the future. I will LGTM it, but it will be a good idea to review it in more details later on.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
busunkim96
pushed a commit
to busunkim96/python-automl
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
busunkim96
pushed a commit
to googleapis/python-automl
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
busunkim96
pushed a commit
to googleapis/python-translate
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
busunkim96
pushed a commit
to googleapis/python-translate
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
busunkim96
pushed a commit
to googleapis/python-automl
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
busunkim96
pushed a commit
to googleapis/python-automl
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
hkdevandla
pushed a commit
to hkdevandla/python-language
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
busunkim96
pushed a commit
to googleapis/python-language
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
8 tasks
telpirion
pushed a commit
that referenced
this pull request
arbrown
pushed a commit
that referenced
this pull request
8 tasks
dandhlee
pushed a commit
that referenced
this pull request
m-strzelczyk
pushed a commit
that referenced
this pull request
8 tasks
dandhlee
pushed a commit
that referenced
this pull request
parthea
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
parthea
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
parthea
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
* automl initial commit * lint * fix import groupings * add requirements.txt * address review comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reviewers+1 more reviewerUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
cla: yes
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |