Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 796 for scope (0.02 seconds)

  1. docs_src/dependencies/tutorial008e_py310.py

    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: str = Depends(get_username, scope="function")):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 289 bytes
    - Click Count (0)
  2. docs/ko/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | 기술 세부사항
    
    `Request`에는 `request.scope` 속성이 있는데, 이는 요청과 관련된 메타데이터를 담고 있는 Python `dict`입니다.
    
    `Request`에는 또한 `request.receive`가 있는데, 이는 요청의 바디를 "받기(receive)" 위한 함수입니다.
    
    `scope` `dict`와 `receive` 함수는 모두 ASGI 명세의 일부입니다.
    
    그리고 이 두 가지, `scope`와 `receive`가 새로운 `Request` 인스턴스를 만드는 데 필요한 것들입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. gradlew.bat

    @rem ##########################################################################
    @rem
    @rem  Gradle startup script for Windows
    @rem
    @rem ##########################################################################
    
    @rem Set local scope for the variables with windows NT shell
    if "%OS%"=="Windows_NT" setlocal
    
    set DIRNAME=%~dp0
    if "%DIRNAME%"=="" set DIRNAME=.
    @rem This is normally unused
    set APP_BASE_NAME=%~n0
    set APP_HOME=%DIRNAME%
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 18 20:55:41 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. pom.xml

    			<version>1.3.5</version>
    			<optional>true</optional>
    		</dependency>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>4.13.2</version>
    			<scope>test</scope>
    		</dependency>
    	</dependencies>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Dec 20 04:15:34 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. tests/test_security_oauth2_optional.py

                                "username": {"title": "Username", "type": "string"},
                                "password": {"title": "Password", "type": "string"},
                                "scope": {
                                    "title": "Scope",
                                    "type": "string",
                                    "default": "",
                                },
                                "client_id": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  6. fastapi/routing.py

        async def app(scope: Scope, receive: Receive, send: Send) -> None:
            request = Request(scope, receive, send)
    
            async def app(scope: Scope, receive: Receive, send: Send) -> None:
                # Starts customization
                response_awaited = False
                async with AsyncExitStack() as request_stack:
                    scope["fastapi_inner_astack"] = request_stack
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  7. cmd/signature-v4-parser.go

    type credentialHeader struct {
    	accessKey string
    	scope     struct {
    		date    time.Time
    		region  string
    		service string
    		request string
    	}
    }
    
    // Return scope string.
    func (c credentialHeader) getScope() string {
    	return strings.Join([]string{
    		c.scope.date.Format(yyyymmdd),
    		c.scope.region,
    		c.scope.service,
    		c.scope.request,
    	}, SlashSeparator)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial008e_an_py310.py

    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: Annotated[str, Depends(get_username, scope="function")]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 329 bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        //
        // ----------------------------------------------------------------------
    
        /** Specify the required dependencies in a specified scope */
        private String dependencyResolutionRequired = null;
    
        /**
         * The scope of (transitive) dependencies that should be collected but not resolved.
         * @since 3.0-alpha-3
         */
        private String dependencyCollectionRequired;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
            Smb2LeaseKey expectedKey = new Smb2LeaseKey();
    
            when(baseLeaseManager.requestLease(directoryPath, requestedState)).thenReturn(expectedKey);
    
            Smb2LeaseKey result = directoryLeaseManager.requestDirectoryLease(directoryPath, requestedState, scope);
    
            assertEquals(expectedKey, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top