Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,387 for orjson (0.04 sec)

  1. internal/config/dns/etcd_dns.go

    const etcdPathSeparator = "/"
    
    // create a new coredns service record for the bucket.
    func newCoreDNSMsg(ip string, port string, ttl uint32, t time.Time) ([]byte, error) {
    	return json.Marshal(&SrvRecord{
    		Host:         ip,
    		Port:         json.Number(port),
    		TTL:          ttl,
    		CreationDate: t,
    	})
    }
    
    // Close closes the internal etcd client and cannot be used further
    func (c *CoreDNS) Close() error {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-ldap.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/mux"
    	xldap "github.com/minio/pkg/v3/ldap"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 02:46:04 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    	LastMinute              map[string]AccElem `json:"apiLatencies,omitempty"`
    	APICalls                map[string]uint64  `json:"apiCalls,omitempty"`
    	TotalWaiting            uint32             `json:"totalWaiting,omitempty"`
    	TotalErrorsAvailability uint64             `json:"totalErrsAvailability"`
    	TotalErrorsTimeout      uint64             `json:"totalErrsTimeout"`
    	TotalWrites             uint64             `json:"totalWrites"`
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. docs_src/conditional_openapi/tutorial001_py39.py

    from fastapi import FastAPI
    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        openapi_url: str = "/openapi.json"
    
    
    settings = Settings()
    
    app = FastAPI(openapi_url=settings.openapi_url)
    
    
    @app.get("/")
    def root():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 281 bytes
    - Viewed (0)
  5. tests/test_request_params/test_body/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/json"]["schema"]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 268 bytes
    - Viewed (0)
  6. docs/ru/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    А если вы перейдёте по <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a>, вы увидите HTTP‑ответ от FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. docs/es/docs/history-design-future.md

    También, el mejor enfoque era usar estándares ya existentes.
    
    Entonces, antes de siquiera empezar a programar **FastAPI**, pasé varios meses estudiando las especificaciones de OpenAPI, JSON Schema, OAuth2, etc. Entendiendo su relación, superposición y diferencias.
    
    ## Diseño { #design }
    
    Luego pasé algún tiempo diseñando la "API" de desarrollador que quería tener como usuario (como desarrollador usando FastAPI).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. docs/es/docs/how-to/custom-request-and-route.md

    Si apenas estás comenzando con **FastAPI**, quizás quieras saltar esta sección.
    
    ///
    
    ## Casos de uso { #use-cases }
    
    Algunos casos de uso incluyen:
    
    * Convertir cuerpos de requests no-JSON a JSON (por ejemplo, <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a>).
    * Descomprimir cuerpos de requests comprimidos con gzip.
    * Registrar automáticamente todos los request bodies.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. docs/en/docs/history-design-future.md

    Also, the best approach was to use already existing standards.
    
    So, before even starting to code **FastAPI**, I spent several months studying the specs for OpenAPI, JSON Schema, OAuth2, etc. Understanding their relationship, overlap, and differences.
    
    ## Design { #design }
    
    Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params.md

    If you open in your browser a URL like:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...without adding the required parameter `needy`, you will see an error like:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top