Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1141 - 1150 of 2,630 for path2 (0.02 seconds)

  1. docs_src/path_params_numeric_validations/tutorial006_py310.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 397 bytes
    - Click Count (0)
  2. docs_src/path_params_numeric_validations/tutorial006_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str,
        size: Annotated[float, Query(gt=0, lt=10.5)],
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 447 bytes
    - Click Count (0)
  3. cmd/os_unix.go

    		return -1, &os.PathError{Op: "open", Path: name, Err: e}
    	}
    	return fd, nil
    }
    
    // Forked from Golang but chooses to avoid performing lookup
    //
    // osMkdirAll creates a directory named path,
    // along with any necessary parents, and returns nil,
    // or else returns an error.
    // The permission bits perm (before umask) are used for all
    // directories that MkdirAll creates.
    // If path is already a directory, MkdirAll does nothing
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/additional-status-codes.md

    # Códigos de Estado Adicionales { #additional-status-codes }
    
    Por defecto, **FastAPI** devolverá los responses usando un `JSONResponse`, colocando el contenido que devuelves desde tu *path operation* dentro de ese `JSONResponse`.
    
    Usará el código de estado por defecto o el que configures en tu *path operation*.
    
    ## Códigos de estado adicionales { #additional-status-codes_1 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  5. scripts/topic_repos.py

                    owner_html_url=repo.owner.html_url,
                )
            )
        data = [repo.model_dump() for repo in final_repos]
    
        # Local development
        # repos_path = Path("../docs/en/data/topic_repos.yml")
        repos_path = Path("./docs/en/data/topic_repos.yml")
        repos_old_content = repos_path.read_text(encoding="utf-8")
        new_repos_content = yaml.dump(data, sort_keys=False, width=200, allow_unicode=True)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/metadata.md

    ///
    
    ### Usar tus etiquetas { #use-your-tags }
    
    Usa el parámetro `tags` con tus *path operations* (y `APIRouter`s) para asignarlas a diferentes etiquetas:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[21,26] *}
    
    /// info | Información
    
    Lee más sobre etiquetas en [Configuración de Path Operation](path-operation-configuration.md#tags).
    
    ///
    
    ### Revisa la documentación { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

            Map<String, File> classes = new HashMap<>();
            try {
                Files.walkFileTree(testRoot.toPath(), new FileVisitor<Path>() {
                    private String packageName;
    
                    @Override
                    public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) throws IOException {
                        // First we visit the root directory
                        if (packageName == null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

                Files.walk(tempDir)
                        .sorted((a, b) -> b.compareTo(a)) // Delete files before directories
                        .forEach(path -> {
                            try {
                                Files.delete(path);
                            } catch (IOException e) {
                                // Ignore cleanup errors
                            }
                        });
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/query-params.md

    ```
    
    або будь-який інший варіант написання (великі літери, перша літера велика тощо), ваша функція побачить параметр `short` зі значенням `True` типу `bool`. В іншому випадку — `False`.
    
    
    ## Кілька path і query параметрів { #multiple-path-and-query-parameters }
    
    Ви можете одночасно оголошувати кілька параметрів шляху та параметрів query, **FastAPI** знає, який з них який.
    
    І вам не потрібно оголошувати їх у якомусь конкретному порядку.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

    import org.gradle.api.tasks.TaskAction;
    import org.gradle.internal.UncheckedException;
    
    import javax.inject.Inject;
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.StandardOpenOption;
    import java.util.Collections;
    
    @CacheableTask
    public abstract class GenerateDocInfo extends DefaultTask {
        @InputFiles
        @PathSensitive(PathSensitivity.RELATIVE)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top