Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 268 for orust (0.02 seconds)

  1. docs/en/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip
    
    As Pydantic will serialize it in the **Rust** side, you will get much higher **performance** than if you don't declare a return type.
    
    ///
    
    ### Non-async *path operation functions* { #non-async-path-operation-functions }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/stream-json-lines.md

    If you declare the return type, FastAPI will use it to **validate** the data, **document** it in OpenAPI, **filter** it, and **serialize** it using Pydantic.
    
    /// tip
    
    As Pydantic will serialize it in the **Rust** side, you will get much higher **performance** than if you don't declare a return type.
    
    ///
    
    ### Non-async *path operation functions* { #non-async-path-operation-functions }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. docs/ko/docs/how-to/general.md

    ## 응답 성능 최적화 - 응답 모델 - 반환 타입 { #optimize-response-performance-response-model-return-type }
    
    JSON 데이터를 반환할 때 성능을 최적화하려면 반환 타입 또는 응답 모델을 사용하세요. 그러면 Pydantic이 Python을 거치지 않고 Rust 측에서 JSON 직렬화를 처리합니다. 자세한 내용은 [튜토리얼 - 응답 모델 - 반환 타입](../tutorial/response-model.md) 문서를 참고하세요.
    
    ## 문서화 태그 - OpenAPI { #documentation-tags-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. internal/config/dns/operator_dns.go

    func Authentication(username, password string) OperatorOption {
    	return func(args *OperatorDNS) {
    		args.username = username
    		args.password = password
    	}
    }
    
    // RootCAs - add custom trust certs pool
    func RootCAs(certPool *x509.CertPool) OperatorOption {
    	return func(args *OperatorDNS) {
    		args.rootCAs = certPool
    	}
    }
    
    // NewOperatorDNS - initialize a new K8S Operator DNS set/unset values.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            assertEquals(dnsDomainInfo.sid.revision, decodedInfo.sid.revision);
        }
    
        @Test
        void testLsarTrustInformationEncodeDecodeRoundTrip() throws NdrException {
            // Create trust info with test data
            lsarpc.LsarTrustInformation trustInfo = new lsarpc.LsarTrustInformation();
            trustInfo.name = new rpc.unicode_string();
            trustInfo.name.length = 14;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. docs/ko/docs/advanced/response-directly.md

    경로 처리에서 [응답 모델 - 반환 타입](../tutorial/response-model.md)을 선언하면 **FastAPI**는 Pydantic을 사용해 데이터를 JSON으로 직렬화합니다.
    
    {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *}
    
    이는 Rust 측에서 처리되므로, 일반적인 Python과 `JSONResponse` 클래스로 수행하는 것보다 성능이 훨씬 좋습니다.
    
    `response_model` 또는 반환 타입을 사용할 때 FastAPI는 `jsonable_encoder`로 데이터를 변환(이는 더 느립니다)하지도 않고, `JSONResponse` 클래스를 사용하지도 않습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[9:11,22] *}
    
    如果你声明了返回类型,FastAPI 会用它来验证数据、在 OpenAPI 中生成文档、进行过滤,并使用 Pydantic 进行序列化。
    
    /// tip | 提示
    
    由于 Pydantic 会在 Rust 侧进行序列化,如果你声明了返回类型,将获得更高的性能。
    
    ///
    
    ### 非异步的*路径操作函数* { #non-async-path-operation-functions }
    
    你也可以使用常规的 `def` 函数(不带 `async`),并以同样的方式使用 `yield`。
    
    FastAPI 会确保其正确运行,不会阻塞事件循环。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  8. docs/es/docs/how-to/general.md

    Para optimizar el rendimiento al devolver datos JSON, usa un tipo de retorno o un modelo de Response; de esa manera Pydantic se encargará de la serialización a JSON del lado de Rust, sin pasar por Python. Lee más en la documentación para [Tutorial - Modelo de Response - Tipo de Retorno](../tutorial/response-model.md).
    
    ## Etiquetas de Documentación - OpenAPI { #documentation-tags-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. docs/ru/docs/deployment/manually.md

    * [Daphne](https://github.com/django/daphne): ASGI‑сервер, созданный для Django Channels.
    * [Granian](https://github.com/emmett-framework/granian): HTTP‑сервер на Rust для Python‑приложений.
    * [NGINX Unit](https://unit.nginx.org/howto/fastapi/): NGINX Unit — лёгкая и многофункциональная среда выполнения веб‑приложений.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  10. docs/ko/docs/tutorial/server-sent-events.md

    반환 타입을 `AsyncIterable[Item]`으로 선언하면 FastAPI가 이를 사용해 데이터를 Pydantic으로 **검증**, **문서화**, **직렬화**합니다.
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip | 팁
    
    Pydantic이 **Rust** 쪽에서 직렬화하므로, 반환 타입을 선언하지 않았을 때보다 훨씬 더 높은 **성능**을 얻을 수 있습니다.
    
    ///
    
    ### 비 async *경로 처리 함수* { #non-async-path-operation-functions }
    
    `async`가 없는 일반 `def` 함수도 사용할 수 있으며, 동일하게 `yield`를 사용할 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top