Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 2,107 for pathf (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.fakefilesystem.FakeFileSystem
    
    class PostPath {
      private val client = OkHttpClient()
      private val fileSystem = FakeFileSystem()
      val path = "test.json".toPath()
    
      fun run() {
        fileSystem.write(path) {
          writeUtf8("{}")
        }
    
        val request =
          Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            path = dir.getCanonicalPath();
    
            if( path.length() < 7 ) {
                out.println( "<b><big>smb1://</big></b><br>" );
                path = ".";
            } else {
                out.println( "<b><big>" + path + "</big></b><br>" );
                path = "../";
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body-multiple-params.md

    # Body - Множество параметров
    
    Теперь, когда мы увидели, как использовать `Path` и `Query` параметры, давайте рассмотрим более продвинутые примеры обьявления тела запроса.
    
    ## Обьединение `Path`, `Query` и параметров тела запроса
    
    Во-первых, конечно, вы можете объединять параметры `Path`, `Query` и объявления тела запроса в своих функциях обработки, **FastAPI** автоматически определит, что с ними нужно делать.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.api.ExtensibleEnums.pathScope;
    
    /**
     * Path scope.
     * A path scope is used to determine the kind of build or class path that will be built when resolving
     * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service.
     * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial001_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Path
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: Union[str, None] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 610 bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                    }
                }
                return builder.build()
            }
    
            private
            fun processDirectory(dir: Path, builder: Trie.Builder) {
                Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
                    override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult {
                        val zipEntry = ZipEntry(dir.relativize(file).toString())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. cmd/iam-object-store.go

    		return err
    	}
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	return json.Unmarshal(data, item)
    }
    
    func (iamOS *IAMObjectStore) deleteIAMConfig(ctx context.Context, path string) error {
    	return deleteConfig(ctx, iamOS.objAPI, path)
    }
    
    func (iamOS *IAMObjectStore) loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error {
    	for {
    	retry:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                return url.toString();
            }
    
            private void concatPath(StringBuilder url, String path) {
                if (!path.isEmpty()) {
                    boolean initialUrlEndsWithSlash = url.charAt(url.length() - 1) == '/';
                    boolean pathStartsWithSlash = path.charAt(0) == '/';
    
                    if (pathStartsWithSlash) {
                        if (initialUrlEndsWithSlash) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

    import org.apache.maven.model.path.DefaultModelPathTranslator;
    import org.apache.maven.model.path.DefaultModelUrlNormalizer;
    import org.apache.maven.model.path.DefaultPathTranslator;
    import org.apache.maven.model.path.DefaultUrlNormalizer;
    import org.apache.maven.model.path.ModelPathTranslator;
    import org.apache.maven.model.path.ModelUrlNormalizer;
    import org.apache.maven.model.path.PathTranslator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-multiple-params.md

    # Corpo - Múltiplos parâmetros
    
    Agora que nós vimos como usar `Path` e `Query`, veremos usos mais avançados de declarações no corpo da requisição.
    
    ## Misture `Path`, `Query` e parâmetros de corpo
    
    Primeiro, é claro, você pode misturar `Path`, `Query` e declarações de parâmetro no corpo da requisição livremente e o **FastAPI** saberá o que fazer.
    
    E você também pode declarar parâmetros de corpo como opcionais, definindo o valor padrão com `None`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top