Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1271 - 1280 of 1,734 for Class1 (0.03 seconds)

  1. .teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt

    import common.FlakyTestStrategy
    import common.Os
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import common.requiresNotEc2Agent
    import model.CIBuildModel
    import model.Stage
    
    class SmokeIdeTests(
        model: CIBuildModel,
        stage: Stage,
        flakyTestStrategy: FlakyTestStrategy,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. docs/ru/docs/fastapi-cli.md

    Чтобы запустить приложение FastAPI в режиме разработки, вы можете использовать команду `fastapi dev`:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. .github/workflows/CheckBadMerge.groovy

     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
        private static final THREAD_POOL = Executors.newCachedThreadPool()
    
        private static final List<String> MONITORED_PATHS = [
            "subprojects/docs/src/docs/release/notes.md",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/response-cookies.md

    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/query-param-models.md

    ## Проверьте Сгенерированную Документацию { #check-the-docs }
    
    Вы можете посмотреть query-параметры в графическом интерфейсе сгенерированной документации по пути `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Запретить Дополнительные Query-Параметры { #forbid-extra-query-parameters }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. docs/ja/docs/python-types.md

    
    そして、再び、すべてのエディタのサポートを得ることができます:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image06.png">
    
    ## Pydanticのモデル
    
    <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> はデータ検証を行うためのPythonライブラリです。
    
    データの「形」を属性付きのクラスとして宣言します。
    
    そして、それぞれの属性は型を持ちます。
    
    さらに、いくつかの値を持つクラスのインスタンスを作成すると、その値を検証し、適切な型に変換して(もしそうであれば)全てのデータを持つオブジェクトを提供してくれます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.6K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/bigger-applications.md

    Ahora, ejecuta tu aplicación:
    
    <div class="termy">
    
    ```console
    $ fastapi dev app/main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Y abre la documentación en <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *}
    
    /// info
    
    To use `EmailStr`, first install <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email-validator`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. tests/test_custom_schema_fields.py

    from typing import Annotated, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, WithJsonSchema
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
    
        description: Annotated[
            Optional[str], WithJsonSchema({"type": ["string", "null"]})
        ] = None
    
        model_config = {
            "json_schema_extra": {
                "x-something-internal": {"level": 4},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. tests/test_validate_response_dataclass.py

    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from pydantic.dataclasses import dataclass
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top