-
Notifications
You must be signed in to change notification settings - Fork 354
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
chore: upgrade GAPIC Metadata from v1beta1 to v1 and add experiment logging integration test #778
Conversation
…t logging integration test
|
||
def test_experiment_logging(self, shared_state): | ||
|
||
experiment_name = self._make_display_name("experiment")[:56] |
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.
what is 56? can you add a comment, same below
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.
I truncated the name because the service was throwing on resource id validation:
E google.api_core.exceptions.InvalidArgument: 400 User-specified resource ID must match the regular expression '[a-z0-9][a-z0-9-]{0,127}'
Interestingly, that exception was only thrown when creating the run(execution) below but not the experiment(context).
I'll add a comment.
@@ -113,6 +122,8 @@ | |||
types.job_state = types.job_state_v1 | |||
types.machine_resources = types.machine_resources_v1 | |||
types.manual_batch_tuning_parameters = types.manual_batch_tuning_parameters_v1 | |||
types.metadata_service = types.metadata_service_v1 | |||
types.metadata_store = types.metadata_store_v1 |
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.
do we need to add metadata_schema as well, or not because we don't use it?
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.
It's currently being unused. We'll add it once it's used.
LGTM |
LGTM |
LGTM |
closes #740
b/203427575
b/201659393