Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Zambia (0.15 sec)

  1. docs/it/docs/index.md

    * Per le richieste `PUT` su `/items/{item_id}`, leggerà il body come JSON, questo comprende:
        * verifica che la richiesta abbia un attributo obbligatorio `name` e che sia di tipo `str`.
        * verifica che la richiesta abbia un attributo obbligatorio `price` e che sia di tipo `float`.
        * verifica che la richiesta abbia un attributo opzionale `is_offer` e che sia di tipo `bool`, se presente.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. tests/test_compat.py

        assert field.default is Undefined
    
    
    @needs_pydanticv1
    def test_upload_file_dummy_with_info_plain_validator_function():
        # For coverage
        assert UploadFile.__get_pydantic_core_schema__(str, lambda x: None) == {}
    
    
    @needs_pydanticv1
    def test_union_scalar_list():
        # For coverage
        # TODO: there might not be a current valid code path that uses this, it would
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/response-directly.md

    Esto te da mucha flexibilidad. Puedes devolver cualquier tipo de dato, sobrescribir cualquier declaración de datos o validación, etc.
    
    ## Usando el `jsonable_encoder` en una `Response`
    
    Como **FastAPI** no realiza ningún cambio en la `Response` que devuelves, debes asegurarte de que el contenido está listo.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 11:57:27 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. tests/test_ws_router.py

            assert websocket.receive_text() == "Socket Dependency"
    
    
    def test_router_ws_depends_with_override():
        client = TestClient(app)
        app.dependency_overrides[ws_dependency] = lambda: "Override"  # noqa: E731
        with client.websocket_connect("/router-ws-depends/") as websocket:
            assert websocket.receive_text() == "Override"
    
    
    def test_router_with_params():
        client = TestClient(app)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * Add article to [External Links](https://fastapi.tiangolo.com/external-links/): [How to continuously deploy a FastAPI to AWS Lambda with AWS SAM](https://iwpnd.pw/articles/2020-01/deploy-fastapi-to-aws-lambda). PR [#901](https://github.com/tiangolo/fastapi/pull/901) by [@iwpnd](https://github.com/iwpnd).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  6. docs/es/docs/deployment/versions.md

    FastAPI también sigue la convención de que cualquier cambio hecho en una <abbr title="versiones de parche">"PATCH" version</abbr> es para solucionar errores y <abbr title="cambios que no rompan funcionalidades o compatibilidad">*non-breaking changes*</abbr>.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Feb 07 11:55:38 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. docs/en/data/external_links.yml

        title: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI
      - author: Raf Rasenberg
        author_link: https://rafrasenberg.com/about/
        link: https://rafrasenberg.com/fastapi-lambda/
        title: 'FastAPI lambda container: serverless simplified'
      - author: Teresa N. Fontanella De Santis
        author_link: https://dev.to/
        link: https://dev.to/teresafds/authorization-on-fastapi-with-casbin-41og
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
  8. docs/es/docs/python-types.md

    ```Python
        first_name="john", last_name="doe"
    ```
    
    Es algo diferente.
    
    Estamos usando los dos puntos (`:`), no un símbolo de igual (`=`).
    
    Añadir los type hints normalmente no cambia lo que sucedería si ellos no estuviesen presentes.
    
    Pero ahora imagina que nuevamente estás creando la función, pero con los type hints.
    
    En el mismo punto intentas iniciar el auto-completado con `Ctrl+Space` y ves:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  9. tests/test_datetime_custom_encoder.py

    @needs_pydanticv1
    def test_pydanticv1():
        class ModelWithDatetimeField(BaseModel):
            dt_field: datetime
    
            class Config:
                json_encoders = {
                    datetime: lambda dt: dt.replace(
                        microsecond=0, tzinfo=timezone.utc
                    ).isoformat()
                }
    
        app = FastAPI()
        model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8))
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. tests/test_jsonable_encoder.py

    @needs_pydanticv1
    def test_encode_custom_json_encoders_model_pydanticv1():
        class ModelWithCustomEncoder(BaseModel):
            dt_field: datetime
    
            class Config:
                json_encoders = {
                    datetime: lambda dt: dt.replace(
                        microsecond=0, tzinfo=timezone.utc
                    ).isoformat()
                }
    
        class ModelWithCustomEncoderSubclass(ModelWithCustomEncoder):
            class Config:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top