Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 1,656 for key (0.02 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    /// tip | "提示"
    
    有些编辑器会检查代码中没使用过的函数参数,并显示错误提示。
    
    在*路径操作装饰器*中使用 `dependencies` 参数,可以确保在执行依赖项的同时,避免编辑器显示错误提示。
    
    使用路径装饰器依赖项还可以避免开发新人误会代码中包含无用的未使用参数。
    
    ///
    
    /// info | "说明"
    
    本例中,使用的是自定义响应头 `X-Key` 和 `X-Token`。
    
    但实际开发中,尤其是在实现安全措施时,最好使用 FastAPI 内置的[安全工具](../security/index.md){.internal-link target=_blank}(详见下一章)。
    
    ///
    
    ## 依赖项错误和返回值
    
    路径装饰器依赖项也可以使用普通的依赖项*函数*。
    
    ### 依赖项的需求项
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/index.md

    By using them, you can take advantage of all these standard-based tools, including these interactive documentation systems.
    
    OpenAPI defines the following security schemes:
    
    * `apiKey`: an application specific key that can come from:
        * A query parameter.
        * A header.
        * A cookie.
    * `http`: standard HTTP authentication systems, including:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractEntity.java

            }
        }
    
        // ===================================================================================
        //                                                                          Unique Key
        //                                                                          ==========
        @Override
        public boolean hasPrimaryKeyValue() {
            return asDocMeta().id() != null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsUserCB.java

            return doGetConditionQuery();
        }
    
        // ===================================================================================
        //                                                                         Primary Key
        //                                                                         ===========
        public UserCB acceptPK(String id) {
            assertObjectNotNull("id", id);
            BsUserCB cb = this;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public B put(TypeToken<? extends @NonNull B> key, @ParametricNullness B value) {
        throw new UnsupportedOperationException("Please use putInstance() instead.");
      }
    
      /**
       * Not supported. Use {@link #putInstance} instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/utils.go

    // If it is passed ["aaaa", "bbbb"], it returns ["aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"]
    func restQueries(keys ...string) []string {
    	var accumulator []string
    	for _, key := range keys {
    		accumulator = append(accumulator, key, "{"+key+":.*}")
    	}
    	return accumulator
    }
    
    // Suffix returns the longest common suffix of the provided strings
    func lcpSuffix(strs []string) string {
    	return lcp(strs, false)
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  7. .github/actions/people/app/main.py

        )
    
        tiers = get_individual_sponsors(settings=settings)
        keys = list(tiers.keys())
        keys.sort(reverse=True)
        sponsors = []
        for key in keys:
            sponsor_group = []
            for login, sponsor in tiers[key].items():
                sponsor_group.append(
                    {"login": login, "avatarUrl": sponsor.avatarUrl, "url": sponsor.url}
                )
            sponsors.append(sponsor_group)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (1)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      private fun upgradeResponse(request: RecordedRequest): MockResponse.Builder {
        val key = request.headers["Sec-WebSocket-Key"]
        return MockResponse.Builder()
          .status("HTTP/1.1 101 Switching Protocols")
          .setHeader("Connection", "Upgrade")
          .setHeader("Upgrade", "websocket")
          .setHeader("Sec-WebSocket-Accept", acceptHeader(key!!))
      }
    
      private fun websocketScheme(scheme: String) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. doc/go_spec.html

    	// type of s is string
    	// s == a[i]
    	g(i, s)
    }
    
    var key string
    var val interface{}  // element type of m is assignable to val
    m := map[string]int{"mon":0, "tue":1, "wed":2, "thu":3, "fri":4, "sat":5, "sun":6}
    for key, val = range m {
    	h(key, val)
    }
    // key == last map key encountered in iteration
    // val == map[key]
    
    var ch chan Work = producer()
    for w := range ch {
    	doWork(w)
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

          <li><a href="https://maven.apache.org/xsd/maven-4.1.0.xsd">https://maven.apache.org/xsd/maven-4.1.0.xsd</a> for Maven 4.0.</li>
        </ul>
        ]]>
      </description>
      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.model</value>
        </default>
      </defaults>
      <classes>
        <class rootElement="true" xml.tagName="project">
          <name>Model</name>
          <superClass>ModelBase</superClass>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top