Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 325 for reside (0.09 sec)

  1. cmd/callhome.go

    	if !globalCallhomeConfig.Enabled() {
    		return
    	}
    
    	go func() {
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		// Leader node (that successfully acquires the lock inside runCallhome)
    		// will keep performing the callhome. If the leader goes down for some reason,
    		// the lock will be released and another node will acquire it and take over
    		// because of this loop.
    		for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-fields.md

    # Body - Fields
    
    The same way you can declare additional validation and metadata in *path operation function* parameters with `Query`, `Path` and `Body`, you can declare validation and metadata inside of Pydantic models using Pydantic's `Field`.
    
    ## Import `Field`
    
    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. ci/official/utilities/setup_docker.sh

      env | grep ^TFCI_ > "$env_file"
    
      WORKING_DIR="$TFCI_GIT_DIR"
      if [[ `uname -s | grep -P '^MSYS_NT'` ]]; then
        env_file=$(cygpath -m $env_file)
        # Host dirs can only be mapped to an existing drive inside the container, so
        # T:\ is replaced with C:\.
        _TFCI_OUTPUT_DIR_WIN=$(replace_drive_letter_with_c "$TFCI_OUTPUT_DIR")
        sed -iE 's|^TFCI_OUTPUT_DIR=.*|TFCI_OUTPUT_DIR='"$_TFCI_OUTPUT_DIR_WIN"'|g' $env_file
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Aug 09 16:05:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/debugging.md

    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    in that case, the automatically created variable inside of `myapp.py` will not have the variable `__name__` with a value of `"__main__"`.
    
    So, the line:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will not be executed.
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    </div>
    
    ## Update the App with Multiple Models
    
    Now let's **refactor** this app a bit to increase **security** and **versatility**.
    
    If you check the previous app, in the UI you can see that, up to now, it lets the client decide the `id` of the `Hero` to create. 😱
    
    We shouldn't let that happen, they could overwrite an `id` we already have assigned in the DB. Deciding the `id` should be done by the **backend** or the **database**, **not by the client**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. ci/official/upload.sh

      # $TF_VER_FULL will resolve to e.g. "2.15.0-rc2". Since $TF_VER_FULL comes
      # from get_versions.sh, which must be run *after* update_version.py, FINAL_URI
      # can't be set inside the rest of the _upload envs.
      FINAL_URI="$TFCI_ARTIFACT_FINAL_GCS_URI/$TF_VER_FULL"
      gsutil -m rsync -d -r "$DOWNLOADS" "$FINAL_URI"
    
      # Also mirror the latest-uploaded folder to the "latest" directory.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jan 24 20:52:12 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. docs/fr/docs/alternatives.md

    Il a clairement inspiré Uvicorn et Starlette, qui sont actuellement plus rapides que Sanic dans les benchmarks.
    
    ///
    
    /// check | "A inspiré **FastAPI** à"
    
    Trouvez un moyen d'avoir une performance folle.
    
    C'est pourquoi **FastAPI** est basé sur Starlette, car il s'agit du framework le plus rapide disponible (testé par des benchmarks tiers).
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/advanced-dependencies.md

    ## Create an instance
    
    We could create an instance of this class with:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *}
    
    And that way we are able to "parameterize" our dependency, that now has `"bar"` inside of it, as the attribute `checker.fixed_content`.
    
    ## Use the instance as a dependency
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. docs/en/docs/features.md

    You write standard Python with types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    That can then be used like:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

     * conformance of concrete {@link SortedMap} subclasses to that contract.
     *
     * @author Jared Levy
     */
    // TODO: Use this class to test classes besides ImmutableSortedMap.
    @GwtCompatible
    public abstract class SortedMapInterfaceTest<K, V> extends MapInterfaceTest<K, V> {
    
      protected SortedMapInterfaceTest(
          boolean allowsNullKeys,
          boolean allowsNullValues,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top