Skip to content
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

export aiplatform_v1beta1 as aiplatform.gapic_v1beta1 #17

Merged
merged 1 commit into from Oct 2, 2020

Conversation

dizcology
Copy link
Contributor

@dizcology dizcology commented Oct 1, 2020

DO NOT MERGE until confirmed about the approach.

Current user code (which will be broken after this change):

from google.cloud import aiplatform
dataset = aiplatform.Dataset(...)

Expected user code after this change:

from google.cloud.aiplatform import gapic_v1beta1
dataset = gapic_v1beta1.Dataset(...)

or

from google.cloud import aiplatform
dataset = aiplatform.gapic_v1beta1.Dataset(...)

@dizcology dizcology added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 1, 2020
@dizcology dizcology requested a review from a team as a code owner October 1, 2020 22:05
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 1, 2020
@vinnysenthil vinnysenthil removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 2, 2020
@vinnysenthil
Copy link
Contributor

Namespace change has been LGTM'd

@vinnysenthil vinnysenthil merged commit 337ec5c into googleapis:master Oct 2, 2020
@busunkim96
Copy link
Contributor

I'd prefer you actually create and put the code in that namespace. (i.e. move the code into google/cloud/aiplatform/gapic. There's a generator option to customize namespaces. (https://github.com/googleapis/googleapis/blob/b821f320473c8ec05a1c7fb9a496c958b1ab9834/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel#L161)

Is the goal to split the generated layer from handwritten bits?

@vinnysenthil
Copy link
Contributor

That is the goal, I'll let @dizcology follow up with a suggestion/decision.

@dizcology
Copy link
Contributor Author

sasha-gitg added a commit that referenced this pull request Oct 5, 2020
* Export aiplatform_v1beta1 as aiplatform.gapic_v1beta1 (#17)

Freeing up the google.cloud.aiplatform namespace for MB SDK

* GAPIC namespace (#20)

* name space google.cloud.aiplatform.gapic

Co-authored-by: Yu-Han Liu <yuhanliu@google.com>
busunkim96 added a commit that referenced this pull request Oct 20, 2020
* Export aiplatform_v1beta1 as aiplatform.gapic_v1beta1 (#17)

Freeing up the google.cloud.aiplatform namespace for MB SDK

* GAPIC namespace (#20)

* name space google.cloud.aiplatform.gapic

* Init Disclaimer (#28)

* clean up docstrings that are not rendered properly in reference doc (#24)

Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>

* fix: re-add py sessions to noxfile (#22)

* fix: re-add py sessions to noxfile

Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>

Co-authored-by: Yu-Han Liu <yuhanliu@google.com>
Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>
dizcology added a commit to dizcology/python-aiplatform that referenced this pull request Nov 30, 2020
* Export aiplatform_v1beta1 as aiplatform.gapic_v1beta1 (googleapis#17)

Freeing up the google.cloud.aiplatform namespace for MB SDK

* GAPIC namespace (googleapis#20)

* name space google.cloud.aiplatform.gapic

* Init Disclaimer (googleapis#28)

* clean up docstrings that are not rendered properly in reference doc (googleapis#24)

Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>

* fix: re-add py sessions to noxfile (googleapis#22)

* fix: re-add py sessions to noxfile

Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>

Co-authored-by: Yu-Han Liu <yuhanliu@google.com>
Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>
dizcology added a commit to dizcology/python-aiplatform that referenced this pull request Nov 30, 2020
* Export aiplatform_v1beta1 as aiplatform.gapic_v1beta1 (googleapis#17)

Freeing up the google.cloud.aiplatform namespace for MB SDK

* GAPIC namespace (googleapis#20)

* name space google.cloud.aiplatform.gapic

Co-authored-by: Yu-Han Liu <yuhanliu@google.com>
dizcology added a commit to dizcology/python-aiplatform that referenced this pull request Nov 30, 2020
* Export aiplatform_v1beta1 as aiplatform.gapic_v1beta1 (googleapis#17)

Freeing up the google.cloud.aiplatform namespace for MB SDK

* GAPIC namespace (googleapis#20)

* name space google.cloud.aiplatform.gapic

Co-authored-by: Yu-Han Liu <yuhanliu@google.com>
dizcology added a commit to dizcology/python-aiplatform that referenced this pull request Nov 30, 2020
* Export aiplatform_v1beta1 as aiplatform.gapic_v1beta1 (googleapis#17)

Freeing up the google.cloud.aiplatform namespace for MB SDK

* GAPIC namespace (googleapis#20)

* name space google.cloud.aiplatform.gapic

Co-authored-by: Yu-Han Liu <yuhanliu@google.com>
dizcology added a commit to dizcology/python-aiplatform that referenced this pull request Nov 30, 2020
* Export aiplatform_v1beta1 as aiplatform.gapic_v1beta1 (googleapis#17)

Freeing up the google.cloud.aiplatform namespace for MB SDK

* GAPIC namespace (googleapis#20)

* name space google.cloud.aiplatform.gapic

* Init Disclaimer (googleapis#28)

* clean up docstrings that are not rendered properly in reference doc (googleapis#24)

Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>

* fix: re-add py sessions to noxfile (googleapis#22)

* fix: re-add py sessions to noxfile

Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>

Co-authored-by: Yu-Han Liu <yuhanliu@google.com>
Co-authored-by: Vinny Senthil <vinnysenthil@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants