Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for refMap (0.12 sec)

  1. docs/en/docs/tutorial/body-updates.md

        {!> ../../../docs_src/body_updates/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="35"
        {!> ../../../docs_src/body_updates/tutorial002.py!}
        ```
    
    ### Partial updates recap
    
    In summary, to apply partial updates you would:
    
    * (Optionally) use `PATCH` instead of `PUT`.
    * Retrieve the stored data.
    * Put that data in a Pydantic model.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/first-steps.md

    You could also use it to generate code automatically, for clients that communicate with your API. For example, frontend, mobile or IoT applications.
    
    ## Recap, step by step
    
    ### Step 1: import `FastAPI`
    
    ```Python hl_lines="1"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` is a Python class that provides all the functionality for your API.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (1)
  3. src/internal/fuzz/mem.go

    // TODO(jayconrod): add method to resize the buffer. We'll need that when the
    // mutator can increase input length. Only the coordinator will be able to
    // do it, since we'll need to send a message to the worker telling it to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:44:27 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
            return {"fresh_value": fresh_value}
        ```
    
    ## Recap
    
    Apart from all the fancy words used here, the **Dependency Injection** system is quite simple.
    
    Just functions that look the same as the *path operation functions*.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/background-tasks.md

    But if you need to access variables and objects from the same **FastAPI** app, or you need to perform small background tasks (like sending an email notification), you can simply just use `BackgroundTasks`.
    
    ## Recap
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

          }
        }
        replicas.push_back(replica);
      }
    
      return success();
    }
    
    // Creates islands per replica from `tf_device.replicate` region and remap
    // replicate results with new island outputs. A single island is created to
    // forward control dependencies if there is a control dependency output from the
    // replicate island. Devices are remapped from aliased devices to explicit
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-multiple-params.md

            "tax": 3.2
        }
    }
    ```
    
    instead of:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    ## Recap
    
    You can add multiple body parameters to your *path operation function*, even though a request can only have a single body.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 09 02:01:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/value.go

    		sz := len(sv.fieldMap)
    		ntvMap := reflect.MakeMapWithSize(typeDesc, sz)
    		for name, val := range sv.fieldMap {
    			refVal, err := val.Ref.ConvertToNative(elemType)
    			if err != nil {
    				return nil, err
    			}
    			ntvMap.SetMapIndex(reflect.ValueOf(name), reflect.ValueOf(refVal))
    		}
    		return ntvMap.Interface(), nil
    	}
    
    	if typeDesc.Kind() == reflect.Struct {
    		ntvObjPtr := reflect.New(typeDesc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/extra-models.md

        {!> ../../../docs_src/extra_models/tutorial005_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  8"
        {!> ../../../docs_src/extra_models/tutorial005.py!}
        ```
    
    ## Recap
    
    Use multiple Pydantic models and inherit freely for each case.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

      let constructor = "mlir::tf_saved_model::CreateDedupBoundInputBindingPass()";
    }
    
    def LowerGlobalsToMlProgramPass: Pass<"tf-saved-model-lower-globals-to-mlprogram", "mlir::ModuleOp"> {
      let summary = "Remove (and remap) function arguments that map to global tensors.";
      let description = [{
        This pass will lower AssignVariableOp and ReadVariableOp to their ml_program
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top