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

chore: fix the docs build in google-ai-generativelanguage #12335

Merged
merged 2 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Document(proto.Message):
Attributes:
name (str):
Immutable. Identifier. The ``Document`` resource name. The
ID (name excluding the "corpora/*/documents/" prefix) can
ID (name excluding the `corpora/*/documents/` prefix) can
contain up to 40 characters that are lowercase alphanumeric
or dashes (-). The ID cannot start or end with a dash. If
the name is empty on create, a unique name will be derived
Expand Down Expand Up @@ -315,7 +315,7 @@ class Chunk(proto.Message):
Attributes:
name (str):
Immutable. Identifier. The ``Chunk`` resource name. The ID
(name excluding the "corpora/*/documents/*/chunks/" prefix)
(name excluding the `corpora/*/documents/*/chunks/` prefix)
can contain up to 40 characters that are lowercase
alphanumeric or dashes (-). The ID cannot start or end with
a dash. If the name is empty on create, a random
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ async def sample_create_permission():
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down Expand Up @@ -473,11 +473,11 @@ async def sample_get_permission():
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down Expand Up @@ -729,11 +729,11 @@ async def sample_update_permission():
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,11 +764,11 @@ def sample_create_permission():
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down Expand Up @@ -894,11 +894,11 @@ def sample_get_permission():
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down Expand Up @@ -1150,11 +1150,11 @@ def sample_update_permission():
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,11 @@ def __call__(
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down Expand Up @@ -588,11 +588,11 @@ def __call__(
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down Expand Up @@ -882,11 +882,11 @@ def __call__(
role is a superset of the previous
role's permitted operations:

- reader can use the resource (e.g.
- reader can use the resource (e.g.
tuned model) for inference
- writer has reader's permissions and
- writer has reader's permissions and
additionally can edit and share
- owner has writer's permissions and
- owner has writer's permissions and
additionally can delete

"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ class Permission(proto.Message):
There are three concentric roles. Each role is a superset of the
previous role's permitted operations:

- reader can use the resource (e.g. tuned model) for inference
- writer has reader's permissions and additionally can edit and
- reader can use the resource (e.g. tuned model) for inference
- writer has reader's permissions and additionally can edit and
share
- owner has writer's permissions and additionally can delete
- owner has writer's permissions and additionally can delete


.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Expand Down
Loading