Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 1,533 for djson (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/tr/docs/tutorial/path-params.md

    *Path operation*'ınızdan, bir JSON body'nin içine gömülü olsalar bile (ör. bir `dict`) *enum member*'ları döndürebilirsiniz.
    
    İstemciye dönmeden önce, karşılık gelen değerlerine (bu durumda string) dönüştürülürler:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *}
    
    İstemcinizde şöyle bir JSON response alırsınız:
    
    ```JSON
    {
      "model_name": "alexnet",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  2. tests/test_read_with_orm_mode.py

            db_person = Person.model_validate(person)
            return db_person
    
        client = TestClient(app)
    
        person_data = {"name": "Dive", "lastname": "Wilson"}
        response = client.post("/people/", json=person_data)
        data = response.json()
        assert response.status_code == 200, response.text
        assert data["name"] == person_data["name"]
        assert data["lastname"] == person_data["lastname"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. internal/config/storageclass/storage-class.go

    // Config storage class configuration
    type Config struct {
    	Standard    StorageClass `json:"standard"`
    	RRS         StorageClass `json:"rrs"`
    	Optimize    string       `json:"optimize"`
    	inlineBlock int64
    
    	initialized bool
    }
    
    // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON.
    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/generate-clients.md

    Но для сгенерированного клиента мы можем **модифицировать** ID операций OpenAPI непосредственно перед генерацией клиентов, чтобы сделать имена методов более приятными и **чистыми**.
    
    Мы можем скачать OpenAPI JSON в файл `openapi.json`, а затем **убрать этот префикс‑тег** таким скриптом:
    
    {* ../../docs_src/generate_clients/tutorial004_py310.py *}
    
    //// tab | Node.js
    
    ```Javascript
    {!> ../../docs_src/generate_clients/tutorial004.js!}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/body-multiple-params.md

    /// note | 備考
    
    この場合、ボディから取得する`item`はオプションであることに注意してください。デフォルト値が`None`になっているためです。
    
    ///
    
    ## 複数のボディパラメータ { #multiple-body-parameters }
    
    上述の例では、*path operations*は`Item`の属性を持つ以下のようなJSONボディを期待していました:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    しかし、`item`と`user`のように複数のボディパラメータを宣言することもできます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  6. docs/pt/docs/features.md

    * Documentação automática de modelos de dados com [**JSON Schema**](https://json-schema.org/) (já que o OpenAPI em si é baseado no JSON Schema).
    * Projetado em torno desses padrões, após um estudo meticuloso. Em vez de uma camada improvisada por cima.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_lines_number_gt.md

    <span style="color: green;">[INFO]</span> Start watching changes
    <span style="color: green;">[INFO]</span> Start detecting changes
    ```
    
    And even more text
    
    ```json
    {
        // This is a sample JSON code block
        "greeting": "Hello, world!" // Greeting
    }
    ```
    
    Диаграма Mermaid
    
    ```mermaid
    flowchart LR
        stone(philosophers-stone) -->|requires| harry-1[harry v1]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 896 bytes
    - Click Count (0)
  8. internal/config/compress/compress_test.go

    		{",", []string{}, false},
    		{"/", []string{}, false},
    		{"text/*,/", []string{}, false},
    
    		// valid input
    		{".txt,.log", []string{".txt", ".log"}, true},
    		{"text/*,application/json", []string{"text/*", "application/json"}, true},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.str, func(t *testing.T) {
    			gotPatterns, err := parseCompressIncludes(testCase.str)
    			if !testCase.success && err == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. internal/config/identity/plugin/config.go

    // service.
    type AuthNSuccessResponse struct {
    	User               string         `json:"user"`
    	MaxValiditySeconds int            `json:"maxValiditySeconds"`
    	Claims             map[string]any `json:"claims"`
    }
    
    // AuthNErrorResponse - represents an error response from the authN plugin.
    type AuthNErrorResponse struct {
    	Reason string `json:"reason"`
    }
    
    // AuthNResponse - represents a result of the authentication operation.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/stream-data.md

    # Stream Data { #stream-data }
    
    If you want to stream data that can be structured as JSON, you should [Stream JSON Lines](../tutorial/stream-json-lines.md).
    
    But if you want to **stream pure binary data** or strings, here's how you can do it.
    
    /// info
    
    Added in FastAPI 0.134.0.
    
    ///
    
    ## Use Cases { #use-cases }
    
    You could use this if you want to stream pure strings, for example directly from the output of an **AI LLM** service.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top