Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 216 for doprint (1.4 sec)

  1. docs/ja/docs/tutorial/handling-errors.md

    また、何らかの方法で例外を使用することもできますが、**FastAPI** から同じデフォルトの例外ハンドラを使用することもできます。
    
    デフォルトの例外ハンドラを`fastapi.exception_handlers`からインポートして再利用することができます:
    
    {* ../../docs_src/handling_errors/tutorial006.py hl[2,3,4,5,15,21] *}
    
    この例では、非常に表現力のあるメッセージでエラーを`print`しています。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Jun 22 14:35:27 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    내부적으로 `open("./somefile.txt")` 는 "컨텍스트 관리자(Context Manager)"라고 불리는 객체를 생성합니다.
    
    `with` 블록이 끝나면, 예외가 발생했더라도 파일을 닫도록 보장합니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Feb 09 14:54:09 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.11.md

    * kubectl: fixes a regression with --use-openapi-print-columns that would not print object contents ([#65600](https://github.com/kubernetes/kubernetes/pull/65600), [@liggitt](https://github.com/liggitt))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
  4. cmd/common-main.go

    		consoleapi.TLSPort = globalMinioConsolePort
    		consoleapi.Hostname = globalMinioConsoleHost
    	}
    
    	return server, nil
    }
    
    // Check for updates and print a notification message
    func checkUpdate(mode string) {
    	updateURL := minioReleaseInfoURL
    	if runtime.GOOS == globalWindowsOSName {
    		updateURL = minioReleaseWindowsInfoURL
    	}
    
    	u, err := url.Parse(updateURL)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. cmd/object-api-putobject_test.go

    		tmpMetaDir := path.Join(disk, minioMetaTmpBucket)
    		files, err := os.ReadDir(tmpMetaDir)
    		if err != nil {
    			// It's OK to have non-existing tmpMetaDir.
    			if osIsNotExist(err) {
    				continue
    			}
    
    			// Print the error
    			t.Errorf("%s", err)
    		}
    
    		var found bool
    		for _, fi := range files {
    			if fi.Name() == ".trash" {
    				continue
    			}
    			found = true
    			break
    		}
    
    		if found {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    }
    
    var bmbuf []byte
    
    func valName(x int) string {
    	if s := x >> 20; s<<20 == x {
    		return fmt.Sprintf("%dM", s)
    	}
    	if s := x >> 10; s<<10 == x {
    		return fmt.Sprintf("%dK", s)
    	}
    	return fmt.Sprint(x)
    }
    
    func benchBytes(b *testing.B, sizes []int, f func(b *testing.B, n int)) {
    	for _, n := range sizes {
    		if isRaceBuilder && n > 4<<10 {
    			continue
    		}
    		b.Run(valName(n), func(b *testing.B) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        }
                    }
                    buf.append('}');
                    buf.append('\n');
                    try {
                        response.getWriter().print(buf.toString());
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                    return true;
                }, OptionalThing.empty());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Streams.java

       * {@snippet :
       * Streams.forEachPair(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
       *   (arg1, arg2) -> System.out.println(arg1 + ":" + arg2)
       * }
       *
       * <p>will print:
       *
       * {@snippet :
       * foo1:bar1
       * foo2:bar2
       * }
       *
       * <p><b>Warning:</b> If either supplied stream is a parallel stream, the same correspondence
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/settings.md

    Por exemplo, você pode definir um arquivo `main.py` com o seguinte código:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Dica
    
    O segundo parâmetro em <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> é o valor padrão para o retorno.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.12.md

    - kubectl: `--use-openapi-print-columns` has been deprecated in favor of `--server-print`, and will be removed in a future version. ([#65601](https://github.com/kubernetes/kubernetes/pull/65601), [@liggitt](https://github.com/liggitt))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 293.8K bytes
    - Viewed (0)
Back to top