Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 937 for invert (0.1 sec)

  1. docs/en/docs/tutorial/body.md

    ...and declare its type as the model you created, `Item`.
    
    ## Results
    
    With just that Python type declaration, **FastAPI** will:
    
    * Read the body of the request as JSON.
    * Convert the corresponding types (if needed).
    * Validate the data.
        * If the data is invalid, it will return a nice and clear error, indicating exactly where and what was the incorrect data.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. helm-releases/minio-5.1.0.tgz

    .Values.persistence.enabled .Values.persistence.subPath }} subPath: "{{ .Values.persistence.subPath }}" {{- end }} {{- if .Values.extraSecret }} - name: extra-secret mountPath: "/tmp/minio-config-env" {{- end }} {{- include "minio.tlsKeysVolumeMount" . | indent 12 }} {{- if .Values.extraVolumeMounts }} {{- toYaml .Values.extraVolumeMounts | nindent 12 }} {{- end }} ports: - name: {{ $scheme }} containerPort: {{ .Values.minioAPIPort }} - name: {{ $scheme }}-console containerPort: {{ .Values.minioConsolePort...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 03 18:49:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. helm-releases/minio-5.2.0.tgz

    .Values.persistence.enabled .Values.persistence.subPath }} subPath: "{{ .Values.persistence.subPath }}" {{- end }} {{- if .Values.extraSecret }} - name: extra-secret mountPath: "/tmp/minio-config-env" {{- end }} {{- include "minio.tlsKeysVolumeMount" . | indent 12 }} {{- if .Values.extraVolumeMounts }} {{- toYaml .Values.extraVolumeMounts | nindent 12 }} {{- end }} ports: - name: {{ $scheme }} containerPort: {{ .Values.minioAPIPort }} - name: {{ $scheme }}-console containerPort: {{ .Values.minioConsolePort...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. schema/field.go

    				}
    				field.ReflectValueOf(ctx, value).Set(reflectV)
    				return
    			} else if reflectValType.ConvertibleTo(field.FieldType) {
    				field.ReflectValueOf(ctx, value).Set(reflectV.Convert(field.FieldType))
    				return
    			} else if field.FieldType.Kind() == reflect.Ptr {
    				fieldValue := field.ReflectValueOf(ctx, value)
    				fieldType := field.FieldType.Elem()
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            // although nothing has changed merge returns true, as the last modified date is equal
            // TODO: improve merge here?
            assertTrue(target.merge(source));
            // never convert from legacy format to v1.1 format
            assertEquals(0, target.getVersioning().getSnapshotVersions().size());
            assertEquals(formatDate(after, false), target.getVersioning().getLastUpdated());
            assertEquals(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. tests/associations_many2many_test.go

    	}
    
    	newLang := Language{Code: "omitmany2many", Name: "omitmany2many"}
    	if err := DB.Model(&user).Omit("Languages.*").Association("Languages").Replace(&newLang); err == nil {
    		t.Errorf("should failed to insert languages due to constraint failed, error: %v", err)
    	}
    }
    
    func TestMany2ManyAssociationForSlice(t *testing.T) {
    	users := []User{
    		*GetUser("slice-many2many-1", Config{Languages: 2}),
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. cmd/bucket-object-lock.go

    		if err != nil {
    			internalLogIf(ctx, err, logger.WarningKind)
    			return mode, retainDate, legalHold, ErrObjectLocked
    		}
    
    		if !legalHoldRequested && retentionCfg.LockEnabled {
    			// inherit retention from bucket configuration
    			return retentionCfg.Mode, objectlock.RetentionDate{Time: t.Add(retentionCfg.Validity)}, legalHold, ErrNone
    		}
    		return "", objectlock.RetentionDate{}, legalHold, ErrNone
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. cmd/bucket-stats.go

    // Get upload latency of each object size range
    func (rl ReplicationLatency) getUploadLatency() (ret map[string]uint64) {
    	ret = make(map[string]uint64)
    	avg := rl.UploadHistogram.GetAvgData()
    	for k, v := range avg {
    		// Convert nanoseconds to milliseconds
    		ret[sizeTagToString(k)] = uint64(v.avg() / time.Millisecond)
    	}
    	return
    }
    
    // Update replication upload latency with a new value
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    		if partsMetadata[index].IsValid() && t.Equal(modTime) {
    			onlineDisks[index] = disks[index]
    		} else {
    			onlineDisks[index] = nil
    		}
    	}
    
    	return onlineDisks, modTime, ""
    }
    
    // Convert verify or check parts returned error to integer representation
    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_cluster_test.cc

      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->mutable_job(0);
      int port = tensorflow::testing::PickUnusedPortOrDie();
      job_def->mutable_tasks()->insert(
          {2, tensorflow::strings::StrCat("localhost:", port)});
      server_def.set_task_index(0);
      string serialized_update = server_def.SerializeAsString();
      TFE_ContextUpdateServerDef(ctx, 0, serialized_update.data(),
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top