Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,055 for functies (0.1 sec)

  1. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ```
    
    O código após o `yield` é executado após a resposta ser entregue:
    
    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip | "Dica"
    
    Você pode usar funções assíncronas (`async`) ou funções comuns.
    
    O **FastAPI** saberá o que fazer com cada uma, da mesma forma que as dependências comuns.
    
    ///
    
    ## Uma dependência com `yield` e `try`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    		Closer:        r,
    	}
    }
    
    // ObjectSegmentReaderFn is a function that returns a reader for a contiguous
    // suffix segment of an object starting at the given (non-negative) offset.
    type ObjectSegmentReaderFn func(offset int64) (io.ReadCloser, error)
    
    // ObjectReadSeekCloser implements ReadSeekCloser interface for reading objects.
    // It uses a function that returns a io.ReadCloser for the object.
    type ObjectReadSeekCloser struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

        for details.
    
    #### Running doctest for testable docstring
    
    There are two ways to test the code in the docstring locally:
    
    1.  If you are only changing the docstring of a class/function/method, then you
        can test it by passing that file's path to
        [tf_doctest.py](https://www.tensorflow.org/code/tensorflow/tools/docs/tf_doctest.py).
        For example:
    
        ```bash
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    Don't worry, with the way the code is structured, we'll make sure we use **a single SQLModel *session* per request** later, this is actually what the `check_same_thread` is trying to achieve.
    
    ### Create the Tables
    
    We then add a function that uses `SQLModel.metadata.create_all(engine)` to **create the tables** for all the *table models*.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### Create a Session Dependency
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Vous devez vous assurer qu'il est unique pour chaque opération.
    
    ```Python hl_lines="6"
    {!../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### Utilisation du nom *path operation function* comme operationId
    
    Si vous souhaitez utiliser les noms de fonction de vos API comme `operationId`, vous pouvez les parcourir tous et remplacer chaque `operation_id` de l'*opération de chemin* en utilisant leur `APIRoute.name`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. .github/workflows/update-rbe.yml

        steps:
        - name: Checkout code
          uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
        - name: Update the RBE Configs
          run: |
            function map() {
              # The "digest" that allows us to pull an image is not the digest as
              # returned by the API, but a sha256sum of the entire chunk of image
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. cmd/metrics-v3-api.go

    		"Total number of bytes received", "type")
    )
    
    // loadAPIRequestsHTTPMetrics - reads S3 HTTP metrics.
    //
    // This is a `MetricsLoaderFn`.
    //
    // This includes node level S3 HTTP metrics.
    //
    // This function currently ignores `opts`.
    func loadAPIRequestsHTTPMetrics(ctx context.Context, m MetricValues, _ *metricsCache) error {
    	// Collect node level S3 HTTP metrics.
    	httpStats := globalHTTPStats.toServerHTTPStats(false)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. cmd/os-readdir_test.go

    	return true
    }
    
    // teardown - cleans up test directories.
    func teardown(testResults []result) {
    	for _, r := range testResults {
    		os.RemoveAll(r.dir)
    	}
    }
    
    // TestReadDir - test function to run various readDir() tests.
    func TestReadDir(t *testing.T) {
    	var testResults []result
    
    	// Setup and capture test results for empty directory.
    	testResults = append(testResults, setupTestReadDirEmpty(t)...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  9. cmd/bootstrap-peer-server.go

    }
    
    // client to talk to bootstrap NEndpoints.
    type bootstrapRESTClient struct {
    	gridConn *grid.Connection
    }
    
    // Verify function verifies the server config.
    func (client *bootstrapRESTClient) Verify(ctx context.Context, srcCfg *ServerSystemConfig) (err error) {
    	if newObjectLayerFn() != nil {
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. internal/logger/console.go

    	"github.com/minio/pkg/v3/logger/message/log"
    )
    
    // ConsoleLoggerTgt is a stringified value to represent console logging
    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    // Logger interface describes the methods that need to be implemented to satisfy the interface requirements.
    type Logger interface {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top