Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 424 for myprint (0.05 seconds)

  1. docs/ja/docs/tutorial/extra-models.md

    ```
    
    そして呼び出すと:
    
    ```Python
    user_dict = user_in.model_dump()
    ```
    
    これで変数`user_dict`のデータを持つ`dict`ができました。(これはPydanticモデルのオブジェクトの代わりに`dict`です)。
    
    そして呼び出すと:
    
    ```Python
    print(user_dict)
    ```
    
    以下のようなPythonの`dict`を得ることができます:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    Например, [можно использовать `with` для чтения файла](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Под капотом вызов `open("./somefile.txt")` создаёт объект, называемый «контекстным менеджером».
    
    Когда блок `with` завершается, он обязательно закрывает файл, даже если были исключения.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    Beispielsweise können Sie [„with“ verwenden, um eine Datei auszulesen](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Im Hintergrund erstellt das `open("./somefile.txt")` ein Objekt, das als „Kontextmanager“ bezeichnet wird.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  4. .bazelrc

    # protobuf dependencies ourselves. By default this value is false, but some 
    # projects enable it, which we don't want here.
    # common --define=use_fast_cpp_protos=true
    
    # Make Bazel print out all options from rc files.
    common --announce_rc
    
    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    common --define=grpc_no_ares=true
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 58.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                    }
                }
            }
        }
    
        /**
         * Sends a Server-Sent Event (SSE) to the client.
         *
         * @param writer the print writer to write the event to
         * @param event the event name
         * @param data the event data to serialize as JSON
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    예를 들어, [with를 사용해 파일을 읽을 수 있습니다](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    내부적으로 `open("./somefile.txt")` 는 "컨텍스트 관리자(Context Manager)"라고 불리는 객체를 생성합니다.
    
    `with` 블록이 끝나면, 예외가 발생했더라도 파일을 닫도록 보장합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/handling-errors.md

    **FastAPI** から同じデフォルトの例外ハンドラと一緒に例外を使用したい場合は、`fastapi.exception_handlers`からデフォルトの例外ハンドラをインポートして再利用できます:
    
    {* ../../docs_src/handling_errors/tutorial006_py310.py hl[2:5,15,21] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. internal/s3select/sql/value.go

    		a.setInt(i)
    		return nil
    	}
    
    	if f, ok := a.bytesToFloat(); ok {
    		a.setFloat(f)
    		return nil
    	}
    	var s string
    	if v, ok := a.value.([]byte); ok {
    		s = string(v)
    	} else {
    		s = fmt.Sprint(a.value)
    	}
    	err := fmt.Errorf("Could not convert %q to a number", s)
    	return errInvalidDataType(err)
    }
    
    // All the bytesTo* functions defined below assume the value is a byte-slice.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    例えば、[ファイルを読み込むには`with`を使用することができます](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    その後の`open("./somefile.txt")`は「コンテキストマネージャ」と呼ばれるオブジェクトを作成します。
    
    `with`ブロックが終了すると、例外があったとしてもファイルを確かに閉じます。
    
    `yield`を持つ依存関係を作成すると、**FastAPI** は内部的にそれをコンテキストマネージャに変換し、他の関連ツールと組み合わせます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  10. scripts/general-llm-prompt.md

    Do not translate the content of code blocks, except for comments in the language which the code block uses.
    
    Examples:
    
    Source (English) - The code block is a bash code example with one comment:
    
    ```bash
    # Print greeting
    echo "Hello, World!"
    ```
    
    Result (German):
    
    ```bash
    # Gruß ausgeben
    echo "Hello, World!"
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
Back to Top