Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 97 for appendable (0.07 seconds)

  1. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    Puedes crear dependencias que tengan **sub-dependencias**.
    
    Pueden ser tan **profundas** como necesites.
    
    **FastAPI** se encargará de resolverlas.
    
    ## Primera dependencia "dependable" { #first-dependency-dependable }
    
    Podrías crear una primera dependencia ("dependable") así:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Declara un parámetro de query opcional `q` como un `str`, y luego simplemente lo devuelve.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. docs/fr/docs/tutorial/dependencies/sub-dependencies.md

    Elles peuvent être aussi profondes que nécessaire.
    
    **FastAPI** se chargera de les résoudre.
    
    ## Créer une première dépendance « dependable » { #first-dependency-dependable }
    
    Vous pouvez créer une première dépendance (« dependable ») comme :
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Elle déclare un paramètre de requête optionnel `q` de type `str`, puis le retourne simplement.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    Elas podem ter o nível de **profundidade** que você achar necessário.
    
    O **FastAPI** se encarrega de resolver essas dependências.
    
    ## Primeira dependência "dependable" { #first-dependency-dependable }
    
    Você pode criar uma primeira dependência ("dependable") dessa forma:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** 负责处理解析不同深度的子依赖项。
    
    ## 第一层依赖项 “dependable” { #first-dependency-dependable }
    
    你可以创建一个第一层依赖项(“dependable”),如下:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    这段代码声明了类型为 `str` 的可选查询参数 `q`,然后返回这个查询参数。
    
    这个函数很简单(不过也没什么用),但却有助于让我们专注于了解子依赖项的工作方式。
    
    ## 第二层依赖项,“dependable”和“dependant” { #second-dependency-dependable-and-dependant }
    
    接下来,创建另一个依赖项函数(一个“dependable”),并同时为它自身再声明一个依赖项(因此它同时也是一个“dependant”):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  5. cmd/storage-rest_test.go

    		}
    	}
    }
    
    func testStorageAPIRenameFile(t *testing.T, storage StorageAPI) {
    	err := storage.AppendFile(t.Context(), "foo", "myobject", []byte("foo"))
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    	err = storage.AppendFile(t.Context(), "foo", "otherobject", []byte("foo"))
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    	testCases := []struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. cmd/xl-storage_test.go

    	// Create test files for further reading.
    	for i, appendFile := range appendFiles {
    		err = xlStorage.AppendFile(t.Context(), volume, appendFile.fileName, []byte("hello, world"))
    		if err != appendFile.expectedErr {
    			t.Fatalf("Creating file failed: %d %#v, expected: %s, got: %s", i+1, appendFile, appendFile.expectedErr, err)
    		}
    	}
    
    	{
    		buf := make([]byte, 5)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  7. cmd/xl-storage_unix_test.go

    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Attempt to create a file to verify the permissions later.
    	// AppendFile creates file with 0666 perms.
    	if err = disk.AppendFile(t.Context(), testCase.volName, pathJoin("hello-world.txt", xlStorageFormatFile), []byte("Hello World")); err != nil {
    		t.Fatalf("Create a file `test` failed with %s expected to pass.", err)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

                    }
                }
            }
    
            // Add all LICENSE and NOTICE files in licenses directory
            seen.forEach((name, file) -> {
                appendFile(file, name, "NOTICE", output);
                appendFile(new File(file.getParentFile(), name + "-LICENSE.txt"), name, "LICENSE", output);
            });
    
            // Find any source files with "@notice" annotated license header
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    Let's see a very simple example. It will be so simple that it is not very useful, for now.
    
    But this way we can focus on how the **Dependency Injection** system works.
    
    ### Create a dependency, or "dependable" { #create-a-dependency-or-dependable }
    
    Let's first focus on the dependency.
    
    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  10. internal/ioutil/ioutil_test.go

    	defer os.Remove(name2)
    	f.WriteString("bbbbbbbbbb")
    	f.Close()
    
    	if err = AppendFile(name1, name2, false); err != nil {
    		t.Error(err)
    	}
    
    	b, err := os.ReadFile(name1)
    	if err != nil {
    		t.Error(err)
    	}
    
    	expected := "aaaaaaaaaabbbbbbbbbb"
    	if string(b) != expected {
    		t.Errorf("AppendFile() failed, expected: %s, got %s", expected, string(b))
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top