Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1981 - 1990 of 2,560 for into (0.06 sec)

  1. docs/ru/docs/tutorial/path-operation-configuration.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="21"
    {!> ../../docs_src/path_operation_configuration/tutorial005.py!}
    ```
    
    ////
    
    /// info | "Дополнительная информация"
    
    Помните, что `response_description` относится конкретно к ответу, а `description` относится к *операции пути* в целом.
    
    ///
    
    /// check | "Технические детали"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. 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:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:13:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. 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.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:53 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/path-operation-configuration.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="21"
    {!> ../../docs_src/path_operation_configuration/tutorial005.py!}
    ```
    
    ////
    
    /// info
    
    beachten Sie, dass sich `response_description` speziell auf die Response bezieht, während `description` sich generell auf die *Pfadoperation* bezieht.
    
    ///
    
    /// check
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/path-params-numeric-validations.md

    &amp; 👆 💪 📣 🔢 🔬:
    
    * `gt`: `g`🅾 `t`👲
    * `ge`: `g`🅾 🌘 ⚖️ `e`🅾
    * `lt`: `l`👭 `t`👲
    * `le`: `l`👭 🌘 ⚖️ `e`🅾
    
    /// info
    
    `Query`, `Path`, &amp; 🎏 🎓 👆 🔜 👀 ⏪ 🏿 ⚠ `Param` 🎓.
    
    🌐 👫 💰 🎏 🔢 🌖 🔬 &amp; 🗃 👆 ✔️ 👀.
    
    ///
    
    /// note | "📡 ℹ"
    
    🕐❔ 👆 🗄 `Query`, `Path` &amp; 🎏 ⚪️➡️ `fastapi`, 👫 🤙 🔢.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tests/test_tuples.py

        return item_group
    
    
    @app.post("/tuple-of-models/")
    def post_tuple_of_models(square: Tuple[Coordinate, Coordinate]):
        return square
    
    
    @app.post("/tuple-form/")
    def hello(values: Tuple[int, int] = Form()):
        return values
    
    
    client = TestClient(app)
    
    
    def test_model_with_tuple_valid():
        data = {"items": [["foo", "bar"], ["baz", "whatelse"]]}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. internal/event/target/elasticsearch.go

    		return nil, err
    	}
    	clientV7 := &esClientV7{client}
    	return clientV7, nil
    }
    
    func (c *esClientV7) getServerSupportStatus(ctx context.Context) (ESSupportStatus, string, error) {
    	resp, err := c.Info(
    		c.Info.WithContext(ctx),
    	)
    	if err != nil {
    		return ESSUnknown, "", store.ErrNotConnected
    	}
    
    	defer resp.Body.Close()
    
    	m := make(map[string]interface{})
    	err = json.NewDecoder(resp.Body).Decode(&m)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. docs/pt/docs/how-to/conditional-openapi.md

    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Então, se você acessar as URLs em `/openapi.json`, `/docs` ou `/redoc`, você receberá apenas um erro `404 Não Encontrado` como:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/debugging.md

    So, the line:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will not be executed.
    
    /// info
    
    For more information, check <a href="https://docs.python.org/3/library/__main__.html" class="external-link" target="_blank">the official Python docs</a>.
    
    ///
    
    ## Run your code with your debugger
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_form_models/test_tutorial002.py

    @needs_pydanticv2
    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": {
                "/login/": {
                    "post": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top