Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for defa (0.04 sec)

  1. cni/pkg/nodeagent/podcgroupns_test.go

    		Namespace: "bar",
    		UID:       types.UID("863b91d4-4b68-4efa-917f-4b560e3e86aa"),
    	}}
    	podUIDNetns, err := n.FindNetnsForPods(map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	})
    	if err != nil {
    		panic(err)
    	}
    	defer podUIDNetns.Close()
    
    	if len(podUIDNetns) == 0 {
    		t.Fatal("expected to find pod netns")
    	}
    
    	expectedUID := "863b91d4-4b68-4efa-917f-4b560e3e86aa"
    	if podUIDNetns[expectedUID] == (WorkloadInfo{}) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. docs/en/data/sponsors_badge.yml

    logins:
      - jina-ai
      - deta
      - investsuite
      - mikeckennedy
      - deepset-ai
      - cryptapi
      - xoflare
      - DropbaseHQ
      - VincentParedes
      - BLUE-DEVIL1134
      - ObliviousAI
      - Doist
      - nihpo
      - armand-sauzay
      - databento-bot
      - databento
      - nanram22
      - Flint-company
      - porter-dev
      - fern-api
      - ndimares
      - svixhq
      - Alek99
      - codacy
      - zanfaruqui
      - scalar
      - bump-sh
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 472 bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    Da mesma forma, você pode lançar uma `httpexception` ou algo parecido no código de saída, após o `yield`
    
    /// tip | "Dica"
    
    Essa é uma técnica relativamente avançada, e na maioria dos casos você não precisa dela totalmente, já que você pode lançar exceções (incluindo `httpexception`) dentro do resto do código da sua aplicação, por exemplo, em uma *função de operação de rota*.
    
    Mas ela existe para ser utilizada caso você precise. 🤓
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. tensorflow/BUILD

            # copybara:uncomment_end
            "//conditions:default": [
                "-z defs",
                "-Wl,--version-script,$(location //tensorflow/c:version_script.lds)",
            ],
        }),
        per_os_targets = True,
        soversion = VERSION,
        visibility = ["//visibility:public"],
        # copybara:comment_begin(OSS Windows only: DEF file for exported symbols)
        win_def_file = select({
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/background-tasks.md

    Elle peut être une fonction asynchrone (`async def`) ou une fonction normale (`def`), **FastAPI** saura la gérer correctement.
    
    Dans cet exemple, la fonction de tâche écrira dans un fichier (afin de simuler un envoi d'email).
    
    L'opération d'écriture n'utilisant ni `async` ni `await`, on définit la fonction avec un `def` normal.
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/en/mkdocs.yml

        - people: ../en/data/people.yml
        - members: ../en/data/members.yml
        - sponsors_badge: ../en/data/sponsors_badge.yml
        - sponsors: ../en/data/sponsors.yml
      redirects:
        redirect_maps:
          deployment/deta.md: deployment/cloud.md
          advanced/graphql.md: how-to/graphql.md
          advanced/custom-request-and-route.md: how-to/custom-request-and-route.md
          advanced/conditional-openapi.md: how-to/conditional-openapi.md
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/first-steps.md

    ## Récapitulatif
    
    * Importez `FastAPI`.
    * Créez une instance d'`app`.
    * Ajoutez une **décorateur d'opération de chemin** (tel que `@app.get("/")`).
    * Ajoutez une **fonction de chemin** (telle que `def root(): ...` comme ci-dessus).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/query-params-str-validations.md

    * `$` : se termine directement ensuite, n'a pas d'autres caractères après `fixedquery`.
    
    Si vous vous sentez perdu avec le concept d'**expression régulière**, pas d'inquiétudes. Il s'agit d'une notion difficile pour beaucoup, et l'on peut déjà réussir à faire beaucoup sans jamais avoir à les manipuler.
    
    Mais si vous décidez d'apprendre à les utiliser, sachez qu'ensuite vous pouvez les utiliser directement dans **FastAPI**.
    
    ## Valeurs par défaut
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. docs/az/docs/index.md

    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Və ya <code>async def</code>...</summary>
    
    Əgər kodunuzda `async` və ya `await` vardırsa `async def` istifadə edə bilərik:
    
    ```Python hl_lines="9  14"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. tests/test_multipart_installation.py

        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
            app = FastAPI()
    
            @app.post("/")
            async def root(username: str = Form()):
                return username  # pragma: nocover
    
    
    def test_incorrect_multipart_installed_file_upload(monkeypatch):
        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
        with warnings.catch_warnings(record=True):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top