Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Jun 11, 2024
1 parent b569920 commit 30a216f
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
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 @@ -352,11 +352,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 @@ -483,11 +483,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 @@ -741,11 +741,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 @@ -781,11 +781,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 @@ -909,11 +909,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 @@ -1161,11 +1161,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

0 comments on commit 30a216f

Please sign in to comment.