Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 150 for inactive (0.2 sec)

  1. docs_src/security/tutorial005_an_py310.py

    
    async def get_current_active_user(
        current_user: Annotated[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: Annotated[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)
  2. docs_src/security/tutorial005_an_py39.py

    
    async def get_current_active_user(
        current_user: Annotated[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: Annotated[OAuth2PasswordRequestForm, Depends()],
    ) -> Token:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/features/experimental.go

    		"If enabled, Istio will create clusters only when there are requests. This will save memory and CPU cycles"+
    			" in cases where there are lots of inactive clusters and > 1 worker thread").Get()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/security/simple-oauth2.md

    ```
    
    ### 🔕 👩‍💻
    
    🔜 🔄 ⏮️ 🔕 👩‍💻, 🔓 ⏮️:
    
    👩‍💻: `alice`
    
    🔐: `secret2`
    
    &amp; 🔄 ⚙️ 🛠️ `GET` ⏮️ ➡ `/users/me`.
    
    👆 🔜 🤚 "🔕 👩‍💻" ❌, 💖:
    
    ```JSON
    {
      "detail": "Inactive user"
    }
    ```
    
    ## 🌃
    
    👆 🔜 ✔️ 🧰 🛠️ 🏁 💂‍♂ ⚙️ ⚓️ 🔛 `username` &amp; `password` 👆 🛠️.
    
    ⚙️ 👫 🧰, 👆 💪 ⚒ 💂‍♂ ⚙️ 🔗 ⏮️ 🙆 💽 &amp; ⏮️ 🙆 👩‍💻 ⚖️ 💽 🏷.
    
    🕴 ℹ ❌ 👈 ⚫️ 🚫 🤙 "🔐".
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    	"path/filepath"
    	"strings"
    	"time"
    
    	"golang.org/x/telemetry/internal/config"
    	"golang.org/x/telemetry/internal/counter"
    	"golang.org/x/telemetry/internal/telemetry"
    )
    
    // reports generates reports from inactive count files
    func (u *uploader) reports(todo *work) ([]string, error) {
    	if mode, _ := u.dir.Mode(); mode == "off" {
    		return nil, nil // no reports
    	}
    	thisInstant := u.startTime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    			return errors.Wrap(err, "error printing files on dryrun")
    		}
    		return nil
    	}
    
    	// Try to start the kubelet service in case it's inactive
    	fmt.Println("[kubelet-start] Starting the kubelet")
    	kubeletphase.TryStartKubelet()
    
    	// Now the kubelet will perform the TLS Bootstrap, transforming /etc/kubernetes/bootstrap-kubelet.conf to /etc/kubernetes/kubelet.conf
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top