Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1451 - 1460 of 2,158 for external (0.11 sec)

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

    使用路径装饰器依赖项还可以避免开发新人误会代码中包含无用的未使用参数。
    
    ///
    
    /// info | "说明"
    
    本例中,使用的是自定义响应头 `X-Key` 和 `X-Token`。
    
    但实际开发中,尤其是在实现安全措施时,最好使用 FastAPI 内置的[安全工具](../security/index.md){.internal-link target=_blank}(详见下一章)。
    
    ///
    
    ## 依赖项错误和返回值
    
    路径装饰器依赖项也可以使用普通的依赖项*函数*。
    
    ### 依赖项的需求项
    
    路径装饰器依赖项可以声明请求的需求项(比如响应头)或其他子依赖项:
    
    ```Python hl_lines="6  11"
    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. guava/src/com/google/common/base/CommonPattern.java

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * The subset of the {@link java.util.regex.Pattern} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Pattern}
     * javadoc for details.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class CommonPattern {
      public abstract CommonMatcher matcher(CharSequence t);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 09 00:52:54 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. internal/config/callhome/help.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package callhome
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// HelpCallhome - provides help for callhome config
    	HelpCallhome = config.HelpKVS{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 06 23:14:52 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs
    
    import org.gradle.util.internal.TextUtil
    import spock.lang.Specification
    
    class UserGuideTransformTaskTest extends Specification {
    
        def replacesTabsWith4Spaces() {
            given:
            String content = "test\ttest\ttest"
            when:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 27 19:28:51 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.create;
    
    
    import jcifs.Decodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface CreateContextResponse extends Decodable {
    
        /**
         * @return context name
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1004 bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.nego;
    
    
    import jcifs.Encodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * 
         * @return context type
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1016 bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.nego;
    
    
    import jcifs.Decodable;
    
    
    /**
     * @author mbechler
     *
     */
    public interface NegotiateContextResponse extends Decodable {
    
        /**
         * 
         * @return context type
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1017 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-ChallengeCommon.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import okhttp3.Challenge
    
    fun Challenge.commonEquals(other: Any?): Boolean {
      return other is Challenge &&
        other.scheme == scheme &&
        other.authParams == authParams
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. docs_src/dependencies/tutorial008d.py

    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 694 bytes
    - Viewed (0)
  10. src/main/resources/fess_env_crawler.properties

    development.here = false
    
    # The title of environment (e.g. local or integration or production)
    environment.title = Production
    
    # Does it enable the Framework internal debug? (true only when emergency)
    framework.debug = false
    
    # one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top