GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add services to aiplatform_v1beta1 (#367) · googleapis/python-aiplatform@beb4032

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .coveragerc
  • .github
    • header-checker-lint.yml
  • .gitignore
  • .kokoro
    • release.sh
    • release
      • common.cfg
  • .pre-commit-config.yaml
  • CONTRIBUTING.rst
  • docs
    • _static
      • custom.css
    • aiplatform_v1beta1
      • featurestore_online_serving_service.rst
      • featurestore_service.rst
      • index_endpoint_service.rst
      • index_service.rst
      • metadata_service.rst
      • services.rst
      • tensorboard_service.rst
    • conf.py
  • google/cloud
    • aiplatform_v1beta1
      • __init__.py
      • services
        • dataset_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • endpoint_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • featurestore_online_serving_service
          • __init__.py
          • async_client.py
          • client.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • featurestore_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • index_endpoint_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • index_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • job_service
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • metadata_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • migration_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • model_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • pipeline_service
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • prediction_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • specialist_pool_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • tensorboard_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • vizier_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
      • types
        • __init__.py
        • annotation.py
        • artifact.py
        • batch_prediction_job.py
        • context.py
        • custom_job.py
        • data_labeling_job.py
        • dataset.py
        • dataset_service.py
        • deployed_index_ref.py
        • endpoint.py
        • endpoint_service.py
        • entity_type.py
        • event.py
        • execution.py
        • explanation.py
        • explanation_metadata.py
        • feature.py
        • feature_monitoring_stats.py
        • feature_selector.py
        • featurestore.py
        • featurestore_monitoring.py
        • featurestore_online_service.py
        • featurestore_service.py
        • index.py
        • index_endpoint.py
        • index_endpoint_service.py
        • index_service.py
        • io.py
        • job_service.py
        • lineage_subgraph.py
        • machine_resources.py
        • metadata_schema.py
        • metadata_service.py
        • metadata_store.py
        • migration_service.py
        • model.py
        • model_deployment_monitoring_job.py
        • model_evaluation.py
        • model_evaluation_slice.py
        • model_monitoring.py
        • model_service.py
        • pipeline_job.py
        • pipeline_service.py
        • prediction_service.py
        • specialist_pool_service.py
        • study.py
        • tensorboard.py
        • tensorboard_data.py
        • tensorboard_experiment.py
        • tensorboard_run.py
        • tensorboard_service.py
        • tensorboard_time_series.py
        • training_pipeline.py
        • types.py
        • user_action_reference.py
        • value.py
        • vizier_service.py
    • aiplatform_v1
      • services
        • dataset_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • endpoint_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • job_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • migration_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • model_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • pipeline_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • prediction_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • specialist_pool_service
          • async_client.py
          • client.py
          • transports
            • base.py
            • grpc.py
            • grpc_asyncio.py
      • types
        • annotation.py
        • batch_prediction_job.py
        • custom_job.py
        • data_labeling_job.py
        • dataset.py
        • dataset_service.py
        • endpoint.py
        • endpoint_service.py
        • job_service.py
        • machine_resources.py
        • migration_service.py
        • model.py
        • model_evaluation.py
        • model_evaluation_slice.py
        • model_service.py
        • pipeline_service.py
        • prediction_service.py
        • specialist_pool_service.py
        • training_pipeline.py
  • noxfile.py
  • renovate.json
  • synth.py
  • testing
    • constraints-3.8.txt
    • constraints-3.9.txt
  • tests/unit/gapic
    • aiplatform_v1beta1
      • test_dataset_service.py
      • test_endpoint_service.py
      • test_featurestore_online_serving_service.py
      • test_featurestore_service.py
      • test_index_endpoint_service.py
      • test_index_service.py
      • test_job_service.py
      • test_metadata_service.py
      • test_migration_service.py
      • test_model_service.py
      • test_pipeline_service.py
      • test_specialist_pool_service.py
      • test_tensorboard_service.py
      • test_vizier_service.py
    • aiplatform_v1
      • test_dataset_service.py
      • test_endpoint_service.py
      • test_job_service.py
      • test_migration_service.py
      • test_model_service.py
      • test_pipeline_service.py
      • test_specialist_pool_service.py

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.coveragerc‎

Copy file name to clipboardExpand all lines: .coveragerc
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
branch = True
33

44
[report]
5-
fail_under = 99
5+
fail_under = 100
66
show_missing = True
77
omit =
8-
.nox/*
8+
google/cloud/aiplatform/v1/schema/trainingjob/definition/__init__.py
99
exclude_lines =
1010
# Re-enable the standard pragma
1111
pragma: NO COVER
@@ -15,4 +15,4 @@ exclude_lines =
1515
# This is added at the module level as a safeguard for if someone
1616
# generates the code and tries to run it without pip installing. This
1717
# makes it virtually impossible to test properly.
18-
except pkg_resources.DistributionNotFound
18+
except pkg_resources.DistributionNotFound
Collapse file

‎.github/header-checker-lint.yml‎

Copy file name to clipboardExpand all lines: .github/header-checker-lint.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{"allowedCopyrightHolders": ["Google LLC"],
22
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
3-
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"],
3+
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt", "**/__init__.py", "samples/**/constraints.txt", "samples/**/constraints-test.txt"],
44
"sourceFileExtensions": [
55
"ts",
66
"js",
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ pip-log.txt
2626

2727
# Unit test / coverage reports
2828
.coverage
29-
.coverage.*
3029
.nox
3130
.cache
3231
.pytest_cache
Collapse file

‎.kokoro/release.sh‎

Copy file name to clipboardExpand all lines: .kokoro/release.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ python3 -m pip install --upgrade twine wheel setuptools
2626
export PYTHONUNBUFFERED=1
2727

2828
# Move into the package, build the distribution and upload.
29-
TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google_cloud_pypi_password")
29+
TWINE_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secret_manager/google-cloud-pypi-token")
3030
cd github/python-aiplatform
3131
python3 setup.py sdist bdist_wheel
32-
twine upload --username gcloudpypi --password "${TWINE_PASSWORD}" dist/*
32+
twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/*
Collapse file

‎.kokoro/release/common.cfg‎

Copy file name to clipboardExpand all lines: .kokoro/release/common.cfg
+2-12Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,8 @@ env_vars: {
2323
value: "github/python-aiplatform/.kokoro/release.sh"
2424
}
2525

26-
# Fetch PyPI password
27-
before_action {
28-
fetch_keystore {
29-
keystore_resource {
30-
keystore_config_id: 73713
31-
keyname: "google_cloud_pypi_password"
32-
}
33-
}
34-
}
35-
3626
# Tokens needed to report release status back to GitHub
3727
env_vars: {
3828
key: "SECRET_MANAGER_KEYS"
39-
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
40-
}
29+
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem,google-cloud-pypi-token"
30+
}
Collapse file

‎.pre-commit-config.yaml‎

Copy file name to clipboardExpand all lines: .pre-commit-config.yaml
+15-1Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
115
# See https://pre-commit.com for more information
216
# See https://pre-commit.com/hooks.html for more hooks
317
repos:
@@ -12,6 +26,6 @@ repos:
1226
hooks:
1327
- id: black
1428
- repo: https://gitlab.com/pycqa/flake8
15-
rev: 3.8.4
29+
rev: 3.9.1
1630
hooks:
1731
- id: flake8
Collapse file

‎CONTRIBUTING.rst‎

Copy file name to clipboardExpand all lines: CONTRIBUTING.rst
+1-15Lines changed: 1 addition & 15 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -160,21 +160,7 @@ Running System Tests
160160
auth settings and change some configuration in your project to
161161
run all the tests.
162162

163-
- System tests will be run against an actual project and
164-
so you'll need to provide some environment variables to facilitate
165-
authentication to your project:
166-
167-
- ``GOOGLE_APPLICATION_CREDENTIALS``: The path to a JSON key file;
168-
Such a file can be downloaded directly from the developer's console by clicking
169-
"Generate new JSON key". See private key
170-
`docs <https://cloud.google.com/storage/docs/authentication#generating-a-private-key>`__
171-
for more details.
172-
173-
- Once you have downloaded your json keys, set the environment variable
174-
``GOOGLE_APPLICATION_CREDENTIALS`` to the absolute path of the json file::
175-
176-
$ export GOOGLE_APPLICATION_CREDENTIALS="/Users/<your_username>/path/to/app_credentials.json"
177-
163+
- System tests will be run against an actual project. You should use local credentials from gcloud when possible. See `Best practices for application authentication <https://cloud.google.com/docs/authentication/best-practices-applications#local_development_and_testing_with_the>`__. Some tests require a service account. For those tests see `Authenticating as a service account <https://cloud.google.com/docs/authentication/production>`__.
178164

179165
*************
180166
Test Coverage
Collapse file

‎docs/_static/custom.css‎

Copy file name to clipboard
+12-1Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
div#python2-eol {
22
border-color: red;
33
border-width: medium;
4-
}
4+
}
55

66
/* Ensure minimum width for 'Parameters' / 'Returns' column */
77
dl.field-list > dt {
88
min-width: 100px
99
}
10+
11+
/* Insert space between methods for readability */
12+
dl.method {
13+
padding-top: 10px;
14+
padding-bottom: 10px
15+
}
16+
17+
/* Insert empty space between classes */
18+
dl.class {
19+
padding-bottom: 50px
20+
}
Collapse file

‎docs/aiplatform_v1beta1/featurestore_online_serving_service.rst‎

Copy file name to clipboard
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FeaturestoreOnlineServingService
2+
--------------------------------------------------
3+
4+
.. automodule:: google.cloud.aiplatform_v1beta1.services.featurestore_online_serving_service
5+
:members:
6+
:inherited-members:
Collapse file

‎docs/aiplatform_v1beta1/featurestore_service.rst‎

Copy file name to clipboard
+11Lines changed: 11 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FeaturestoreService
2+
-------------------------------------
3+
4+
.. automodule:: google.cloud.aiplatform_v1beta1.services.featurestore_service
5+
:members:
6+
:inherited-members:
7+
8+
9+
.. automodule:: google.cloud.aiplatform_v1beta1.services.featurestore_service.pagers
10+
:members:
11+
:inherited-members:

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.