Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 2,001 for modes (0.03 seconds)

  1. docs/en/docs/tutorial/body-multiple-params.md

    ///
    
    ## Embed a single body parameter { #embed-a-single-body-parameter }
    
    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/sql-databases.md

    ---> 100%
    ```
    
    </div>
    
    ## Создание приложения с единственной моделью { #create-the-app-with-a-single-model }
    
    Сначала мы создадим самую простую первую версию приложения с одной моделью **SQLModel**.
    
    Позже мы улучшим его, повысив безопасность и универсальность, добавив **несколько моделей**. 🤓
    
    ### Создание моделей { #create-models }
    
    Импортируйте `SQLModel` и создайте модель базы данных:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  3. cmd/update.go

    		uaAppend(" CPU ", fmt.Sprintf("(total_cpus:%d, total_cores:%d; vendor:%s; family:%s; model:%s; stepping:%d; model_name:%s)",
    			len(cpuMap), len(coreMap), cpu.VendorID, cpu.Family, cpu.Model, cpu.Stepping, cpu.ModelName))
    	}
    	uaAppend(")", "")
    
    	return strings.Join(userAgentParts, "")
    }
    
    func downloadReleaseURL(u *url.URL, timeout time.Duration, mode string) (content string, err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  4. tests/query_test.go

    				})
    			}
    		}
    	})
    
    	var models []User
    	if err := DB.Where("name in (?)", []string{"find"}).Find(&models).Error; err != nil || len(models) != 3 {
    		t.Errorf("errors happened when query find with in clause: %v, length: %v", err, len(models))
    	} else {
    		for idx, user := range users {
    			t.Run("FindWithInClause#"+strconv.Itoa(idx+1), func(t *testing.T) {
    				CheckUser(t, models[idx], user)
    			})
    		}
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * @throws NullPointerException if name is null
         */
        @Nullable
        String attribute(@Nonnull String name);
    
        /**
         * Returns an immutable list of all child nodes.
         *
         * @return list of child nodes, never {@code null}
         */
        @Nonnull
        List<XmlNode> children();
    
        /**
         * Returns the first child node with the specified name.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  6. docs/en/docs/release-notes.md

    ## 0.30.0 (2019-06-20)
    
    * Add support for Pydantic's ORM mode:
        * Updated documentation about SQL with SQLAlchemy, using Pydantic models with ORM mode, SQLAlchemy models with relations, separation of files, simplification of code and other changes. New docs: [SQL (Relational) Databases](https://fastapi.tiangolo.com/tutorial/sql-databases/).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/generate-clients.md

    You can see those schemas because they were declared with the models in the app.
    
    That information is available in the app's **OpenAPI schema**, and then shown in the API docs.
    
    That same information from the models that is included in OpenAPI is what can be used to **generate the client code**.
    
    ### Hey API { #hey-api }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  8. docs/es/docs/tutorial/sql-databases.md

    ---> 100%
    ```
    
    </div>
    
    ## Crear la App con un Solo Modelo { #create-the-app-with-a-single-model }
    
    Primero crearemos la versión más simple de la aplicación con un solo modelo de **SQLModel**.
    
    Más adelante la mejoraremos aumentando la seguridad y versatilidad con **múltiples modelos** a continuación. 🤓
    
    ### Crear Modelos { #create-models }
    
    Importa `SQLModel` y crea un modelo de base de datos:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  9. tests/test_additional_responses_union_duplicate_anyof.py

    """
    Regression test: Ensure app-level responses with Union models and content/examples
    don't accumulate duplicate $ref entries in anyOf arrays.
    See https://github.com/fastapi/fastapi/pull/14463
    """
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    
    class ModelA(BaseModel):
        a: str
    
    
    class ModelB(BaseModel):
        b: str
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. fastapi/.agents/skills/fastapi/SKILL.md

    ```
    
    **Important**: Return types or response models are what filter data ensuring no sensitive information is exposed. And they are used to serialize data with Pydantic (in Rust), this is the main idea that can increase response performance.
    
    The return type doesn't have to be a Pydantic model, it could be a different type, like a list of integers, or a dict, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
Back to Top