Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 558 for SCOPE (0.42 seconds)

  1. compat/maven-model-builder/src/test/resources/poms/validation/hard-coded-system-path.xml

          <artifactId>a</artifactId>
          <version>0.2</version>
          <scope>system</scope>
          <systemPath>should-use-variables-and-not-hard-code-this-path</systemPath>
        </dependency>
        <dependency>
          <groupId>test</groupId>
          <artifactId>b</artifactId>
          <version>0.1</version>
          <scope>system</scope>
          <systemPath>${java.home}/lib/good.jar</systemPath>
        </dependency>
      </dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    If not specified and the dependency has `yield`, it will have a `scope` of `"request"` by default.
    
    ### `scope` for sub-dependencies { #scope-for-sub-dependencies }
    
    When you declare a dependency with a `scope="request"` (the default), any sub-dependency needs to also have a `scope` of `"request"`.
    
    But a dependency with `scope` of `"function"` can have dependencies with `scope` of `"function"` and `scope` of `"request"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/resources/poms/depmgmt/root-distance.xml

                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
                <dependency>
                    <groupId>org.junit</groupId>
                    <artifactId>bom</artifactId>
                    <version>0.2</version>
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
            </dependencies>
        </dependencyManagement>
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * <ul>
         *   <li>
         *     If no module name, then the default directory is
         *     <code>src/{@linkplain #scope() scope}/{@linkplain #language() language}</code>.
         *   </li><li>
         *     If a module name is present, then the default directory is
         *     <code>src/{@linkplain #module() module}/{@linkplain #scope() scope}/{@linkplain #language() language}</code>.
         *   </li>
         * </ul>
         *
         * The default value is relative.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. fastapi/.agents/skills/fastapi/references/dependencies.md

    * Their logic needs input data from the request, like headers, query parameters, etc.
    
    ## Dependencies with `yield` and `scope`
    
    When using dependencies with `yield`, they can have a `scope` that defines when the exit code is run.
    
    Use the default scope `"request"` to run the exit code after the response is sent back.
    
    ```python
    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  6. tests/test_custom_middleware_exception.py

                    )
                return message
    
            return inner
    
        async def __call__(self, scope, receive, send):
            if scope["type"] != "http" or self.max_content_size is None:
                await self.app(scope, receive, send)
                return
    
            wrapper = self.receive_wrapper(receive)
            await self.app(scope, wrapper, send)
    
    
    @router.post("/middleware")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. compat/maven-builder-support/pom.xml

      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-core</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
      </dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    `scope="request"`(기본값)로 의존성을 선언하면, 모든 하위 의존성도 `scope`가 `"request"`여야 합니다.
    
    하지만 `scope`가 `"function"`인 의존성은 `scope`가 `"function"`인 의존성과 `"request"`인 의존성을 모두 의존성으로 가질 수 있습니다.
    
    이는 어떤 의존성이든, 종료 코드에서 하위 의존성을 계속 사용해야 할 수도 있으므로, 하위 의존성보다 먼저 종료 코드를 실행할 수 있어야 하기 때문입니다.
    
    ```mermaid
    sequenceDiagram
    
    participant client as Client
    participant dep_req as Dep scope="request"
    participant dep_func as Dep scope="function"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(DependencyResolver.class).flatten(...)}.
         *
         * @param node node for which to get a flattened list
         * @param scope build path scope (main compile, test compile, etc.) of desired nodes
         * @return flattened list of node with the given build path scope
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. docs_src/security/tutorial005_an_py310.py

            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username = payload.get("sub")
            if username is None:
                raise credentials_exception
            scope: str = payload.get("scope", "")
            token_scopes = scope.split(" ")
            token_data = TokenData(scopes=token_scopes, username=username)
        except (InvalidTokenError, ValidationError):
            raise credentials_exception
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top