Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Maisse (0.18 sec)

  1. tests/test_dependency_contextmanager.py

            client.get("/sync_raise_other")
        assert state["/sync_raise"] == "generator raise finalized"
        assert "/sync_raise" not in errors
    
    
    def test_async_raise_raises():
        with pytest.raises(AsyncDependencyError):
            client.get("/async_raise")
        assert state["/async_raise"] == "asyncgen raise finalized"
        assert "/async_raise" in errors
        errors.clear()
    
    
    def test_async_raise_server_error():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> dep: Raise Exception (e.g. HTTPException)
            opt handle
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. docs/fr/docs/contributing.md

    <div class="termy">
    
    ```console
    $ bash scripts/format.sh
    ```
    
    </div>
    
    Il effectuera également un tri automatique de touts vos imports.
    
    Pour qu'il puisse les trier correctement, vous devez avoir FastAPI installé localement dans votre environnement, avec la commande dans la section ci-dessus en utilisant `--symlink` (ou `--pth-file` sous Windows).
    
    ### Formatage des imports
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:51:07 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  4. fastapi/security/http.py

            try:
                data = b64decode(param).decode("ascii")
            except (ValueError, UnicodeDecodeError, binascii.Error):
                raise invalid_user_credentials_exc  # noqa: B904
            username, separator, password = data.partition(":")
            if not separator:
                raise invalid_user_credentials_exc
            return HTTPBasicCredentials(username=username, password=password)
    
    
    class HTTPBearer(HTTPBase):
        """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. scripts/docs.py

        sponsors = mkdocs.utils.yaml_load(sponsors_data_path.read_text(encoding="utf-8"))
        if not (match_start and match_end):
            raise RuntimeError("Couldn't auto-generate sponsors section")
        if not match_pre:
            raise RuntimeError("Couldn't find pre section (<style>) in index.md")
        frontmatter_end = match_pre.end()
        pre_end = match_start.end()
        post_start = match_end.start()
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  6. docs/pt/docs/contributing.md

        A principal ("oficial") linguagem é o  Inglês, localizado em `docs/en/`.
    
    Agora rode o _servidor ao vivo_ para as documentações em Espanhol:
    
    <div class="termy">
    
    ```console
    // Use o comando "live" e passe o código da linguagem como um argumento de linha de comando
    $ python ./scripts/docs.py live es
    
    <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  7. tests/transaction_test.go

    	user := User{Name: "transaction"}
    	if err := tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise")
    	}
    
    	if err := tx.Commit().Error; err != nil {
    		t.Fatalf("Commit should not raise error")
    	}
    
    	if err := tx.Rollback().Error; err == nil {
    		t.Fatalf("Rollback after commit should raise error")
    	}
    }
    
    func TestTransactionWithSavePoint(t *testing.T) {
    	tx := DB.Begin()
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over client,tasks: Can raise exception for dependency, handled after response is sent
        Note over client,operation: Can raise HTTPException and can change the response
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise
            dep -->> handler: Raise HTTPException
            handler -->> client: HTTP error response
            dep -->> dep: Raise other exception
        end
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/main/resources/fess_message_fr.properties

    errors.invalid_kuromoji_segmentation=Le nombre de segmentations {0} ne correspond pas au nombre de lectures {1}.
    errors.invalid_str_is_included="{1}" dans "{0}" n'est pas valide.
    errors.blank_password=Le mot de passe est requis.
    errors.invalid_confirm_password=Confirmer le mot de passe ne correspond pas.
    errors.cannot_delete_doc_because_of_running=Crawler est en cours d'exécution. Le document ne peut pas être supprimé.
    Properties
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Mon Feb 06 22:59:17 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over client,tasks: Can raise exception for dependency, handled after response is sent
        Note over client,operation: Can raise HTTPException and can change the response
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise
            dep -->> handler: Raise HTTPException
            handler -->> client: HTTP error response
            dep -->> dep: Raise other exception
        end
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 04:21:06 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top