Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 638 for open (0.04 sec)

  1. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="2  14"
    {!../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Using `StreamingResponse` with file-like objects
    
    If you have a file-like object (e.g. the object returned by `open()`), you can create a generator function to iterate over that file-like object.
    
    That way, you don't have to read it all first in memory, and you can pass that generator function to the `StreamingResponse`, and return it.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                    registerTestWithLeftover()
                }
                project(":successful-report") {
                    registerTestWithLeftover()
                }
    
                open class TestWithLeftover: AbstractTestTask() {
                    fun Project.touchInBuildDir(path:String) {
                        layout.buildDirectory.file(path).get().asFile.apply {
                            parentFile.mkdirs()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. test-site/activator.bat

        echo list-templates     Print all available template names
        echo help               Print this message
        echo.
        echo Options:
        echo -jvm-debug [port]  Turn on JVM debugging, open at the given port.  Defaults to 9999 if no port given.
        echo.
        echo Environment variables ^(read from context^):
        echo JAVA_OPTS          Environment variable, if unset uses ""
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 7.2K bytes
    - Viewed (0)
  4. docs/en/overrides/main.html

            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/bump-sh-banner.svg" />
          </a>
        </div>
        <div class="item">
          <a title="Scalar: Beautiful Open-Source API References from Swagger/OpenAPI files" style="display: block; position: relative;" href="https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=top-banner" target="_blank">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. CODE_OF_CONDUCT.md

    identity and expression, level of experience, education, socio-economic status,
    nationality, personal appearance, race, religion, or sexual identity
    and orientation.
    
    We pledge to act and interact in ways that contribute to an open, welcoming,
    diverse, inclusive, and healthy community.
    
    ## Our Standards
    
    Examples of behavior that contributes to a positive environment for our
    community includes:
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Oct 17 06:18:13 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. internal/mountinfo/mountinfo_linux.go

    // of the contents.  If the out argument is not nil, this fills it with MountPoint structs.
    func readProcMounts(mountFilePath string) (mountInfos, error) {
    	file, err := os.Open(mountFilePath)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    	return parseMountFrom(file)
    }
    
    func parseMountFrom(file io.Reader) (mountInfos, error) {
    	mounts := mountInfos{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  7. code_of_conduct.md

    # Contributor Covenant Code of Conduct
    
    ## Our Pledge
    
    In the interest of fostering an open and welcoming environment, we as
    contributors and maintainers pledge to making participation in our project and
    our community a harassment-free experience for everyone, regardless of age, body
    size, disability, ethnicity, gender identity and expression, level of experience,
    nationality, personal appearance, race, religion, or sexual identity and
    orientation.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 20 18:38:58 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    例えば、<a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">ファイルを読み込むには`with`を使用することができます</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    その後の`open("./somefile.txt")`は「コンテキストマネージャ」と呼ばれるオブジェクトを作成します。
    
    `with`ブロックが終了すると、例外があったとしてもファイルを確かに閉じます。
    
    `yield`を依存関係を作成すると、**FastAPI** は内部的にそれをコンテキストマネージャに変換し、他の関連ツールと組み合わせます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/index.md

    So, it was a complete additional system.
    
    It is not very popular or used nowadays.
    
    ## OpenAPI
    
    OpenAPI (previously known as Swagger) is the open specification for building APIs (now part of the Linux Foundation).
    
    **FastAPI** is based on **OpenAPI**.
    
    That's what makes it possible to have multiple automatic interactive documentation interfaces, code generation, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    			{6, "\x00G\x00o\x00G"},
    			{8, "\x00G\x00o\x00G\x00o"},
    			{4, "end\n"},
    		},
    	}}
    
    	for _, v := range vectors {
    		t.Run(path.Base(v.file), func(t *testing.T) {
    			f, err := os.Open(v.file)
    			if err != nil {
    				t.Fatalf("Open() error: %v", err)
    			}
    			defer f.Close()
    
    			tr := NewReader(f)
    			for i, tc := range v.cases {
    				hdr, err := tr.Next()
    				if err != nil || hdr == nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top