Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 271 for formed (0.04 seconds)

  1. docs/ja/docs/tutorial/header-param-models.md

    `/docs` のドキュメント UI で必要なヘッダーを確認できます:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## 余分なヘッダーを禁止 { #forbid-extra-headers }
    
    特殊なユースケース(あまり一般的ではありません)では、受け付けるヘッダーを**制限**したい場合があります。
    
    Pydantic のモデル設定で `extra` フィールドを `forbid` にして禁止できます:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    クライアントが**余分なヘッダー**を送信しようとすると、**エラー**レスポンスが返されます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. cmd/xl-storage-format-utils_test.go

    			t.Fatalf("getFileInfoVersions: free versions don't match at %d, version id expected %s but got %s", i, free.VersionID, freeVersionIDs[i])
    		}
    	}
    
    	// versions are stored in xl-meta sorted in descending order of their ModTime
    	slices.Reverse(allVersionIDs)
    
    	fivs, err = getFileInfoVersions(buf, basefi.Volume, basefi.Name, true)
    	if err != nil {
    		t.Fatalf("getFileInfoVersions failed: %v", err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. architecture/standards/0008-use-nullaway.md

    Not all client code is compiled with NullAway.
    Do not make a parameter `@Nullable` just to check and throw a `NullPointerException` when it is `null`. 
    
    ## Consequences
    
    * Classes are forced to have consistent nullability annotations.
    * IDE warnings become more accurate, reducing warnings fatigue.
    * Public API nullability annotations become closer to reality.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. internal/handlers/proxy.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Originally from https://github.com/gorilla/handlers with following license
    // https://raw.githubusercontent.com/gorilla/handlers/master/LICENSE, forked
    // and heavily modified for MinIO's internal needs.
    
    package handlers
    
    import (
    	"net"
    	"net/http"
    	"regexp"
    	"strings"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/AbstractCache.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>This implementation of {@code getAllPresent} lacks any insight into the internal cache data
       * structure, and is thus forced to return the query keys instead of the cached keys. This is only
       * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}.
       *
       * @since 11.0
       */
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/header-param-models.md

    문서 UI `/docs`에서 필요한 헤더를 볼 수 있습니다:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## 추가 헤더 금지하기 { #forbid-extra-headers }
    
    일부 특별한 사용 사례(흔하지는 않겠지만)에서는 수신하려는 헤더를 **제한**할 수 있습니다.
    
    Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    클라이언트가 **추가 헤더**를 보내려고 시도하면, **오류** 응답을 받게 됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  7. docs_src/header_param_models/tutorial002_py310.py

    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        model_config = {"extra": "forbid"}
    
        host: str
        save_data: bool
        if_modified_since: str | None = None
        traceparent: str | None = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: CommonHeaders = Header()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 392 bytes
    - Click Count (0)
  8. docs_src/header_param_models/tutorial002_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        model_config = {"extra": "forbid"}
    
        host: str
        save_data: bool
        if_modified_since: str | None = None
        traceparent: str | None = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: Annotated[CommonHeaders, Header()]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 432 bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/cookie-param-models.md

    ///
    
    ## 余分なクッキーを禁止する { #forbid-extra-cookies }
    
    特定の(あまり一般的ではないかもしれない)ケースで、受け付けるクッキーを**制限**する必要があるかもしれません。
    
    あなたのAPIは独自の <dfn title="念のためですが、これはジョークです。クッキー同意とは関係ありませんが、APIでさえ今やかわいそうなクッキーを拒否できるのは面白いですね。クッキーでもどうぞ。🍪">クッキー同意</dfn> を管理する能力を持っています。 🤪🍪
    
    Pydanticのモデルの Configuration を利用して、 `extra` フィールドを `forbid` とすることができます。
    
    {* ../../docs_src/cookie_param_models/tutorial002_an_py310.py hl[10] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/body-nested-models.md

    Avec cela, même si vous recevez une requête contenant des doublons, elle sera convertie en un set d'éléments uniques.
    
    Et chaque fois que vous renverrez ces données, même si la source contenait des doublons, elles seront renvoyées sous la forme d'un set d'éléments uniques.
    
    Elles seront également annotées / documentées en conséquence.
    
    ## Modèles imbriqués { #nested-models }
    
    Chaque attribut d'un modèle Pydantic a un type.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.8K bytes
    - Click Count (0)
Back to Top