Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 517 for inactive (0.15 sec)

  1. src/cmd/go/internal/script/scripttest/scripttest.go

    // as well as:
    //
    //   - Conditions of the form "exec:foo" are active when the executable "foo" is
    //     found in the test process's PATH, and inactive when the executable is
    //     not found.
    //
    //   - "short" is active when testing.Short() is true.
    //
    //   - "verbose" is active when testing.Verbose() is true.
    func DefaultConds() map[string]script.Cond {
    	conds := script.DefaultConds()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 11 20:12:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_py39.py

        return user
    
    
    async def get_current_active_user(
        current_user: User = Security(get_current_user, scopes=["me"]),
    ):
        if current_user.disabled:
            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login_for_access_token(
        form_data: OAuth2PasswordRequestForm = Depends(),
    ) -> Token:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/security/simple-oauth2.md

    }
    ```
    
    ### Inaktiver Benutzer
    
    Versuchen Sie es nun mit einem inaktiven Benutzer und authentisieren Sie sich mit:
    
    Benutzer: `alice`.
    
    Passwort: `secret2`.
    
    Und versuchen Sie, die Operation `GET` mit dem Pfad `/users/me` zu verwenden.
    
    Sie erhalten die Fehlermeldung „Inactive user“:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## Zusammenfassung
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:08:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

    @needs_py39
    def test_inactive_user(client: TestClient):
        response = client.get("/users/me", headers={"Authorization": "Bearer alice"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Inactive user"}
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy

    @Requires(UnitTestPreconditions.NotJava8OnMacOs)
    class SettingsScriptExecutionIntegrationTest extends AbstractIntegrationSpec {
        @Requires(IntegTestPreconditions.AnyActiveFeature)
        def "emits deprecation warnings when enabling inactive #feature feature"() {
            given:
            settingsFile << """
                enableFeaturePreview('$feature')
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/manager.go

    	// the actual active pods list.
    	if m.sourcesReady == nil || !m.sourcesReady.AllReady() {
    		return
    	}
    
    	// Get the full list of active pods.
    	activePods := sets.New[string]()
    	for _, p := range m.activePods() {
    		activePods.Insert(string(p.UID))
    	}
    
    	// Get the list of inactive pods still referenced by any claimInfos.
    	type podClaims struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/FileSystemWatchingBuildActionRunner.java

                watchFileSystemMode,
                verboseVfsLogging,
                debugWatchLogging,
                buildOperationRunner
            );
            LOGGER.info("File system watching is {}", actuallyWatching ? "active" : "inactive");
            //noinspection Convert2Lambda
            eventEmitter.emitNowForCurrent(new FileSystemWatchingSettingsFinalizedProgressDetails() {
                @Override
                public boolean isEnabled() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/types.go

    	GetDeviceRunContainerOptions(pod *v1.Pod, container *v1.Container) (*DeviceRunContainerOptions, error)
    
    	// GetCapacity returns the amount of available device plugin resource capacity, resource allocatable
    	// and inactive device plugin resources previously registered on the node.
    	GetCapacity() (v1.ResourceList, v1.ResourceList, []string)
    	GetWatcherHandler() cache.PluginHandler
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. pkg/kubelet/nodestatus/setters_test.go

    						"device-plugin":   *resource.NewQuantity(1, resource.BinarySI),
    					},
    				},
    			},
    		},
    		{
    			desc: "inactive device plugin resources should have their capacity set to 0",
    			node: &v1.Node{
    				Status: v1.NodeStatus{
    					Capacity: v1.ResourceList{
    						"inactive": *resource.NewQuantity(1, resource.BinarySI),
    					},
    				},
    			},
    			maxPods: 110,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/security/simple-oauth2.md

    }
    ```
    
    ### 비활성된 유저
    
    이제 비활성된 사용자로 시도하고, 인증해봅시다:
    
    유저명: `alice`
    
    패스워드: `secret2`
    
    그리고 `/users/me` 경로와 함께 `GET` 작업을 사용해 봅시다.
    
    다음과 같은 "Inactive user" 오류가 발생합니다:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## 요약
    
    이제 API에 대한 `username` 및 `password`를 기반으로 완전한 보안 시스템을 구현할 수 있는 도구가 있습니다.
    
    이러한 도구를 사용하여 보안 시스템을 모든 데이터베이스 및 모든 사용자 또는 데이터 모델과 호환되도록 만들 수 있습니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 22:37:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top