Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 266 for something (0.09 sec)

  1. docs/ru/docs/tutorial/schema-extra-example.md

    ///
    
    Когда вы добавляете пример внутрь модели Pydantic, используя `schema_extra` или `Field(example="something")`, этот пример добавляется в **JSON Schema** для данной модели Pydantic.
    
    И эта **JSON Schema** модели Pydantic включается в **OpenAPI** вашего API, а затем используется в UI документации.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          setException(e);
          return;
        } catch (Error e) {
          /*
           * StackOverflowError, OutOfMemoryError (e.g., from allocating ExecutionException), or
           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
           */
          setException(e);
          return;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. docs/pl/docs/tutorial/first-steps.md

    * ścieżki `/`
    * używając <abbr title="metoda HTTP GET">operacji <code>get</code></abbr>
    
    /// info | "`@decorator` Info"
    
    Składnia `@something` jest w Pythonie nazywana "dekoratorem".
    
    Umieszczasz to na szczycie funkcji. Jak ładną ozdobną czapkę (chyba stąd wzięła się nazwa).
    
    "Dekorator" przyjmuje funkcję znajdującą się poniżej jego i coś z nią robi.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    		return nil
    	}
    
    	// If a file we are watching has a change event, yield and let caller check validity
    	select {
    	case <-watcher.Events:
    		// Something changed, and we must yield
    		return nil
    	case err := <-watcher.Errors:
    		// We had a watch error - that's no good
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    	default:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/first-steps.md

    ```
    
    `@app.get("/")` 💬 **FastAPI** 👈 🔢 ▶️️ 🔛 🈚 🚚 📨 👈 🚶:
    
    * ➡ `/`
    * ⚙️ <abbr title="an HTTP GET method"><code>get</code> 🛠️</abbr>
    
    /// info | "`@decorator` ℹ"
    
    👈 `@something` ❕ 🐍 🤙 "👨‍🎨".
    
    👆 🚮 ⚫️ 🔛 🔝 🔢. 💖 📶 📔 👒 (👤 💭 👈 🌐❔ ⚖ 👟 ⚪️➡️).
    
     "👨‍🎨" ✊ 🔢 🔛 &amp; 🔨 🕳 ⏮️ ⚫️.
    
    👆 💼, 👉 👨‍🎨 💬 **FastAPI** 👈 🔢 🔛 🔗 **➡** `/` ⏮️ **🛠️** `get`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-docs-ui-assets.md

    You should see a very long JavaScript file for **ReDoc**.
    
    It could start with something like:
    
    ```JavaScript
    /*!
     * ReDoc - OpenAPI/Swagger-generated API Reference Documentation
     * -------------------------------------------------------------
     *   Version: "2.0.0-rc.18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:42:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. fastapi/encoders.py

                and those objects can't (and shouldn't be) serialized to JSON.
                """
            ),
        ] = True,
    ) -> Any:
        """
        Convert any object to something that can be encoded in JSON.
    
        This is used internally by FastAPI to make sure anything you return can be
        encoded as JSON before it is sent to the client.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         *
         * Note: We don't reset the interrupted bit, just wait for it to be set. If this is a thread
         * pool thread, the thread pool will reset it for us. Otherwise, the interrupted bit may have
         * been intended for something else, so don't clear it.
         */
        boolean restoreInterruptedBit = false;
        int spinCount = 0;
        // Interrupting Cow Says:
        //  ______
        // < Spin >
        //  ------
        //        \   ^__^
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/first-steps.md

    * путь `/`
    * использующих <abbr title="HTTP GET метод"><code>get</code> операцию</abbr>
    
    /// info | "`@decorator` Дополнительная информация"
    
    Синтаксис `@something` в Python называется "декоратор".
    
    Вы помещаете его над функцией. Как красивую декоративную шляпу (думаю, что оттуда и происходит этот термин).
    
    "Декоратор" принимает функцию ниже и выполняет с ней какое-то действие.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/handling-errors.md

    But it will be handled by the `unicorn_exception_handler`.
    
    So, you will receive a clean error, with an HTTP status code of `418` and a JSON content of:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | "Technical Details"
    
    You could also use `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top