Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,719 for nonce (0.06 sec)

  1. docs/em/docs/tutorial/response-model.md

    ////
    
    //// tab | 🐍 3ī¸âƒŖ.1ī¸âƒŖ0ī¸âƒŖ & 🔛
    
    ```Python hl_lines="9  11-12"
    {!> ../../docs_src/response_model/tutorial004_py310.py!}
    ```
    
    ////
    
    * `description: Union[str, None] = None` (⚖ī¸ `str | None = None` 🐍 3ī¸âƒŖ.1ī¸âƒŖ0ī¸âƒŖ) ✔ī¸ đŸ”ĸ `None`.
    * `tax: float = 10.5` ✔ī¸ đŸ”ĸ `10.5`.
    * `tags: List[str] = []` đŸ”ĸ 🛁 📇: `[]`.
    
    ✋ī¸ 👆 đŸ’Ē 💚 đŸšĢ đŸ‘Ģ âšĒī¸âžĄī¸ 🏁 đŸšĨ đŸ‘Ģ đŸšĢ 🤙 đŸĒ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. docs/de/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py

        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "message": "Hello Users!",
            "params": {"q": None, "skip": 5, "limit": 10},
        }
    
    
    @needs_py310
    def test_override_in_users_with_q():
        from docs_src.dependency_testing.tutorial001_py310 import client
    
        response = client.get("/users/?q=foo")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2K bytes
    - Viewed (1)
  4. tests/test_tutorial/test_cookie_param_models/test_tutorial001.py

            c.cookies.set("session_id", "123")
            response = c.get("/items/")
        assert response.status_code == 200
        assert response.json() == {
            "session_id": "123",
            "fatebook_tracker": None,
            "googall_tracker": None,
        }
    
    
    def test_cookie_param_model_invalid(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 422
        assert response.json() == snapshot(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial001.py

            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "file"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "file"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial001_an.py

            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "file"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "file"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/local-locker.go

    		// Not all locks can be taken on resources,
    		// reject it completely.
    		return false, nil
    	}
    
    	// No locks held on the all resources, so claim write
    	// lock on all resources at once.
    	now := UTCNow()
    	for i, resource := range args.Resources {
    		l.lockMap[resource] = []lockRequesterInfo{
    			{
    				Name:            resource,
    				Writer:          true,
    				Source:          args.Source,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_cookie_params/test_tutorial001_an.py

        [
            ("/items", None, 200, {"ads_id": None}),
            ("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
            (
                "/items",
                {"ads_id": "ads_track", "session": "cookiesession"},
                200,
                {"ads_id": "ads_track"},
            ),
            ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
        ],
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/testdata/check-inject/rev-16-injector.yaml

        rules:
          - apiGroups:
              - ""
            apiVersions:
              - v1
            operations:
              - CREATE
            resources:
              - pods
            scope: '*'
        sideEffects: None
        timeoutSeconds: 10
      - admissionReviewVersions:
          - v1beta1
          - v1
        clientConfig:
          service:
            name: istiod-1-16
            namespace: istio-system
            path: /inject
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. docs/em/docs/python-types.md

    đŸ‘¯â€â™‚ī¸ đŸ’ŧ 👉 ⛓ 👈 `item` đŸ’Ē `int` ⚖ī¸ `str`.
    
    #### 🎲 `None`
    
    👆 đŸ’Ē đŸ“Ŗ 👈 💲 đŸ’Ē ✔ī¸ 🆎, 💖 `str`, ✋ī¸ 👈 âšĢī¸ đŸ’Ē `None`.
    
    🐍 3ī¸âƒŖ.6ī¸âƒŖ & 🔛 (✅ 🐍 3ī¸âƒŖ.1ī¸âƒŖ0ī¸âƒŖ) 👆 đŸ’Ē đŸ“Ŗ âšĢī¸ 🏭 & ⚙ī¸ `Optional` âšĒī¸âžĄī¸ `typing` 🕹.
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    ⚙ī¸ `Optional[str]` ↩ī¸ `str` 🔜 ➡ī¸ 👨‍🎨 ℹ 👆 🔍 ❌ 🌐❔ 👆 đŸ’Ē 🤔 👈 💲 🕧 `str`, 🕐❔ âšĢī¸ đŸ’Ē 🤙 `None` 💁‍♂ī¸.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top