Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 103 for nora (0.07 seconds)

  1. fastapi/datastructures.py

    from starlette.datastructures import URL as URL  # noqa: F401
    from starlette.datastructures import Address as Address  # noqa: F401
    from starlette.datastructures import FormData as FormData  # noqa: F401
    from starlette.datastructures import Headers as Headers  # noqa: F401
    from starlette.datastructures import QueryParams as QueryParams  # noqa: F401
    from starlette.datastructures import State as State  # noqa: F401
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. tests/test_compat.py

        from typing import Union
    
        from fastapi._compat import v2
    
        # Use Union[None, list[str]] to ensure None comes first in the union args
        field_info = FieldInfo(annotation=Union[None, list[str]])  # noqa: UP007
        field = v2.ModelField(name="items", field_info=field_info)
        result = v2.serialize_sequence_value(field=field, value=["x", "y"])
        assert result == ["x", "y"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. tests/test_custom_route_class.py

        for r in app.router.routes:
            assert isinstance(r, Route)
            routes[r.path] = r
        assert getattr(routes["/a/"], "x_type") == "A"  # noqa: B009
        assert getattr(routes["/a/b/"], "x_type") == "B"  # noqa: B009
        assert getattr(routes["/a/b/c/"], "x_type") == "C"  # noqa: B009
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. tests/test_dependency_yield_scope_websockets.py

    import pytest
    from fastapi import Depends, FastAPI, WebSocket
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    global_context: ContextVar[dict[str, Any]] = ContextVar("global_context", default={})  # noqa: B039
    
    
    class Session:
        def __init__(self) -> None:
            self.open = True
    
    
    async def dep_session() -> Any:
        s = Session()
        yield s
        s.open = False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/misc/AssertionUtil.java

            if (argValue == null) {
                throw new NullArgumentException(argName);
            }
        }
    
        /**
         * Asserts that the argument is neither <code>null</code> nor an empty string.
         *
         * @param argName
         *            The name of the argument that must not be {@code null} or an empty string.
         * @param argValue
         *            The value of the argument.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/request-form-models.md

    Certifique-se de criar um [ambiente virtual](../virtual-environments.md), ativá-lo, e então instalar. Por exemplo:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | Nota
    
    Isto é suportado desde a versão `0.113.0` do FastAPI. 🤓
    
    ///
    
    ## Modelos Pydantic para Formulários { #pydantic-models-for-forms }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/response-status-code.md

    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | Nota
    
    Alguns códigos de resposta (consulte a próxima seção) indicam que a resposta não possui um corpo.
    
    O FastAPI sabe disso e produzirá documentos OpenAPI informando que não há corpo de resposta.
    
    ///
    
    ## Sobre os códigos de status HTTP { #about-http-status-codes }
    
    /// note | Nota
    
    Se você já sabe o que são códigos de status HTTP, pule para a próxima seção.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. fastapi/testclient.py

    from starlette.testclient import TestClient as TestClient  # noqa...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 66 bytes
    - Click Count (0)
  9. fastapi/middleware/gzip.py

    from starlette.middleware.gzip import GZipMiddleware as GZipMiddleware  # noqa...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 79 bytes
    - Click Count (0)
  10. fastapi/middleware/wsgi.py

    from starlette.middleware.wsgi import (
        WSGIMiddleware as WSGIMiddleware,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 11:54:23 GMT 2026
    - 107 bytes
    - Click Count (0)
Back to Top