Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 342 for upsert (0.06 sec)

  1. manifests/charts/base/files/crd-all.gen.yaml

                                        Operation controls whether or not to update/add a tag, or to remove it.
    
                                        Valid Options: UPSERT, REMOVE
                                      enum:
                                      - UPSERT
                                      - REMOVE
                                      type: string
                                    value:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Nov 01 16:23:52 UTC 2024
    - 805K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    ## Den Benutzer holen
    
    `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurückgibt:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="19-22  26-27"
    {!> ../../docs_src/security/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server_test.go

    	addedPIPs, err := m.addPodToHostNSIpset(pod, podIPs)
    	assert.Error(t, err)
    	assert.Equal(t, 1, len(addedPIPs), "only expected one IP to be added")
    
    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    func TestMeshDataplaneRemovePodIPFromHostNSIPSets(t *testing.T) {
    	pod := buildConvincingPod(false)
    
    	fakeIPSetDeps := ipset.FakeNLDeps()
    	set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/test/resources/org/apache/maven/toolchain/user.xml

    under the License.
    -->
    
    <toolchains>
      <toolchain>
         <type>basic</type>
         <configuration>
           <user>true</user>
         </configuration>
      </toolchain>
      <toolchain>
         <type>rare</type>
         <configuration>
           <user>true</user>
         </configuration>
      </toolchain>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    			return
    		}
    		for user := range users {
    			checkedUserList = append(checkedUserList, user)
    		}
    		checkedUserList = append(checkedUserList, globalActiveCred.AccessKey)
    	} else {
    		for _, user := range users {
    			// Validate the user
    			_, ok := globalIAMSys.GetUser(ctx, user)
    			if !ok {
    				continue
    			}
    			checkedUserList = append(checkedUserList, user)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  6. fastapi/openapi/utils.py

        security_schemes: Dict[str, Any] = {}
        definitions: Dict[str, Any] = {}
        assert route.methods is not None, "Methods must be a list"
        if isinstance(route.response_class, DefaultPlaceholder):
            current_response_class: Type[Response] = route.response_class.value
        else:
            current_response_class = route.response_class
        assert current_response_class, "A response class is needed to generate OpenAPI"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/security/get-current-user.md

    ## 获取用户
    
    `get_current_user` 使用创建的(伪)工具函数,该函数接收 `str` 类型的令牌,并返回 Pydantic 的 `User` 模型:
    
    ```Python hl_lines="19-22  26-27"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    ## 注入当前用户
    
    在*路径操作* 的 `Depends` 中使用 `get_current_user`:
    
    ```Python hl_lines="31"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    注意,此处把 `current_user` 的类型声明为 Pydantic 的 `User` 模型。
    
    这有助于在函数内部使用代码补全和类型检查。
    
    /// tip | "提示"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server.go

    }
    
    // createHostsideProbeIpset creates an ipset. This is designed to be called from the host netns.
    // Note that if the ipset already exist by name, Create will not return an error.
    //
    // We will unconditionally flush our set before use here, so it shouldn't matter.
    func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) {
    	linDeps := ipset.RealNlDeps()
    	probeSet, err := ipset.NewIPSet(iptables.ProbeIPSet, isV6, linDeps)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

                numInsertions,
                0.03,
                BloomFilterStrategies.MURMUR128_MITZ_32);
    
        // Insert "numInsertions" even numbers into the BF.
        for (int i = 0; i < numInsertions * 2; i += 2) {
          bf.put(Integer.toString(i));
        }
        assertApproximateElementCountGuess(bf, numInsertions);
    
        // Assert that the BF "might" have all of the even numbers.
        for (int i = 0; i < numInsertions * 2; i += 2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    👀 👈 👥 📣 🆎 `current_user` Pydantic 🏷 `User`.
    
    👉 🔜 ℹ 🇺🇲 🔘 🔢 ⏮️ 🌐 🛠️ &amp; 🆎 ✅.
    
    /// tip
    
    👆 5️⃣📆 💭 👈 📨 💪 📣 ⏮️ Pydantic 🏷.
    
    📥 **FastAPI** 🏆 🚫 🤚 😨 ↩️ 👆 ⚙️ `Depends`.
    
    ///
    
    /// check
    
    🌌 👉 🔗 ⚙️ 🏗 ✔ 👥 ✔️ 🎏 🔗 (🎏 "☑") 👈 🌐 📨 `User` 🏷.
    
    👥 🚫 🚫 ✔️ 🕴 1️⃣ 🔗 👈 💪 📨 👈 🆎 💽.
    
    ///
    
    ## 🎏 🏷
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top