Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for updateFn (0.05 sec)

  1. docs/de/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    ### Pydantics `update`-Parameter verwenden { #using-pydantics-update-parameter }
    
    Jetzt können Sie eine Kopie des existierenden Modells mittels `.model_copy()` erstellen, wobei Sie dem `update`-Parameter ein `dict` mit den zu ändernden Daten übergeben.
    
    Wie in `stored_item_model.model_copy(update=update_data)`:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. scripts/translate.py

                    "UNLESS you were instructed earlier to behave different, there MUST NOT be whole sentences or partial sentences in the updated translation, which are not in the original English content, and there MUST NOT be whole sentences or partial sentences in the original English content, which are not in the updated translation. Remember: the updated translation shall be IN SYNC with the original English content.",
                    "Previous translation:",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

    ### Translations
    
    * 🌐 Update translations for de (update-outdated). PR [#14602](https://github.com/fastapi/fastapi/pull/14602) by [@nilslindemann](https://github.com/nilslindemann).
    * 🌐 Update translations for de (update-outdated). PR [#14581](https://github.com/fastapi/fastapi/pull/14581) by [@nilslindemann](https://github.com/nilslindemann).
    
    ### Internal
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            )
    
            # Update a hero
            response = client.patch(
                f"/heroes/{hero_id}", json={"name": "Dog Pond", "age": None}
            )
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
                {"name": "Dog Pond", "age": None, "id": Is(hero_id)}
            )
    
            # Get updated hero
            response = client.get(f"/heroes/{hero_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. .pre-commit-config.yaml

            args:
              - --update-existing
            files: ^docs/en/docs/.*\.md$
    
          - id: generate-readme
            language: unsupported
            name: generate README.md from index.md
            entry: uv run ./scripts/docs.py generate-readme
            files: ^docs/en/docs/index\.md|docs/en/data/sponsors\.yml|scripts/docs\.py$
            pass_filenames: false
    
          - id: update-languages
            language: unsupported
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 11:36:58 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  6. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

        tags_schema = {"default": [], "title": "Tags"}
        if mod_name.startswith("tutorial001"):
            tags_schema.update(UNTYPED_LIST_SCHEMA)
        elif mod_name.startswith("tutorial002"):
            tags_schema.update(LIST_OF_STR_SCHEMA)
        elif mod_name.startswith("tutorial003"):
            tags_schema.update(SET_OF_STR_SCHEMA)
    
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. fastapi/openapi/utils.py

                    if path:
                        paths.setdefault(route.path_format, {}).update(path)
                    if security_schemes:
                        components.setdefault("securitySchemes", {}).update(
                            security_schemes
                        )
                    if path_definitions:
                        definitions.update(path_definitions)
        for webhook in webhooks or []:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. .github/workflows/translate.yml

            default: "false"
          command:
            description: Command to run
            type: choice
            options:
              - translate-page
              - translate-lang
              - update-outdated
              - add-missing
              - update-and-add
              - remove-removable
          language:
            description: Language to translate to as a letter code (e.g. "es" for Spanish)
            type: string
            required: false
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:48:45 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_bigger_applications/test_main.py

        response = client.put(
            "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "You can only update the item: plumbus"}
    
    
    def test_admin(client: TestClient):
        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_schema_extra_example/test_tutorial003.py

            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "name": "item_id",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top