Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 2,338 for fiction (0.15 seconds)

  1. docs/fr/docs/tutorial/body-fields.md

    # Corps - Champs { #body-fields }
    
    De la même manière que vous pouvez déclarer des validations supplémentaires et des métadonnées dans les paramètres d'une fonction de chemin d'accès avec `Query`, `Path` et `Body`, vous pouvez déclarer des validations et des métadonnées à l'intérieur des modèles Pydantic en utilisant `Field` de Pydantic.
    
    ## Importer `Field` { #import-field }
    
    D'abord, vous devez l'importer :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. internal/lock/lock_nix.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lock
    
    import (
    	"os"
    	"syscall"
    )
    
    // Internal function implements support for both
    // blocking and non blocking lock type.
    func lockedOpenFile(path string, flag int, perm os.FileMode, lockType int) (*LockedFile, error) {
    	switch flag {
    	case syscall.O_RDONLY:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
            String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from";
    
            TransferResource resource = event.getResource();
            StringBuilder message = new StringBuilder();
            message.append(darkOn).append(action).append(' ').append(direction).append(' ');
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            SMBUtil.writeInt2(80 - 64, buffer, offset + 2);
            SMBUtil.writeInt4(50, buffer, offset + 4);
    
            // Write notification with specific action
            int notifyOffset = 80;
            SMBUtil.writeInt4(0, buffer, notifyOffset);
            SMBUtil.writeInt4(action, buffer, notifyOffset + 4);
            SMBUtil.writeInt4(8, buffer, notifyOffset + 8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/stream-json-lines.md

    Pour diffuser des JSON Lines avec FastAPI, au lieu d'utiliser `return` dans votre fonction de chemin d'accès, utilisez `yield` pour produire chaque élément à tour de rôle.
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}
    
    Si chaque élément JSON que vous voulez renvoyer est de type `Item` (un modèle Pydantic) et que c'est une fonction async, vous pouvez déclarer le type de retour comme `AsyncIterable[Item]` :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        }
    
        @Override
        public Iterable<Entry<String, String>> order(List<Entry<String, String>> insertionOrder) {
          return insertionOrder;
        }
    
        static final Function<String, String> FUNCTION =
            new Function<String, String>() {
              @Override
              public String apply(String value) {
                return Ascii.toLowerCase(value);
              }
            };
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/user/admin_user.jsp

                            <jsp:include page="/WEB-INF/view/common/admin/crud/breadcrumb.jsp"></jsp:include>
                        </div>
                    </div>
                </div>
            </div>
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="card card-outline card-primary">
                            <div class="card-header">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/using-request-directly.md

    Let's imagine you want to get the client's IP address/host inside of your *path operation function*.
    
    For that you need to access the request directly.
    
    {* ../../docs_src/using_request_directly/tutorial001_py310.py hl[1,7:8] *}
    
    By declaring a *path operation function* parameter with the type being the `Request` **FastAPI** will know to pass the `Request` in that parameter.
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/advanced-python-types.md

    À titre d'exemple, prenons cette fonction :
    
    ```python
    from typing import Optional
    
    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    Le paramètre `name` est défini comme `Optional[str]`, mais il n'est pas facultatif, vous ne pouvez pas appeler la fonction sans le paramètre :
    
    ```Python
    say_hi()  # Oh non, cela lève une erreur ! 😱
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/using-request-directly.md

    Imaginons que vous souhaitiez obtenir l'adresse IP/l'hôte du client dans votre fonction de chemin d'accès.
    
    Pour cela, vous devez accéder directement à la requête.
    
    {* ../../docs_src/using_request_directly/tutorial001_py310.py hl[1,7:8] *}
    
    En déclarant un paramètre de fonction de chemin d'accès de type `Request`, **FastAPI** saura passer la `Request` dans ce paramètre.
    
    /// tip | Astuce
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top