Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 628 for opens (0.02 seconds)

  1. 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** は内部的にそれをコンテキストマネージャに変換し、他の関連ツールと組み合わせます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                    // It is more critical than other attributes because append mode depends on it.
                    // We do only really care if we open for writing and not shared for writing
                    // otherwise there are no guarantees anyway, but this stuff is legacy anyways.
                    final SmbComSeek seekReq = new SmbComSeek(config, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/custom-response.md

    Si tienes un <a href="https://docs.python.org/3/glossary.html#term-file-like-object" class="external-link" target="_blank">objeto similar a un archivo</a> (por ejemplo, el objeto devuelto por `open()`), puedes crear una función generadora para iterar sobre ese objeto similar a un archivo.
    
    De esa manera, no tienes que leerlo todo primero en memoria, y puedes pasar esa función generadora al `StreamingResponse`, y devolverlo.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/first-steps.md

    FastAPI Cloud — основной спонсор и источник финансирования для open-source проектов «FastAPI и друзья». ✨
    
    #### Развертывание у других облачных провайдеров { #deploy-to-other-cloud-providers }
    
    FastAPI — open-source и основан на стандартах. Вы можете развернуть приложения FastAPI у любого облачного провайдера по вашему выбору.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  5. scripts/docs.py

            return
    
        visible_text_extractor = VisibleTextExtractor()
        updated_lines = []
        in_code_block3 = False
        in_code_block4 = False
        permalinks = set()
    
        with path.open("r", encoding="utf-8") as f:
            lines = f.readlines()
    
        for line in lines:
            # Handle codeblocks start and end
            if not (in_code_block3 or in_code_block4):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  6. cmd/s3-zip-handlers.go

    		gr, err := objectAPI.GetObjectNInfo(ctx, bucket, zipPath, rs, nil, opts)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		defer gr.Close()
    		rc, err = file.Open(gr)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	} else {
    		rc = io.NopCloser(bytes.NewReader([]byte{}))
    	}
    
    	defer rc.Close()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. scripts/notify_translations.py

                    already_done_comment = comment
            logging.info(
                f"Already notified comment: {already_notified_comment}, already done comment: {already_done_comment}"
            )
    
            if pr.state == "open" and awaiting_label in label_strs:
                logging.info(
                    f"This PR seems to be a language translation and awaiting reviews: #{pr.number}"
                )
                if already_notified_comment:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. internal/event/target/webhook.go

    	if args.QueueDir != "" {
    		queueDir := filepath.Join(args.QueueDir, storePrefix+"-webhook-"+id)
    		queueStore = store.NewQueueStore[event.Event](queueDir, args.QueueLimit, event.StoreExtension)
    		if err := queueStore.Open(); err != nil {
    			cancel()
    			return nil, fmt.Errorf("unable to initialize the queue store of Webhook `%s`: %w", id, err)
    		}
    	}
    
    	target := &WebhookTarget{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt

          } else {
            pos++ // Consume '='.
            pos = value.indexOfNonWhitespace(pos)
    
            if (pos < value.length && value[pos] == '\"') {
              // Quoted string.
              pos++ // Consume '"' open quote.
              val parameterStart = pos
              pos = value.indexOf('"', pos)
              parameter = value.substring(parameterStart, pos)
              pos++ // Consume '"' close quote (if necessary).
            } else {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. PULL_REQUESTS_ETIQUETTE.md

    # MinIO Pull Request Guidelines
    
    These guidelines ensure high-quality commits in MinIO’s GitHub repositories, maintaining 
    a clear, valuable commit history for our open-source projects. They apply to all contributors, 
    fostering efficient reviews and robust code.
    
    ## Why Pull Requests?
    
    Pull Requests (PRs) drive quality in MinIO’s codebase by:
    - Enabling peer review without pair programming.
    - Documenting changes for future reference.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun May 25 16:32:03 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top