feat: initial generation of enhanced types#102
Conversation
dizcology
left a comment
There was a problem hiding this comment.
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.
We should exclude schema/**/services/ in synth.py.
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! |
| 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.
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.
a7c1793 to
324ffcb
Compare
This PR adds all of the new types for the enhanced client library, including the following modules: