-
Notifications
You must be signed in to change notification settings - Fork 350
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
feat: initial generation of enhanced types #102
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will there need to be changes to google/cloud/aiplatform/gapic/init.py so the enhanced types are exported there? The user should be able to access them with, for example:
from google.cloud import aiplatform
trainingjob_definition = aiplatform.gapic.AutoMlForecasting(...)
@@ -0,0 +1,16 @@ | |||
# -*- coding: utf-8 -*- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should exclude schema/**/services/
in synth.py.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
...rm/v1beta1/schema/trainingjob/definition_v1beta1/types/export_evaluated_data_items_config.py
Show resolved
Hide resolved
No, that's not in the plan for a couple of reasons: 1) there are some message types that have different usages but the same names; and 2) the fully-qualified names of the types indicate their usage within the library. In the snippet you provided above, for example, there's nothing about |
Responded to comments, uploaded new commits. PTAL at your earliest convenience. Thank you! |
@@ -996,7 +996,7 @@ async def list_annotations( | |||
# and friendly error handling. | |||
rpc = gapic_v1.method_async.wrap_method( | |||
self._client._transport.list_annotations, | |||
default_timeout=None, | |||
default_timeout=5.0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an FYI, now that Bazel is being used the timeout values are pulled from the service config. If the timeouts seem too long/short please edit the service config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
a7c1793
to
324ffcb
Compare
This PR adds all of the new types for the enhanced client library, including the following modules: