Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

export aiplatform_v1beta1 as aiplatform.gapic_v1beta1#17

Merged
vinnysenthil merged 1 commit into
googleapis:mastergoogleapis/python-aiplatform:masterfrom
dizcology:gapic-namespacedizcology/python-aiplatform:gapic-namespaceCopy head branch name to clipboard
Oct 2, 2020
Merged

export aiplatform_v1beta1 as aiplatform.gapic_v1beta1#17
vinnysenthil merged 1 commit into
googleapis:mastergoogleapis/python-aiplatform:masterfrom
dizcology:gapic-namespacedizcology/python-aiplatform:gapic-namespaceCopy head branch name to clipboard

Conversation

@dizcology

@dizcology dizcology commented Oct 1, 2020

Copy link
Copy Markdown
Contributor

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 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
Copy Markdown
Contributor

Namespace change has been LGTM'd

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@dizcology

Copy link
Copy Markdown
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.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.