Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1421 - 1430 of 1,650 for into (0.19 seconds)

  1. docs/zh/docs/tutorial/debugging.md

    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    /// info
    
    更多信息请检查 <a href="https://docs.python.org/3/library/__main__.html" class="external-link" target="_blank">Python 官方文档</a>.
    
    ///
    
    ## 使用你的调试器运行代码
    
    由于是从代码直接运行的 Uvicorn 服务器,所以你可以从调试器直接调用 Python 程序(你的 FastAPI 应用)。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/cookie-param-models.md

    Вы можете посмотреть объявленные cookies в графическом интерфейсе Документации по пути `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info | Дополнительная информация
    
    Имейте в виду, что, поскольку **браузеры обрабатывают cookies** особым образом и под капотом, они **не** позволят **JavaScript** легко получить доступ к ним.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

    
    def test_openapi_schema(client: TestClient):
        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": {
                "/invoices/": {
                    "post": {
                        "summary": "Create Invoice",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. tests/test_dependency_duplicates.py

        ]
    
    
    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": {
                "/with-duplicates": {
                    "post": {
                        "summary": "With Duplicates",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. api/go1.txt

    pkg crypto/ecdsa, method (PublicKey) Add(*big.Int, *big.Int, *big.Int, *big.Int) (*big.Int, *big.Int)
    pkg crypto/ecdsa, method (PublicKey) Double(*big.Int, *big.Int) (*big.Int, *big.Int)
    pkg crypto/ecdsa, method (PublicKey) IsOnCurve(*big.Int, *big.Int) bool
    pkg crypto/ecdsa, method (PublicKey) Params() *elliptic.CurveParams
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/extra-models.md

    Aquí tienes una idea general de cómo podrían ser los modelos con sus campos de contraseña y los lugares donde se utilizan:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    /// info | Información
    
    En Pydantic v1 el método se llamaba `.dict()`, fue deprecado (pero aún soportado) en Pydantic v2, y renombrado a `.model_dump()`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. internal/config/identity/openid/jwt.go

    		}
    	}
    
    	return nil
    }
    
    func (r *Config) updateUserinfoClaims(ctx context.Context, arn arn.ARN, accessToken string, claims map[string]any) error {
    	pCfg, ok := r.arnProviderCfgsMap[arn]
    	// If claim user info is enabled, get claims from userInfo
    	// and overwrite them with the claims from JWT.
    	if ok && pCfg.ClaimUserinfo {
    		if accessToken == "" {
    			return errors.New("access_token is mandatory if user_info claim is enabled")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. docs/pt/docs/advanced/dataclasses.md

    * validação de dados
    * serialização de dados
    * documentação de dados, etc.
    
    Isso funciona da mesma forma que com os modelos Pydantic. E na verdade é alcançado da mesma maneira por baixo dos panos, usando Pydantic.
    
    /// info | Informação
    
    Lembre-se de que dataclasses não podem fazer tudo o que os modelos Pydantic podem fazer.
    
    Então, você ainda pode precisar usar modelos Pydantic.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/response-status-code.md

    ///
    
    The `status_code` parameter receives a number with the HTTP status code.
    
    /// info
    
    `status_code` can alternatively also receive an `IntEnum`, such as Python's <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    It will:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/dataclasses.md

    * serialización de datos
    * documentación de datos, etc.
    
    Esto funciona de la misma manera que con los modelos de Pydantic. Y en realidad se logra de la misma manera internamente, utilizando Pydantic.
    
    /// info | Información
    
    Ten en cuenta que los dataclasses no pueden hacer todo lo que los modelos de Pydantic pueden hacer.
    
    Así que, podrías necesitar seguir usando modelos de Pydantic.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top