Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,650 for cast (0.05 sec)

  1. docs/pt/docs/tutorial/background-tasks.md

    É apenas uma função padrão que pode receber parâmetros.
    
    Pode ser uma função `async def` ou `def` normal, o **FastAPI** saberá como lidar com isso corretamente.
    
    Nesse caso, a função de tarefa gravará em um arquivo (simulando o envio de um e-mail).
    
    E como a operação de gravação não usa `async` e `await`, definimos a função com `def` normal:
    
    ```Python hl_lines="6-9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/background-tasks.md

    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly.
    
    In this case, the task function will write to a file (simulating sending an email).
    
    And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. manifests/charts/UPDATING-CHARTS.md

    new `global` values is discouraged as a general rule. The only exceptions are values that are frequently and consistently consumed across at least 2 charts (things like image tags, common labels, etc), but these would only be accepted on a strict case-by-case basis.
    
    - If the change is to a Kubernetes field (such as modifying a Deployment attribute), it will likely need to be install-time configuration. However, that doesn't necessarily mean a PR to add a value will be accepted. The `values.yaml`...
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-directory-urls-parent.xml

      <groupId>inheritance</groupId>
      <artifactId>parent</artifactId>
      <version>11-SNAPSHOT</version>
    
      <name>Model urls inheritance test parent</name>
      <description>Flat directory structure case: module = ../child directory path + child directory path != child-artifact-id</description>
    
      <modules>
        <module>../inheritance</module><!-- current directory == inheritance -->
      </modules>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

    // `run_metadata`) are valid.
    //
    //    - `run_options` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to a `TF_Buffer` containing the
    //      serialized representation of a `RunOptions` protocol buffer.
    //    - `run_metadata` may be NULL, in which case it will be ignored; or
    //      non-NULL, in which case it must point to an empty, freshly allocated
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            switch (ua) {
            case IE:
                if (isLocalFile) {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.ie", "file://"));
                } else {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.ie", "file://"));
                }
                break;
            case FIREFOX:
                if (isLocalFile) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        ioe.printStackTrace(log);
                    last = ioe;
                }
                addr = getNextAddress();
            }
    
            if (last != null && map.isEmpty()) {
                if (last instanceof SmbException == false)
                    throw new SmbException(url.toString(), last);
                throw (SmbException)last;
            }
    
            Iterator iter = map.keySet().iterator();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  8. cmd/background-newdisks-heal-ops.go

    	h.Object = object
    }
    
    func (h *healingTracker) updateProgress(success, skipped bool, bytes uint64) {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	switch {
    	case success:
    		h.ItemsHealed++
    		h.BytesDone += bytes
    	case skipped:
    		h.ItemsSkipped++
    		h.BytesSkipped += bytes
    	default:
    		h.ItemsFailed++
    		h.BytesFailed += bytes
    	}
    }
    
    // update will update the tracker on the disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * under the License.
     */
    package org.apache.maven;
    
    import org.apache.maven.plugin.MojoFailureException;
    
    /**
     * Exception which occurs when a normal (i.e. non-aggregator) mojo fails to
     * execute. In this case, the mojo failed while executing against a particular
     * project instance, so we can wrap the {@link MojoFailureException} with context
     * information including projectId that caused the failure.
     *
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/packaging/common/scripts/prerm

    #       $1=upgrade   : indicates an upgrade
    #
    #   On RedHat,
    #       $1=0         : indicates a removal
    #       $1=1         : indicates an upgrade
    
    
    
    STOP_REQUIRED=false
    
    case "$1" in
    
        # Debian ####################################################
        remove)
            STOP_REQUIRED=true
        ;;
        upgrade)
            if [ "$RESTART_ON_UPGRADE" = "true" ]; then
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
Back to top