Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 638 for preference (0.35 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    ### 在使用 `yield` 的依赖项中使用上下文管理器
    
    /// warning | 注意
    
    这是一个更为"高级"的想法。
    
    如果你刚开始使用 **FastAPI** ,你可以暂时可以跳过它。
    
    ///
    
    在Python中,你可以通过<a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank">创建一个带有`__enter__()`和`__exit__()`方法的类</a>来创建上下文管理器。
    
    你也可以在 **FastAPI** 的 `yield` 依赖项中通过 `with` 或者 `async with` 语句来使用它们:
    
    ```Python hl_lines="1-9  13"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> await_status(
            TF_NewStatus(), TF_DeleteStatus);
        // Wait until all pending nodes have completed since they may have a
        // reference to default_cancellation_manager_. We ignore the status return
        // since we already have a bad status to propagate.
        TFE_ContextAsyncWait(context, await_status.get());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.17.md

    - kube-apiserver: The `ResourceQuota` admission plugin configuration referenced from `--admission-control-config-file` admission config has been promoted to...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
  4. docs/en/docs/contributing.md

    Now you can translate it all and see how it looks as you save the file.
    
    #### Don't Translate these Pages
    
    🚨 Don't translate:
    
    * Files under `reference/`
    * `release-notes.md`
    * `fastapi-people.md`
    * `external-links.md`
    * `newsletter.md`
    * `management-tasks.md`
    * `management.md`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	case "line":
    		in.line()
    	case "undef":
    		in.undef()
    	default:
    		in.Error("unexpected token after '#':", in.Stack.Text())
    	}
    	return true
    }
    
    // macroName returns the name for the macro being referenced.
    func (in *Input) macroName() string {
    	// We use the Stack's input method; no macro processing at this stage.
    	tok := in.Stack.Next()
    	if tok != scanner.Ident {
    		in.expectText("expected identifier after # directive")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. helm/minio/values.yaml

    ## when Chart is deployed
    environment:
      ## Please refer for comprehensive list https://min.io/docs/minio/linux/reference/minio-server/minio-server.html
      ## MINIO_SUBNET_LICENSE: "License key obtained from https://subnet.min.io"
      ## MINIO_BROWSER: "off"
    
    ## The name of a secret in the same kubernetes namespace which contain secret values
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.32.md

    - github.com/coredns/corefile-migration: [v1.0.21 → v1.0.24](https://github.com/coredns/corefile-migration/compare/v1.0.21...v1.0.24)
    - github.com/distribution/reference: [v0.5.0 → v0.6.0](https://github.com/distribution/reference/compare/v0.5.0...v0.6.0)
    - github.com/docker/docker: [v20.10.27+incompatible → v27.1.1+incompatible](https://github.com/docker/docker/compare/v20.10.27...v27.1.1)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.4.tgz

    affinity: {} ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: ## Please refer for comprehensive list https://min.io/docs/minio/linux/reference/minio-server/minio-server.html ## MINIO_SUBNET_LICENSE: "License key obtained from https://subnet.min.io" ## MINIO_BROWSER: "off" ## The name of a secret in the same kubernetes namespace which contain secret values ## This can be useful for LDAP...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 20:29:40 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.5.tgz

    affinity: {} ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: ## Please refer for comprehensive list https://min.io/docs/minio/linux/reference/minio-server/minio-server.html ## MINIO_SUBNET_LICENSE: "License key obtained from https://subnet.min.io" ## MINIO_BROWSER: "off" ## The name of a secret in the same kubernetes namespace which contain secret values ## This can be useful for LDAP...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 03 20:54:02 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. helm-releases/minio-5.0.14.tgz

    affinity: {} ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: ## Please refer for comprehensive list https://min.io/docs/minio/linux/reference/minio-server/minio-server.html ## MINIO_SUBNET_LICENSE: "License key obtained from https://subnet.min.io" ## MINIO_BROWSER: "off" ## The name of a secret in the same kubernetes namespace which contain secret values ## This can be useful for LDAP...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 30 20:46:10 UTC 2023
    - 20.6K bytes
    - Viewed (0)
Back to top