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: python-aiplatform beta library (#39) · meken/python-aiplatform@81366dc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .kokoro
    • docs
      • common.cfg
    • test-samples.sh
  • CODE_OF_CONDUCT.md
  • docs
    • aiplatform_v1beta1
      • services.rst
      • types.rst
    • conf.py
  • google/cloud
    • aiplatform_v1beta1
      • __init__.py
      • services
        • dataset_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • endpoint_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • job_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • migration_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • model_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • pipeline_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • prediction_service
          • __init__.py
          • async_client.py
          • client.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
        • specialist_pool_service
          • __init__.py
          • async_client.py
          • client.py
          • pagers.py
          • transports
            • __init__.py
            • base.py
            • grpc.py
            • grpc_asyncio.py
      • types
        • __init__.py
        • annotation.py
        • annotation_spec.py
        • batch_prediction_job.py
        • completion_stats.py
        • custom_job.py
        • data_item.py
        • data_labeling_job.py
        • dataset.py
        • dataset_service.py
        • deployed_model_ref.py
        • endpoint.py
        • endpoint_service.py
        • env_var.py
        • explanation.py
        • explanation_metadata.py
        • hyperparameter_tuning_job.py
        • job_service.py
        • machine_resources.py
        • migratable_resource.py
        • migration_service.py
        • model.py
        • model_evaluation.py
        • model_evaluation_slice.py
        • model_service.py
        • operation.py
        • pipeline_service.py
        • prediction_service.py
        • specialist_pool.py
        • specialist_pool_service.py
        • study.py
        • training_pipeline.py
        • user_action_reference.py
    • aiplatform
      • __init__.py
  • mypy.ini
  • noxfile.py
  • scripts
    • fixup_aiplatform_v1beta1_keywords.py
  • setup.py
  • synth.metadata
  • synth.py
  • tests/unit/gapic
    • aiplatform_v1beta1
      • __init__.py
      • 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_prediction_service.py
      • test_specialist_pool_service.py
    • test_dataset_service.py
    • test_endpoint_service.py
    • test_job_service.py
    • test_model_service.py
    • test_pipeline_service.py
    • test_prediction_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

‎.kokoro/docs/common.cfg‎

Copy file name to clipboardExpand all lines: .kokoro/docs/common.cfg
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env_vars: {
3030

3131
env_vars: {
3232
key: "V2_STAGING_BUCKET"
33-
value: "docs-staging-v2-staging"
33+
value: "docs-staging-v2"
3434
}
3535

3636
# It will upload the docker image after successful builds.
Collapse file

‎.kokoro/test-samples.sh‎

Copy file name to clipboardExpand all lines: .kokoro/test-samples.sh
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
2828
git checkout $LATEST_RELEASE
2929
fi
3030

31+
# Exit early if samples directory doesn't exist
32+
if [ ! -d "./samples" ]; then
33+
echo "No tests run. `./samples` not found"
34+
exit 0
35+
fi
36+
3137
# Disable buffering, so that the logs stream through.
3238
export PYTHONUNBUFFERED=1
3339

@@ -101,4 +107,4 @@ cd "$ROOT"
101107
# Workaround for Kokoro permissions issue: delete secrets
102108
rm testing/{test-env.sh,client-secrets.json,service-account.json}
103109

104-
exit "$RTN"
110+
exit "$RTN"
Collapse file

‎CODE_OF_CONDUCT.md‎

Copy file name to clipboard
+87-36Lines changed: 87 additions & 36 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,95 @@
11
<!-- # Generated by synthtool. DO NOT EDIT! !-->
2-
# Contributor Code of Conduct
2+
# Code of Conduct
33

4-
As contributors and maintainers of this project,
5-
and in the interest of fostering an open and welcoming community,
6-
we pledge to respect all people who contribute through reporting issues,
7-
posting feature requests, updating documentation,
8-
submitting pull requests or patches, and other activities.
4+
## Our Pledge
95

10-
We are committed to making participation in this project
11-
a harassment-free experience for everyone,
12-
regardless of level of experience, gender, gender identity and expression,
13-
sexual orientation, disability, personal appearance,
14-
body size, race, ethnicity, age, religion, or nationality.
6+
In the interest of fostering an open and welcoming environment, we as
7+
contributors and maintainers pledge to making participation in our project and
8+
our community a harassment-free experience for everyone, regardless of age, body
9+
size, disability, ethnicity, gender identity and expression, level of
10+
experience, education, socio-economic status, nationality, personal appearance,
11+
race, religion, or sexual identity and orientation.
12+
13+
## Our Standards
14+
15+
Examples of behavior that contributes to creating a positive environment
16+
include:
17+
18+
* Using welcoming and inclusive language
19+
* Being respectful of differing viewpoints and experiences
20+
* Gracefully accepting constructive criticism
21+
* Focusing on what is best for the community
22+
* Showing empathy towards other community members
1523

1624
Examples of unacceptable behavior by participants include:
1725

18-
* The use of sexualized language or imagery
19-
* Personal attacks
20-
* Trolling or insulting/derogatory comments
21-
* Public or private harassment
22-
* Publishing other's private information,
23-
such as physical or electronic
24-
addresses, without explicit permission
25-
* Other unethical or unprofessional conduct.
26+
* The use of sexualized language or imagery and unwelcome sexual attention or
27+
advances
28+
* Trolling, insulting/derogatory comments, and personal or political attacks
29+
* Public or private harassment
30+
* Publishing others' private information, such as a physical or electronic
31+
address, without explicit permission
32+
* Other conduct which could reasonably be considered inappropriate in a
33+
professional setting
34+
35+
## Our Responsibilities
36+
37+
Project maintainers are responsible for clarifying the standards of acceptable
38+
behavior and are expected to take appropriate and fair corrective action in
39+
response to any instances of unacceptable behavior.
2640

2741
Project maintainers have the right and responsibility to remove, edit, or reject
28-
comments, commits, code, wiki edits, issues, and other contributions
29-
that are not aligned to this Code of Conduct.
30-
By adopting this Code of Conduct,
31-
project maintainers commit themselves to fairly and consistently
32-
applying these principles to every aspect of managing this project.
33-
Project maintainers who do not follow or enforce the Code of Conduct
34-
may be permanently removed from the project team.
35-
36-
This code of conduct applies both within project spaces and in public spaces
37-
when an individual is representing the project or its community.
38-
39-
Instances of abusive, harassing, or otherwise unacceptable behavior
40-
may be reported by opening an issue
41-
or contacting one or more of the project maintainers.
42-
43-
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0,
44-
available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)
42+
comments, commits, code, wiki edits, issues, and other contributions that are
43+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
44+
contributor for other behaviors that they deem inappropriate, threatening,
45+
offensive, or harmful.
46+
47+
## Scope
48+
49+
This Code of Conduct applies both within project spaces and in public spaces
50+
when an individual is representing the project or its community. Examples of
51+
representing a project or community include using an official project e-mail
52+
address, posting via an official social media account, or acting as an appointed
53+
representative at an online or offline event. Representation of a project may be
54+
further defined and clarified by project maintainers.
55+
56+
This Code of Conduct also applies outside the project spaces when the Project
57+
Steward has a reasonable belief that an individual's behavior may have a
58+
negative impact on the project or its community.
59+
60+
## Conflict Resolution
61+
62+
We do not believe that all conflict is bad; healthy debate and disagreement
63+
often yield positive results. However, it is never okay to be disrespectful or
64+
to engage in behavior that violates the project’s code of conduct.
65+
66+
If you see someone violating the code of conduct, you are encouraged to address
67+
the behavior directly with those involved. Many issues can be resolved quickly
68+
and easily, and this gives people more control over the outcome of their
69+
dispute. If you are unable to resolve the matter for any reason, or if the
70+
behavior is threatening or harassing, report it. We are dedicated to providing
71+
an environment where participants feel welcome and safe.
72+
73+
74+
Reports should be directed to *[email protected]*, the
75+
Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to
76+
receive and address reported violations of the code of conduct. They will then
77+
work with a committee consisting of representatives from the Open Source
78+
Programs Office and the Google Open Source Strategy team. If for any reason you
79+
are uncomfortable reaching out to the Project Steward, please email
80+
[email protected].
81+
82+
We will investigate every complaint, but you may not receive a direct response.
83+
We will use our discretion in determining when and how to follow up on reported
84+
incidents, which may range from not taking action to permanent expulsion from
85+
the project and project-sponsored spaces. We will notify the accused of the
86+
report and provide them an opportunity to discuss it before any action is taken.
87+
The identity of the reporter will be omitted from the details of the report
88+
supplied to the accused. In potentially harmful situations, such as ongoing
89+
harassment or threats to anyone's safety, we may take action without notice.
90+
91+
## Attribution
92+
93+
This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
94+
available at
95+
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
Collapse file

‎docs/aiplatform_v1beta1/services.rst‎

Copy file name to clipboard
+24-3Lines changed: 24 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
1-
Client for Google Cloud Aiplatform API
2-
======================================
1+
Services for Google Cloud Aiplatform v1beta1 API
2+
================================================
33

4-
.. automodule:: google.cloud.aiplatform_v1beta1
4+
.. automodule:: google.cloud.aiplatform_v1beta1.services.dataset_service
5+
:members:
6+
:inherited-members:
7+
.. automodule:: google.cloud.aiplatform_v1beta1.services.endpoint_service
8+
:members:
9+
:inherited-members:
10+
.. automodule:: google.cloud.aiplatform_v1beta1.services.job_service
11+
:members:
12+
:inherited-members:
13+
.. automodule:: google.cloud.aiplatform_v1beta1.services.migration_service
14+
:members:
15+
:inherited-members:
16+
.. automodule:: google.cloud.aiplatform_v1beta1.services.model_service
17+
:members:
18+
:inherited-members:
19+
.. automodule:: google.cloud.aiplatform_v1beta1.services.pipeline_service
20+
:members:
21+
:inherited-members:
22+
.. automodule:: google.cloud.aiplatform_v1beta1.services.prediction_service
23+
:members:
24+
:inherited-members:
25+
.. automodule:: google.cloud.aiplatform_v1beta1.services.specialist_pool_service
526
:members:
627
:inherited-members:
Collapse file

‎docs/aiplatform_v1beta1/types.rst‎

Copy file name to clipboard
+3-2Lines changed: 3 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Types for Google Cloud Aiplatform API
2-
=====================================
1+
Types for Google Cloud Aiplatform v1beta1 API
2+
=============================================
33

44
.. automodule:: google.cloud.aiplatform_v1beta1.types
55
:members:
6+
:show-inheritance:
Collapse file

‎docs/conf.py‎

Copy file name to clipboardExpand all lines: docs/conf.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@
349349
"google-auth": ("https://google-auth.readthedocs.io/en/stable", None),
350350
"google.api_core": ("https://googleapis.dev/python/google-api-core/latest/", None,),
351351
"grpc": ("https://grpc.io/grpc/python/", None),
352+
"proto-plus": ("https://proto-plus-python.readthedocs.io/en/latest/", None),
352353
}
353354

