Skip to content

Commit d8e03c3

Browse files
committed
update owlbot.py to pull in changes from gapic generator
1 parent c673117 commit d8e03c3

40 files changed

+25
-8070
lines changed

google/cloud/bigquery_v2/types/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
from .encryption_config import EncryptionConfiguration
16+
from .encryption_config import (
17+
EncryptionConfiguration,
18+
)
1719
from .model import (
1820
DeleteModelRequest,
1921
GetModelRequest,
@@ -22,14 +24,18 @@
2224
Model,
2325
PatchModelRequest,
2426
)
25-
from .model_reference import ModelReference
27+
from .model_reference import (
28+
ModelReference,
29+
)
2630
from .standard_sql import (
2731
StandardSqlDataType,
2832
StandardSqlField,
2933
StandardSqlStructType,
3034
StandardSqlTableType,
3135
)
32-
from .table_reference import TableReference
36+
from .table_reference import (
37+
TableReference,
38+
)
3339

3440
__all__ = (
3541
"EncryptionConfiguration",

google/cloud/bigquery_v2/types/model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Model(proto.Message):
5555
model.
5656
friendly_name (str):
5757
Optional. A descriptive name for this model.
58-
labels (Sequence[google.cloud.bigquery_v2.types.Model.LabelsEntry]):
58+
labels (Mapping[str, str]):
5959
The labels associated with this model. You
6060
can use these to organize and group your models.
6161
Label keys and values can be no longer than 63
@@ -95,7 +95,7 @@ class Model(proto.Message):
9595
used to train this model.
9696
label_columns (Sequence[google.cloud.bigquery_v2.types.StandardSqlField]):
9797
Output only. Label columns that were used to train this
98-
model. The output of the model will have a `predicted_`
98+
model. The output of the model will have a "predicted_"
9999
prefix to these columns.
100100
best_trial_id (int):
101101
The best trial_id across all training runs.
@@ -1200,7 +1200,7 @@ class TrainingOptions(proto.Message):
12001200
initial_learn_rate (float):
12011201
Specifies the initial learning rate for the
12021202
line search learn rate strategy.
1203-
label_class_weights (Sequence[google.cloud.bigquery_v2.types.Model.TrainingRun.TrainingOptions.LabelClassWeightsEntry]):
1203+
label_class_weights (Mapping[str, float]):
12041204
Weights associated with each label class, for
12051205
rebalancing the training data. Only applicable
12061206
for classification models.

owl-bot-staging/v2/.coveragerc

Lines changed: 0 additions & 17 deletions
This file was deleted.

owl-bot-staging/v2/.flake8

Lines changed: 0 additions & 33 deletions
This file was deleted.

owl-bot-staging/v2/MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

owl-bot-staging/v2/README.rst

Lines changed: 0 additions & 49 deletions
This file was deleted.

owl-bot-staging/v2/docs/bigquery_v2/model_service.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

owl-bot-staging/v2/docs/bigquery_v2/services.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

owl-bot-staging/v2/docs/bigquery_v2/types.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)