Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,290 for Funktion (0.05 seconds)

  1. fastapi/cli.py

    try:
        from fastapi_cli.cli import main as cli_main
    
    except ImportError:  # pragma: no cover
        cli_main = None  # type: ignore
    
    
    def main() -> None:
        if not cli_main:  # type: ignore[truthy-function]  # ty: ignore[unused-ignore-comment]
            message = 'To use the fastapi command, please install "fastapi[standard]":\n\n\tpip install "fastapi[standard]"\n'
            print(message)
            raise RuntimeError(message)  # noqa: B904
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 455 bytes
    - Click Count (0)
  2. docs/en/docs/advanced/dataclasses.md

    8. Notice that this *path operation function* uses regular `def` instead of `async def`.
    
        As always, in FastAPI you can combine `def` and `async def` as needed.
    
        If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. fastapi/_compat/shared.py

            is_uploadfile_or_nonable_uploadfile_annotation(sub_annotation)
            for sub_annotation in get_args(annotation)
        )
    
    
    def is_pydantic_v1_model_instance(obj: Any) -> bool:
        # TODO: remove this function once the required version of Pydantic fully
        # removes pydantic.v1
        try:
            with warnings.catch_warnings():
                warnings.simplefilter("ignore", UserWarning)
                from pydantic import v1
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  4. docs_src/path_operation_advanced_configuration/tutorial002_py310.py

    @app.get("/items/")
    async def read_items():
        return [{"item_id": "Foo"}]
    
    
    def use_route_names_as_operation_ids(app: FastAPI) -> None:
        """
        Simplify operation IDs so that generated API clients have simpler function
        names.
    
        Should be called only after all routes have been added.
        """
        for route in app.routes:
            if isinstance(route, APIRoute):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 572 bytes
    - Click Count (0)
  5. misc/wasm/wasm_exec.html

    			mod = result.module;
    			inst = result.instance;
    			document.getElementById("runButton").disabled = false;
    		}).catch((err) => {
    			console.error(err);
    		});
    
    		async function run() {
    			console.clear();
    			await go.run(inst);
    			inst = await WebAssembly.instantiate(mod, go.importObject); // reset instance
    		}
    	</script>
    
    	<button onClick="run();" id="runButton" disabled>Run</button>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Aug 30 19:15:21 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  6. tensorflow/c/eager/graph_function.cc

    ==============================================================================*/
    #include "tensorflow/c/eager/graph_function.h"
    
    #include <utility>
    
    #include "tensorflow/c/eager/abstract_function.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    namespace tracing {
    namespace graph {
    GraphFunction::GraphFunction(FunctionDef fdef)
        : AbstractFunction(kGraph),
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                        "<script>" +
                        "(function() {" +
                        "var mql = window.matchMedia('(prefers-color-scheme: dark)');" +
                        "var hljsEl = document.getElementById('hljs-theme');" +
                        "function applyTheme(dark) {" +
                        "var t = dark ? 'dark' : 'light';" +
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/request-files.md

    Como todos estos métodos son métodos `async`, necesitas "await" para ellos.
    
    Por ejemplo, dentro de una *path operation function* `async` puedes obtener los contenidos con:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Si estás dentro de una *path operation function* normal `def`, puedes acceder al `UploadFile.file` directamente, por ejemplo:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  9. scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md

    If comment doesn't follow this pattern, fixer tool will not preserve it.
    
    ```python
    #Function declaration
    def hello_world():# Print greeting
        print("Hello, world!")  #Print greeting without space after hash
    ```
    
    ```console
    //Function declaration
    def hello_world():// Print greeting
        print("Hello, world!")  //Print greeting without space after slashes
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  10. tensorflow/c/eager/c_api_unified_experimental.cc

    using tensorflow::tracing::TracingTensorHandle;
    
    void TF_SetTracingImplementation(const char* name, TF_Status* s) {
      tsl::Set_TF_Status_from_Status(s, SetDefaultTracingEngine(name));
    }
    
    // Creates a new TensorFlow function, it is an execution context attached to a
    // given tracing context.
    TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* s) {
      return wrap(CreateTracingExecutionContext(fn_name, s));
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 9K bytes
    - Click Count (0)
Back to Top