354355

Collapse file

‎google/cloud/aiplatform/__init__.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform/__init__.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@
1515
# limitations under the License.
1616
#
1717

18-
__all__ = ()
18+
from google.cloud.aiplatform import gapic
19+
20+
__all__ = (gapic,)
Collapse file

‎google/cloud/aiplatform_v1beta1/__init__.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/__init__.py
+28-1Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
# limitations under the License.
1616
#
1717

18-
1918
from .services.dataset_service import DatasetServiceClient
2019
from .services.endpoint_service import EndpointServiceClient
2120
from .services.job_service import JobServiceClient
21+
from .services.migration_service import MigrationServiceClient
2222
from .services.model_service import ModelServiceClient
2323
from .services.pipeline_service import PipelineServiceClient
2424
from .services.prediction_service import PredictionServiceClient
@@ -81,8 +81,12 @@
8181
from .types.explanation import Explanation
8282
from .types.explanation import ExplanationParameters
8383
from .types.explanation import ExplanationSpec
84+
from .types.explanation import FeatureNoiseSigma
85+
from .types.explanation import IntegratedGradientsAttribution
8486
from .types.explanation import ModelExplanation
8587
from .types.explanation import SampledShapleyAttribution
88+
from .types.explanation import SmoothGradConfig
89+
from .types.explanation import XraiAttribution
8690
from .types.explanation_metadata import ExplanationMetadata
8791
from .types.hyperparameter_tuning_job import HyperparameterTuningJob
8892
from .types.io import BigQueryDestination
@@ -118,9 +122,18 @@
118122
from .types.machine_resources import AutomaticResources
119123
from .types.machine_resources import BatchDedicatedResources
120124
from .types.machine_resources import DedicatedResources
125+
from .types.machine_resources import DiskSpec
121126
from .types.machine_resources import MachineSpec
122127
from .types.machine_resources import ResourcesConsumed
123128
from .types.manual_batch_tuning_parameters import ManualBatchTuningParameters
129+
from .types.migratable_resource import MigratableResource
130+
from .types.migration_service import BatchMigrateResourcesOperationMetadata
131+
from .types.migration_service import BatchMigrateResourcesRequest
132+
from .types.migration_service import BatchMigrateResourcesResponse
133+
from .types.migration_service import MigrateResourceRequest
134+
from .types.migration_service import MigrateResourceResponse
135+
from .types.migration_service import SearchMigratableResourcesRequest
136+
from .types.migration_service import SearchMigratableResourcesResponse
124137
from .types.model import Model
125138
from .types.model import ModelContainerSpec
126139
from .types.model import Port
@@ -186,6 +199,9 @@
186199
"Attribution",
187200
"AutomaticResources",
188201
"BatchDedicatedResources",
202+
"BatchMigrateResourcesOperationMetadata",
203+
"BatchMigrateResourcesRequest",
204+
"BatchMigrateResourcesResponse",
189205
"BatchPredictionJob",
190206
"BigQueryDestination",
191207
"BigQuerySource",
@@ -229,6 +245,7 @@
229245
"DeployModelResponse",
230246
"DeployedModel",
231247
"DeployedModelRef",
248+
"DiskSpec",
232249
"Endpoint",
233250
"EndpointServiceClient",
234251
"EnvVar",
@@ -245,6 +262,7 @@
245262
"ExportModelOperationMetadata",
246263
"ExportModelRequest",
247264
"ExportModelResponse",
265+
"FeatureNoiseSigma",
248266
"FilterSplit",
249267
"FractionSplit",
250268
"GcsDestination",
@@ -268,6 +286,7 @@
268286
"ImportDataRequest",
269287
"ImportDataResponse",
270288
"InputDataConfig",
289+
"IntegratedGradientsAttribution",
271290
"JobServiceClient",
272291
"JobState",
273292
"ListAnnotationsRequest",
@@ -299,6 +318,10 @@
299318
"MachineSpec",
300319
"ManualBatchTuningParameters",
301320
"Measurement",
321+
"MigratableResource",
322+
"MigrateResourceRequest",
323+
"MigrateResourceResponse",
324+
"MigrationServiceClient",
302325
"Model",
303326
"ModelContainerSpec",
304327
"ModelEvaluation",
@@ -318,6 +341,9 @@
318341
"SampleConfig",
319342
"SampledShapleyAttribution",
320343
"Scheduling",
344+
"SearchMigratableResourcesRequest",
345+
"SearchMigratableResourcesResponse",
346+
"SmoothGradConfig",
321347
"SpecialistPool",
322348
"SpecialistPoolServiceClient",
323349
"StudySpec",
@@ -338,5 +364,6 @@
338364
"UploadModelResponse",
339365
"UserActionReference",
340366
"WorkerPoolSpec",
367+
"XraiAttribution",
341368
"DatasetServiceClient",
342369
)
Collapse file

‎google/cloud/aiplatform_v1beta1/services/dataset_service/__init__.py‎

Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/dataset_service/__init__.py
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@
1616
#
1717

1818
from .client import DatasetServiceClient
19+
from .async_client import DatasetServiceAsyncClient
1920

20-
__all__ = ("DatasetServiceClient",)
21+
__all__ = (
22+
"DatasetServiceClient",
23+
"DatasetServiceAsyncClient",
24+
)

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.