From: Tom Clegg Date: Wed, 13 Mar 2024 13:36:35 +0000 (-0400) Subject: 21123: the empty string -> an empty string X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/536888e31706dfb9db43338e858529a7432a13c1?hp=fdbf77185581f3a270aee3defb86ad9b5f091a1a 21123: the empty string -> an empty string Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/doc/api/dispatch.html.textile.liquid b/doc/api/dispatch.html.textile.liquid index 7a916f0646..cfe57640c4 100644 --- a/doc/api/dispatch.html.textile.liquid +++ b/doc/api/dispatch.html.textile.liquid @@ -32,7 +32,7 @@ Return a list of containers that are either ready to dispatch, or being started/ Each entry in the returned list of @items@ includes: * an @instance_type@ entry with the name and attributes of the instance type that will be used to schedule the container (chosen from the @InstanceTypes@ section of your cluster config file); and * a @container@ entry with selected attributes of the container itself, including @uuid@, @priority@, @runtime_constraints@, and @state@. Other fields of the container records are not loaded by the dispatcher, and will have empty/zero values here (e.g., @{...,"created_at":"0001-01-01T00:00:00Z","command":[],...}@). -* a @scheduling_status@ field with a brief explanation of the container's status in the dispatch queue, or the empty string if scheduling is not applicable, e.g., the container has already started running. +* a @scheduling_status@ field with a brief explanation of the container's status in the dispatch queue, or an empty string if scheduling is not applicable, e.g., the container has already started running. Example response: diff --git a/doc/api/methods/container_requests.html.textile.liquid b/doc/api/methods/container_requests.html.textile.liquid index 130aa73c05..1c269fb3e6 100644 --- a/doc/api/methods/container_requests.html.textile.liquid +++ b/doc/api/methods/container_requests.html.textile.liquid @@ -240,7 +240,7 @@ table(table table-bordered table-condensed). |_. Attribute|_. Type|_. Description|_. Examples| |uuid|string|The UUID of the container assigned to this request.|| |state|string|The state of the container assigned to this request (see "container resource attributes":containers.html).|| -|scheduling_status|string|A brief explanation of the container's status in the dispatch queue, or the empty string if scheduling is not applicable, e.g., the container is running or finished.|@waiting for cloud resources: queue position 3@ +|scheduling_status|string|A brief explanation of the container's status in the dispatch queue, or an empty string if scheduling is not applicable, e.g., the container is running or finished.|@waiting for cloud resources: queue position 3@ @creating new instance@ @preparing runtime environment@| diff --git a/doc/sdk/python/cookbook.html.textile.liquid b/doc/sdk/python/cookbook.html.textile.liquid index c9e1f05f17..d7d34fc0b0 100644 --- a/doc/sdk/python/cookbook.html.textile.liquid +++ b/doc/sdk/python/cookbook.html.textile.liquid @@ -498,7 +498,7 @@ dst_collection.copy( # The path of the source file or directory to copy 'ExamplePath', # The path where the source file or directory will be copied. - # Pass the empty string like this to copy it to the same path. + # Pass an empty string like this to copy it to the same path. '', # The collection where the source file or directory comes from. # If not specified, the default is the current collection (so you'll diff --git a/lib/config/config.default.yml b/lib/config/config.default.yml index e3b67f7259..fa74e8e6c6 100644 --- a/lib/config/config.default.yml +++ b/lib/config/config.default.yml @@ -863,7 +863,7 @@ Clusters: # OpenID claim field containing the email verification # flag. Normally "email_verified". To accept every returned # email address without checking a "verified" field at all, - # use the empty string "". + # use an empty string "". EmailVerifiedClaim: "email_verified" # OpenID claim field containing the user's preferred @@ -1561,7 +1561,7 @@ Clusters: # container runner/supervisor. The default value is the # dispatcher program itself. # - # Use the empty string to disable this step: nothing will be + # Use an empty string to disable this step: nothing will be # copied, and cloud instances are assumed to have a suitable # version of crunch-run installed; see CrunchRunCommand above. DeployRunnerBinary: "/proc/self/exe" diff --git a/sdk/python/arvados/events.py b/sdk/python/arvados/events.py index 917c876706..88a916e659 100644 --- a/sdk/python/arvados/events.py +++ b/sdk/python/arvados/events.py @@ -162,7 +162,7 @@ class EventClient(threading.Thread): disconnecting. Default 1000. * reason: str --- The WebSocket close reason sent to the server when - disconnecting. Default is the empty string. + disconnecting. Default is an empty string. * timeout: float --- How long to wait for the WebSocket server to acknowledge the disconnection, in seconds. Default 0, which means