Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 173 for SCOPE (0.02 seconds)

  1. .teamcity/pom.xml

                <version>${teamcity.dsl.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.jetbrains.teamcity</groupId>
                <artifactId>configs-dsl-kotlin-latest</artifactId>
                <version>${teamcity.dsl.version}</version>
                <scope>compile</scope>
            </dependency>
            <dependency>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 22:03:46 GMT 2026
    - 7.4K bytes
    - Click Count (2)
  2. docs_src/security/tutorial005_py310.py

            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = 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.3K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/security/oauth2-scopes.md

    But we also pass a `list` of scopes, in this case with just one scope: `items` (it could have more).
    
    And the dependency function `get_current_active_user` can also declare sub-dependencies, not only with `Depends` but also with `Security`. Declaring its own sub-dependency function (`get_current_user`), and more scope requirements.
    
    In this case, it requires the scope `me` (it could require more than one scope).
    
    /// note
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  4. 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)
  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. 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)
  8. 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)
  9. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        // Parse the address, and make sure the length/version is correct.
        Scope scope = parseScope ? new Scope() : null;
        byte[] addr = ipStringToBytes(ipString, scope);
        if (addr == null || addr.length != expectBytes) {
          return null;
        }
    
        return bytesToInetAddress(addr, (scope != null) ? scope.scope : null);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  10. guava-gwt/pom.xml

          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava-testlib</artifactId>
          <version>${project.version}</version>
          <classifier>tests</classifier>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:19:17 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top