| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Since there is no ReadMe for this sample, do the docs mention the new environment variable "DATALABELING_ENDPOINT"?
Sorry, something went wrong.
| endpoint = DataLabelingServiceSettings.getDefaultEndpoint(); | ||
| } | ||
|
|
||
| try (DataLabelingServiceClient dataLabelingServiceClient = |
There was a problem hiding this comment.
Please add comments to each file, that this is unnecessary for users to do or something to that effect.
Sorry, something went wrong.
There was a problem hiding this comment.
+1. We should also add a comment why this is necessary for these snippets, and try to hide this portion from being staged in the documentation.
Sorry, something went wrong.
There was a problem hiding this comment.
nit: It would be nice to still add a comment here (doesn't need to be in the staged version) to explain the extra code.
Sorry, something went wrong.
|
Tests are not passing now that the variable typo was fixed. |
Sorry, something went wrong.
| endpoint = DataLabelingServiceSettings.getDefaultEndpoint(); | ||
| } | ||
|
|
||
| try (DataLabelingServiceClient dataLabelingServiceClient = |
There was a problem hiding this comment.
+1. We should also add a comment why this is necessary for these snippets, and try to hide this portion from being staged in the documentation.
Sorry, something went wrong.
|
Justin suggested talking to Jeff Ching about moving this sample into the Datalabeling repo so that the tests are only triggered when an actual change to datalabeling goes through, instead of changing the endpoint we're targeting, so I'm going to check with him before submitting. |
Sorry, something went wrong.
|
@dzlier-gcp Perhaps we should submit this now so that the current integration tests stop, and then move it in a different PR |
Sorry, something went wrong.
* Use test endpoint for datalabeling integration tests. * Fix formatting * Fix typo * Fix formatting * Add quotes to variable * Add execeptions to method signitures.
* Use test endpoint for datalabeling integration tests. * Fix formatting * Fix typo * Fix formatting * Add quotes to variable * Add execeptions to method signitures.
| Back | FazBrowse Home | New Git URL |
No description provided.