-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updates python-aiplatform to v1 (#212)
* feat: updates python-aiplatform to v1 * fix: adjusts import statement * chore: adds v1 as default aiplatform * fix: more changes to gapic/__init__.py * fix: reverted explainability samples to v1beta1 * fix: sample failures due to v1beta1 features
- Loading branch information
Showing
330 changed files
with
65,473 additions
and
2,524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[run] | ||
branch = True | ||
|
||
[report] | ||
fail_under = 100 | ||
show_missing = True | ||
omit = | ||
google/cloud/aiplatform/v1/schema/trainingjob/definition/__init__.py | ||
exclude_lines = | ||
# Re-enable the standard pragma | ||
pragma: NO COVER | ||
# Ignore debug-only repr | ||
def __repr__ | ||
# Ignore pkg_resources exceptions. | ||
# This is added at the module level as a safeguard for if someone | ||
# generates the code and tries to run it without pip installing. This | ||
# makes it virtually impossible to test properly. | ||
except pkg_resources.DistributionNotFound |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ exclude = | |
*_pb2.py | ||
|
||
# Standard linting exemptions. | ||
**/.nox/** | ||
__pycache__, | ||
.git, | ||
*.pyc, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{"allowedCopyrightHolders": ["Google LLC"], | ||
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"], | ||
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"], | ||
"sourceFileExtensions": [ | ||
"ts", | ||
"js", | ||
"java", | ||
"sh", | ||
"Dockerfile", | ||
"yaml", | ||
"py", | ||
"html", | ||
"txt" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- repo: https://github.com/psf/black | ||
rev: 19.10b0 | ||
hooks: | ||
- id: black | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.4 | ||
hooks: | ||
- id: flake8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
div#python2-eol { | ||
border-color: red; | ||
border-width: medium; | ||
} | ||
} | ||
|
||
/* Ensure minimum width for 'Parameters' / 'Returns' column */ | ||
dl.field-list > dt { | ||
min-width: 100px | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
DatasetService | ||
-------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.dataset_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.dataset_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
EndpointService | ||
--------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.endpoint_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.endpoint_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
JobService | ||
---------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.job_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.job_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MigrationService | ||
---------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.migration_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.migration_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ModelService | ||
------------------------------ | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.model_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.model_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
PipelineService | ||
--------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.pipeline_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.pipeline_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
PredictionService | ||
----------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.prediction_service | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Services for Google Cloud Aiplatform v1 API | ||
=========================================== | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
dataset_service | ||
endpoint_service | ||
job_service | ||
migration_service | ||
model_service | ||
pipeline_service | ||
prediction_service | ||
specialist_pool_service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
SpecialistPoolService | ||
--------------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.specialist_pool_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1.services.specialist_pool_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Types for Google Cloud Aiplatform v1 API | ||
======================================== | ||
|
||
.. automodule:: google.cloud.aiplatform_v1.types | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
DatasetService | ||
-------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.dataset_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.dataset_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
EndpointService | ||
--------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.endpoint_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.endpoint_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
JobService | ||
---------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.job_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.job_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
MigrationService | ||
---------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.migration_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.migration_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ModelService | ||
------------------------------ | ||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.model_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.model_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
PipelineService | ||
--------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.pipeline_service | ||
:members: | ||
:inherited-members: | ||
|
||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.pipeline_service.pagers | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
PredictionService | ||
----------------------------------- | ||
|
||
.. automodule:: google.cloud.aiplatform_v1beta1.services.prediction_service | ||
:members: | ||
:inherited-members: |
Oops, something went wrong.