Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,745 for pathOf (0.05 sec)

  1. tests/test_tutorial/test_body_nested_models/test_tutorial009.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/index-weights/": {
                    "post": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/": {
                    "get": {
                        "summary": "Read Users",
                        "operationId": "read_users_users__get",
                        "responses": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 20 09:00:44 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. cmd/generic-handlers_contrib.go

    func guessIsLoginSTSReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	return strings.HasPrefix(req.URL.Path, loginPathPrefix) ||
    		(req.Method == http.MethodPost && req.URL.Path == SlashSeparator &&
    			getRequestAuthType(req) == authTypeSTS)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 995 bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/middleware.md

    # ミドルウェア
    
    **FastAPI** アプリケーションにミドルウェアを追加できます。
    
    「ミドルウェア」は、すべての**リクエスト**に対して、それがあらゆる特定の*path operation*によって処理される前に機能する関数です。また、すべての**レスポンス**に対して、それを返す前に機能します。
    
    * ミドルウェアはアプリケーションに届いたそれぞれの**リクエスト**を受け取ります。
    * その後、その**リクエスト**に対して何かを実行したり、必要なコードを実行したりできます。
    * 次に、アプリケーションの残りの部分に**リクエスト**を渡して (*path operation* によって) 処理させます。
    * 次に、ミドルウェアはアプリケーション (の *path operation*) によって生成された**レスポンス**を受け取ります。
    * その**レスポンス**に対して何かを実行したり、必要なコードを実行したりできます。
    * そして、**レスポンス**を返します。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        Trans2FindFirst2( String filename, String wildcard, int searchAttributes ) {
            if( filename.equals( "\\" )) {
                this.path = filename;
            } else {
                this.path = filename + "\\";
            }
            this.wildcard = wildcard;
            this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */
            command = SMB_COM_TRANSACTION2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
         * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
         *
         * @param source the source to parse, never {@code null}
         * @param options possible parsing options, may be {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava-gwt/src/com/google/common/escape/Escape.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.gwt.core.Core" />
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. tests/test_ambiguous_params.py

    import pytest
    from fastapi import Depends, FastAPI, Path
    from fastapi.param_functions import Query
    from fastapi.testclient import TestClient
    from fastapi.utils import PYDANTIC_V2
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    def test_no_annotated_defaults():
        with pytest.raises(
            AssertionError, match="Path parameters cannot have a default value"
        ):
    
            @app.get("/items/{item_id}/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/testdata/check-inject/default-injector.yaml

      name: istio-sidecar-injector
    webhooks:
      - admissionReviewVersions:
          - v1beta1
          - v1
        clientConfig:
          service:
            name: istiod
            namespace: istio-system
            path: /inject
            port: 443
        failurePolicy: Fail
        matchPolicy: Equivalent
        name: rev.namespace.sidecar-injector.istio.io
        namespaceSelector:
          matchExpressions:
            - key: istio.io/rev
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

        public void add(final FtpAuthentication auth) {
            authList.add(auth);
        }
    
        public FtpAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final FtpAuthentication auth : authList) {
                if (auth.matches(path)) {
                    return auth;
                }
            }
            return null;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top