Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for encode (0.3 sec)

  1. internal/logger/logrotate.go

    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    		}
    		if err := w.rotate(); err != nil {
    			msg := fmt.Sprintf("unable to rotate log file %v: %v", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. docs/en/mkdocs.yml

          name: Switch to light mode
      features:
      - search.suggest
      - search.highlight
      - content.tabs.link
      - navigation.indexes
      - content.tooltips
      - navigation.path
      - content.code.annotate
      - content.code.copy
      - content.code.select
      - navigation.tabs
      icon:
        repo: fontawesome/brands/github-alt
      logo: img/icon-white.svg
      favicon: img/favicon.png
      language: en
    repo_name: tiangolo/fastapi
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	queryStr := strings.ReplaceAll(query.Encode(), "+", "%20")
    	canonicalRequest := getCanonicalRequest(extractedSignedHeaders, unsignedPayload, queryStr, req.URL.Path, req.Method)
    	stringToSign := getStringToSign(canonicalRequest, date, scope)
    	signingKey := getSigningKey(secretAccessKey, date, region, serviceS3)
    	signature := getSignature(signingKey, stringToSign)
    
    	req.URL.RawQuery = query.Encode()
    
    	// Add signature header to RawQuery.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/websockets.md

        If you need something easy to integrate with FastAPI but that is more robust, supported by Redis, PostgreSQL or others, check <a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a>.
    
    ## More info
    
    To learn more about the options, check Starlette's documentation for:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. cmd/metrics-v3-handler.go

    		contentType := r.Header.Get("Content-Type")
    		if contentType == "application/json" {
    			w.Header().Set("Content-Type", "application/json")
    			jsonEncoder := json.NewEncoder(w)
    			jsonEncoder.Encode(metrics)
    			return
    		}
    
    		// If not JSON, return plain text. We format it as a markdown table for
    		// readability.
    		w.Header().Set("Content-Type", "text/plain")
    		var b strings.Builder
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. pyproject.toml

        # TODO: remove after upgrading HTTPX to a version newer than 0.23.0
        # Including PR: https://github.com/encode/httpx/pull/2309
        "ignore:'cgi' is deprecated:DeprecationWarning",
        # For passlib
        "ignore:'crypt' is deprecated and slated for removal in Python 3.13:DeprecationWarning",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    		defer pool.Put(bufB)
    		ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]})
    		if err == nil {
    			toEncode = ra
    			defer ra.Close()
    		}
    		bugLogIf(ctx, err)
    	}
    	n, erasureErr := erasure.Encode(ctx, toEncode, writers, buffer, writeQuorum)
    	closeBitrotWriters(writers)
    	if erasureErr != nil {
    		return ObjectInfo{}, toObjectErr(erasureErr, bucket, object)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. docs/en/docs/features.md

    You will rarely need to come back to the docs.
    
    Here's how your editor might help you:
    
    * in <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * in <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

        * In `encoders.jsonable_encoder`:
            * Remove deprecated `skip_defaults`, use instead `exclude_unset`.
            * Set default of `exclude` from `set()` to `None` (as is in Pydantic).
        * PR [#1862](https://github.com/tiangolo/fastapi/pull/1862).
    * In `encoders.jsonable_encoder` remove parameter `sqlalchemy_safe`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  10. cmd/batch-handlers.go

    	}
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    
    	vcfg, err := c.GetBucketVersioning(ctx, remoteBkt)
    	if err != nil {
    		if miniogo.ToErrorResponse(err).Code == "NoSuchBucket" {
    			return batchReplicationJobError{
    				Code:           "NoSuchTargetBucket",
    				Description:    "The specified target bucket does not exist",
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top