Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 1,156 for orjson (0.05 seconds)

  1. internal/bucket/replication/sourceselectioncriteria.go

    type ReplicaModifications struct {
    	Status Status `xml:"Status" json:"Status"`
    }
    
    // SourceSelectionCriteria - specifies additional source selection criteria in ReplicationConfiguration.
    type SourceSelectionCriteria struct {
    	ReplicaModifications ReplicaModifications `xml:"ReplicaModifications" json:"ReplicaModifications"`
    }
    
    // IsValid - checks whether SourceSelectionCriteria is valid or not.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  2. tests/test_dependency_paramless.py

        assert response.status_code == 200, response.text
        assert response.json() == {"token": "token", "scopes": ["a", "b"]}
    
    
    def test_parameterless_with_scopes():
        response = client.get(
            "/parameterless-with-scopes", headers={"authorization": "Bearer token"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"status": "ok"}
    
    
    def test_parameterless_without_scopes():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005.py hl[4,10] *}
    
    이 문자열이 유효한 URL인지 검사하고 JSON 스키마/OpenAPI로 문서화 됩니다.
    
    ## 서브모델 리스트를 갖는 어트리뷰트
    
    `list`, `set` 등의 서브타입으로 Pydantic 모델을 사용할 수도 있습니다:
    
    {* ../../docs_src/body_nested_models/tutorial006.py hl[20] *}
    
    아래와 같은 JSON 본문으로 예상(변환, 검증, 문서화 등을)합니다:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/generate-clients.md

    Но для сгенерированного клиента мы можем **модифицировать** ID операций OpenAPI непосредственно перед генерацией клиентов, чтобы сделать имена методов более приятными и **чистыми**.
    
    Мы можем скачать OpenAPI JSON в файл `openapi.json`, а затем **убрать этот префикс‑тег** таким скриптом:
    
    {* ../../docs_src/generate_clients/tutorial004_py39.py *}
    
    //// tab | Node.js
    
    ```Javascript
    {!> ../../docs_src/generate_clients/tutorial004.js!}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/request-forms.md

    /// info | 정보
    
    `Form`은 `Body`에서 직접 상속되는 클래스입니다.
    
    ///
    
    /// tip | 팁
    
    폼 본문을 선언할 때, 폼이 없으면 매개변수가 쿼리 매개변수나 본문(JSON) 매개변수로 해석(interpret)되기 때문에 `Form`을 명시적으로 사용해야 합니다.
    
    ///
    
    ## "폼 필드"에 대해
    
    HTML 폼(`<form></form>`)이 데이터를 서버로 보내는 방식은 일반적으로 해당 데이터에 대해 "특수" 인코딩을 사용하며, 이는 JSON과 다릅니다.
    
    **FastAPI**는 JSON 대신 올바른 위치에서 해당 데이터를 읽습니다.
    
    /// note | 기술 세부사항
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Dec 09 12:42:55 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/body-fields.md

    ///
    
    ## Добавление дополнительной информации { #add-extra-information }
    
    Вы можете объявлять дополнительную информацию в `Field`, `Query`, `Body` и т.п. Она будет включена в сгенерированную JSON схему.
    
    Вы узнаете больше о добавлении дополнительной информации позже в документации, когда будете изучать, как задавать примеры.
    
    /// warning | Внимание
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. internal/bucket/bandwidth/monitor.go

    }
    
    // Details for the measured bandwidth
    type Details struct {
    	LimitInBytesPerSecond            int64   `json:"limitInBits"`
    	CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"`
    }
    
    // BucketBandwidthReport captures the details for all buckets.
    type BucketBandwidthReport struct {
    	BucketStats map[BucketOptions]Details `json:"bucketStats,omitempty"`
    }
    
    // GetReport gets the report for all bucket bandwidth details.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_custom_response/test_tutorial006b.py

        assert response.status_code == 307
        assert response.headers["location"] == "https://fastapi.tiangolo.com"
    
    
    def test_openapi_schema():
        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": {
                "/fastapi": {
                    "get": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 904 bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/testing.md

    Then you just do the same in your tests.
    
    E.g.:
    
    * To pass a *path* or *query* parameter, add it to the URL itself.
    * To pass a JSON body, pass a Python object (e.g. a `dict`) to the parameter `json`.
    * If you need to send *Form Data* instead of JSON, use the `data` parameter instead.
    * To pass *headers*, use a `dict` in the `headers` parameter.
    * For *cookies*, a `dict` in the `cookies` parameter.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/testing.md

    Далі Ви просто повторюєте ці ж дії у ваших тестах.
    
    Наприклад:
    
    * Щоб передати *path* або *query* параметр, додайте його безпосередньо до URL.
    * Щоб передати тіло JSON, передайте Python-об'єкт (наприклад, `dict`) у параметр `json`.
    * Якщо потрібно надіслати *Form Data* замість JSON, використовуйте параметр `data`.
    * Щоб передати заголовки *headers*, використовуйте `dict` у параметрі `headers`.
    * Для *cookies* використовуйте `dict` у параметрі `cookies`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top