- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 2,189 for else_ (0.03 seconds)
-
tests/test_request_params/test_file/test_optional_list.py
return {"file_size": [len(file) for file in p] if p else None} @app.post("/optional-list-uploadfile") async def read_optional_list_uploadfile( p: Annotated[Optional[list[UploadFile]], File()] = None, ): return {"file_size": [file.size for file in p] if p else None} @pytest.mark.parametrize( "path", [ "/optional-list-bytes",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 10.4K bytes - Click Count (0) -
helm-releases/minio-3.5.6.tgz
$USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached." fi } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.users }} # Create...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Feb 19 20:34:14 GMT 2022 - 17.6K bytes - Click Count (0) -
helm-releases/minio-3.5.9.tgz
$USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached." fi } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.users }} # Create...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Mar 03 23:29:03 GMT 2022 - 17.7K bytes - Click Count (0) -
helm-releases/minio-3.6.3.tgz
$USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached." fi } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.users }} # Create...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Mar 24 04:07:15 GMT 2022 - 17.9K bytes - Click Count (0) -
internal/s3select/json/record.go
var v any if b, ok := value.ToBool(); ok { v = b } else if f, ok := value.ToFloat(); ok { v = f } else if i, ok := value.ToInt(); ok { v = i } else if t, ok := value.ToTimestamp(); ok { v = sql.FormatSQLTimestamp(t) } else if s, ok := value.ToString(); ok { v = s } else if value.IsNull() { v = nil } else if value.IsMissing() { return r, nil } else if b, ok := value.ToBytes(); ok {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbException.java
if (errcode > NT_STATUS_CODES[mid]) { min = mid + 1; } else if (errcode < NT_STATUS_CODES[mid]) { max = mid - 1; } else { return NT_STATUS_MESSAGES[mid]; } } } else { int min = 0; int max = DOS_ERROR_CODES.length - 1; while (max >= min) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
fastapi/dependencies/utils.py
return None, [get_missing_field_error(loc=loc)] else: return deepcopy(field.default), [] v_, errors_ = field.validate(value, values, loc=loc) if isinstance(errors_, list): new_errors = _regenerate_error_with_loc(errors=errors_, loc_prefix=()) return None, new_errors else: return v_, [] def _get_multidict_value(Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 37.6K bytes - Click Count (3) -
helm-releases/minio-3.5.3.tgz
$USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached." fi } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.users }} # Create...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Feb 13 23:43:44 GMT 2022 - 15.4K bytes - Click Count (0) -
helm-releases/minio-4.0.14.tgz
.Capabilities.KubeVersion.GitVersion -}} {{- print "extensions/v1beta1" -}} {{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}} {{- print "networking.k8s.io/v1beta1" -}} {{- else -}} {{- print "networking.k8s.io/v1" -}} {{- end -}} {{- end -}} {{/* Determine secret name. */}} {{- define "minio.secretName" -}} {{- if .Values.existingSecret -}} {{- .Values.existingSecret }} {{- else -}} {{- include "minio.fullname" . -}} {{- end -}} {{- end -}} {{/* Determine name for scc role and rolebinding...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 05 01:06:49 GMT 2022 - 19.6K bytes - Click Count (0) -
helm-releases/minio-4.0.7.tgz
.Capabilities.KubeVersion.GitVersion -}} {{- print "extensions/v1beta1" -}} {{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}} {{- print "networking.k8s.io/v1beta1" -}} {{- else -}} {{- print "networking.k8s.io/v1" -}} {{- end -}} {{- end -}} {{/* Determine secret name. */}} {{- define "minio.secretName" -}} {{- if .Values.existingSecret -}} {{- .Values.existingSecret }} {{- else -}} {{- include "minio.fullname" . -}} {{- end -}} {{- end -}} {{/* Determine name for scc role and rolebinding...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jul 28 03:54:38 GMT 2022 - 18.6K bytes - Click Count (0)