Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 1,622 for targetOS (0.07 sec)

  1. docs/zh/docs/advanced/response-change-status-code.md

    # 响应 - 更改状态码
    
    你可能之前已经了解到,你可以设置默认的[响应状态码](../tutorial/response-status-code.md){.internal-link target=_blank}。
    
    但在某些情况下,你需要返回一个不同于默认值的状态码。
    
    ## 使用场景
    
    例如,假设你想默认返回一个HTTP状态码为“OK”`200`。
    
    但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。
    
    但你仍然希望能够使用`response_model`过滤和转换你返回的数据。
    
    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    然后你可以在这个*临时*响应对象中设置`status_code`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Code:           "XMinioAdminRemoteIdenticalToSource",
    		Description:    "The remote target cannot be identical to source",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteAlreadyExists: {
    		Code:           "XMinioAdminBucketRemoteAlreadyExists",
    		Description:    "The remote target already exists",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteLabelInUse: {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/path-params-numeric-validations.md

    Si vous avez une version plus ancienne, vous obtiendrez des erreurs en essayant d'utiliser `Annotated`.
    
    Assurez-vous de [Mettre à jour la version de FastAPI](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} à la version 0.95.1 à minima avant d'utiliser `Annotated`.
    
    ///
    
    ## Déclarer des métadonnées
    
    Vous pouvez déclarer les mêmes paramètres que pour `Query`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:32:37 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    	return saveConfig(ctx, api, configFile, data)
    }
    
    // migrate config for remote targets by encrypting data if currently unencrypted and kms is configured.
    func (b *BucketMetadata) migrateTargetConfig(ctx context.Context, objectAPI ObjectLayer) error {
    	var err error
    	// early return if no targets or already encrypted
    	if len(b.BucketTargetsConfigJSON) == 0 || GlobalKMS == nil || len(b.BucketTargetsConfigMetaJSON) != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. architecture/ambient/peer-authentication.md

    [`Workload`](../../pkg/workloadapi/workload.proto) and [`Authorization`](../../pkg/workloadapi/security/authorization.proto). As such, ztunnel does not receive `PeerAuthentication`s directly; when istiod detects a `PeerAuthentication` resource that targets an Ambient captured workload, it computes the effective policy for that workload (taking into account the mesh-wide -> namespace -> workload precedence rules) and sends that policy to ztunnel. The exact details of this conversion is out of scope for...
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                sb.append(LS);
            }
            sb.append("</table>");
            return sb.toString();
        }
    
        @Test
        void testOptionsAsHtml() throws IOException {
            Path options = Paths.get("target/test-classes/options.html");
            Files.writeString(options, getOptionsAsHtml(), StandardCharsets.UTF_8);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/core/v1/generated.proto

    message ISCSIPersistentVolumeSource {
      // targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
      // is other than default (typically TCP ports 860 and 3260).
      optional string targetPortal = 1;
    
      // iqn is Target iSCSI Qualified Name.
      optional string iqn = 2;
    
      // lun is iSCSI Target Lun number.
      optional int32 lun = 3;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/path-params-numeric-validations.md

    Если вы используете более старую версию, вы столкнётесь с ошибками при попытке использовать `Annotated`.
    
    Убедитесь, что вы [обновили версию FastAPI](../deployment/versions.md#fastapi_2){.internal-link target=_blank} как минимум до 0.95.1 перед тем, как использовать `Annotated`.
    
    ///
    
    ## Определите метаданные
    
    Вы можете указать все те же параметры, что и для `Query`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. .github/workflows/maven_build_itself.yml

                  exit 1;
                fi
              else
                echo "${{ env.TAR_BALL }} does not exist."
                exit 1;
              fi
            env:
              TAR_BALL: apache-maven/target/apache-maven-bin.tar.gz
    
          - name: Clean with Maven
            run: ./mvnw -e -B -V clean
    
          - name: Build again with Maven SNAPSHOT
            shell: bash
            run: |
              set +e
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. .github/workflows/sigbuild-docker-branch.yml

            id: docker_build
            uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
            with:
              push: true
              context: ./tensorflow/tools/tf_sig_build_dockerfiles
              target: devel
              build-args: |
                PYTHON_VERSION=${{ matrix.python-version }}
                CACHEBUSTER=${{ steps.vars.outputs.DATE }}
              tags: |
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top