Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 891 - 900 of 4,691 for Done (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

        internal var eventListenerFactory: EventListener.Factory = EventListener.NONE.asFactory()
        internal var retryOnConnectionFailure = true
        internal var fastFallback = true
        internal var authenticator: Authenticator = Authenticator.NONE
        internal var followRedirects = true
        internal var followSslRedirects = true
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  2. docs_src/security/tutorial004_an_py310.py

    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: str | None = None
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    password_hash = PasswordHash.recommended()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. scripts/people.py

    ]
    
    
    class Author(BaseModel):
        login: str
        avatarUrl: str | None = None
        url: str | None = None
    
    
    class CommentsNode(BaseModel):
        createdAt: datetime
        author: Author | None = None
        minimizedReason: LowerStr | None = None
    
    
    class Replies(BaseModel):
        totalCount: int
        nodes: list[CommentsNode]
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  4. tests/test_openapi_schema_type.py

        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: SchemaType | list[SchemaType] | None,
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
        schema = Schema(type=type_value)
        assert schema.type == type_value
    
    
    def test_invalid_type_value() -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 685 bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/query-params-str-validations.md

    Nous avions cette annotation de type :
    
    ```Python
    q: str | None = None
    ```
    
    Ce que nous allons faire, c’est l’englober avec `Annotated`, de sorte que cela devienne :
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    Les deux versions signifient la même chose, `q` est un paramètre qui peut être une `str` ou `None`, et par défaut, c’est `None`.
    
    Passons maintenant aux choses amusantes. 🎉
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 19K bytes
    - Click Count (0)
  6. docs/metrics/prometheus/grafana/node/minio-node.json

                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
                  "tooltip": false,
                  "viz": false
                },
                "insertNulls": false,
                "lineInterpolation": "linear",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Aug 04 01:46:49 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  7. docs_src/body_multiple_params/tutorial004_py310.py

    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
        q: str | None = None,
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 10 18:49:18 GMT 2023
    - 603 bytes
    - Click Count (0)
  8. docs/uk/docs/advanced/advanced-python-types.md

    ```Python
    say_hi(name=None)  # Це працює, None припустимий 🎉
    ```
    
    Гарна новина: у більшості випадків ви зможете просто використовувати `|`, щоб визначати об'єднання типів:
    
    ```python
    def say_hi(name: str | None):
        print(f"Hey {name}!")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. tests/benchmarks/test_general_performance.py

        status_code, body = _bench_post_json(
            benchmark,
            client,
            "/sync/validated",
            json={"name": "foo", "value": 123},
        )
        assert status_code == 200
        assert body == b'{"name":"foo","value":123,"dep":42}'
    
    
    def test_sync_return_dict_without_response_model(benchmark, client: TestClient) -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. docs_src/body_updates/tutorial001_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str | None = None
        description: str | None = None
        price: float | None = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
        "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
    }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 856 bytes
    - Click Count (0)
Back to Top