Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 134 for subw (0.02 seconds)

  1. tests/test_dependency_yield_scope_websockets.py

    ) -> Any:
        await websocket.accept()
        await websocket.send_json(
            {"func_is_open": function_session.open, "req_is_open": request_session.open}
        )
    
    
    @app.websocket("/sub")
    async def get_sub(websocket: WebSocket, sessions: NamedSessionsDep) -> Any:
        await websocket.accept()
        await websocket.send_json(
            {"named_session_open": sessions[0].open, "session_open": sessions[1].open}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. tests/test_dependency_yield_scope.py

        def iter_data():
            yield json.dumps(
                {"func_is_open": function_session.open, "req_is_open": request_session.open}
            )
    
        return StreamingResponse(iter_data())
    
    
    @app.get("/sub")
    def get_sub(sessions: NamedSessionsDep) -> Any:
        def iter_data():
            yield json.dumps(
                {"named_session_open": sessions[0].open, "session_open": sessions[1].open}
            )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/beans/impl/sub/MogeBeanImpl.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.impl.sub;
    
    /**
     * @author koichik
     */
    class MogeBeanImpl implements MogeBean {
    
        String name;
    
        /**
         *
         */
        public MogeBeanImpl() {
        }
    
        /**
         * @param name
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/security/get-current-user.md

    Vamos a crear una dependencia `get_current_user`.
    
    ¿Recuerdas que las dependencias pueden tener sub-dependencias?
    
    `get_current_user` tendrá una dependencia con el mismo `oauth2_scheme` que creamos antes.
    
    De la misma manera que estábamos haciendo antes en la *path operation* directamente, nuestra nueva dependencia `get_current_user` recibirá un `token` como un `str` de la sub-dependencia `oauth2_scheme`:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/dependencies/index.md

    For example, let's say you have 4 API endpoints (*path operations*):
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    then you could add different permission requirements for each of them just with dependencies and sub-dependencies:
    
    ```mermaid
    graph TB
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

     * (yet). Instead, we maintain a list of projects that are excluded from
     * formatting, until we reach a point where we can comfortably format them
     * in one go without too much disruption.
     *
     * Any new sub-projects must not be added to the exclusions list!
     *
     * To perform a reformat, run:
     *
     *     ./gradlew spotlessApply
     *
     * To check the current format, run:
     *
     *     ./gradlew spotlessJavaCheck
     *
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/encoder.md

    It doesn't return a large `str` containing the data in JSON format (as a string). It returns a Python standard data structure (e.g. a `dict`) with values and sub-values that are all compatible with JSON.
    
    /// note
    
    `jsonable_encoder` is actually used by **FastAPI** internally to convert data. But it is useful in many other scenarios.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/dcerpc/rpc.java

             */
            public byte revision;
            /**
             * The number of sub-authorities in this SID.
             */
            public byte sub_authority_count;
            /**
             * The identifier authority value (6 bytes).
             */
            public byte[] identifier_authority;
            /**
             * Array of sub-authority values.
             */
            public int[] sub_authority;
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  9. fastapi/.agents/skills/fastapi/references/streaming.md

    ```python
    yield ServerSentEvent(raw_data="plain text line", event="log")
    ```
    
    ## Stream bytes
    
    To stream bytes, declare a `response_class=` of `StreamingResponse` or a sub-class, and use `yield` to return the data.
    
    ```python
    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    from app.utils import read_image
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/behind-a-proxy.md

    {* ../../docs_src/behind_a_proxy/tutorial004_py310.py hl[9] *}
    
    y entonces no lo incluirá en el esquema de OpenAPI.
    
    ## Montando una sub-aplicación { #mounting-a-sub-application }
    
    Si necesitas montar una sub-aplicación (como se describe en [Aplicaciones secundarias - Monturas](sub-applications.md)) mientras usas un proxy con `root_path`, puedes hacerlo normalmente, como esperarías.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 16.5K bytes
    - Click Count (0)
Back to Top