Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1121 - 1130 of 2,630 for path2 (0.02 seconds)

  1. docs/ja/docs/advanced/custom-response.md

    しかし、`Response`(または `JSONResponse` のような任意のサブクラス)を直接返す場合、(`response_model` を宣言していても)データは自動的に変換されず、ドキュメントも自動生成されません(例えば、生成されるOpenAPIの一部としてHTTPヘッダー `Content-Type` に特定の「メディアタイプ」を含めるなど)。
    
    一方で、*path operation デコレータ* の `response_class` パラメータを使って、使用したい `Response`(`Response` の任意のサブクラス)を宣言することもできます。
    
    *path operation 関数* から返したコンテンツは、その `Response` に格納されます。
    
    /// note | 備考
    
    メディアタイプを持たないレスポンスクラスを使用すると、FastAPIはレスポンスにコンテンツがないものと見なします。そのため、生成されるOpenAPIドキュメントにレスポンスフォーマットは記載されません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/additional-responses.md

    ## Combine predefined responses and custom ones { #combine-predefined-responses-and-custom-ones }
    
    You might want to have some predefined responses that apply to many *path operations*, but you want to combine them with custom responses needed by each *path operation*.
    
    For those cases, you can use the Python technique of "unpacking" a `dict` with `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/additional-responses.md

    ## Combina responses predefinidos y personalizados { #combine-predefined-responses-and-custom-ones }
    
    Es posible que desees tener algunos responses predefinidos que se apliquen a muchas *path operations*, pero que quieras combinarlos con responses personalizados necesarios por cada *path operation*.
    
    Para esos casos, puedes usar la técnica de Python de "desempaquetar" un `dict` con `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

        override fun getSubprojectByName(name: String) = nameToSubproject[name]
    
        private fun toSubproject(subproject: Map<String, Any>): GradleSubproject {
            val name = subproject["name"] as String
            val path = subproject["path"] as String
            val unitTests = !ignoredSubprojects.contains(name) && subproject["unitTests"] as Boolean
            val functionalTests = !ignoredSubprojects.contains(name) && subproject["functionalTests"] as Boolean
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. guava-gwt/test/com/google/common/testing/Testing.gwt.xml

        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.common.base.Base" />
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 19 16:02:36 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. guava-gwt/src/com/google/common/collect/Collect.gwt.xml

        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.common.base.Base" />
    <inherits name="com.google.common.math.Math" />
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 19 16:02:36 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. internal/disk/stat_freebsd.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    	"syscall"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Bsize) * (s.Blocks - reservedBlocks),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java

        Trans2GetDfsReferral(final String filename) {
            this(filename, 3);
        }
    
        Trans2GetDfsReferral(final String filename, final int maxReferralLevel) {
            this.maxReferralLevel = maxReferralLevel;
            path = filename;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_GET_DFS_REFERRAL;
            totalDataCount = 0;
            maxParameterCount = 0;
            maxDataCount = 4096;
            maxSetupCount = (byte) 0x00;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

         */
        void destroy();
    
        /**
         * Creates a thumbnail generation task.
         * @param path The path to the source document.
         * @param docMap The document map containing metadata.
         * @return A tuple containing task information.
         */
        Tuple3<String, String, String> createTask(String path, Map<String, Object> docMap);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java

    class Trans2QueryPathInformation extends SmbComTransaction {
    
        private final int informationLevel;
    
        Trans2QueryPathInformation(final String filename, final int informationLevel) {
            path = filename;
            this.informationLevel = informationLevel;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_QUERY_PATH_INFORMATION;
            totalDataCount = 0;
            maxParameterCount = 2;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top