Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,396 for upsert (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. docs/ja/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!}
    ```
    
    ## ็พๅœจใฎใƒฆใƒผใ‚ถใƒผใฎๆณจๅ…ฅ
    
    ใงใ™ใฎใงใ€ `get_current_user` ใซๅฏพใ—ใฆๅŒๆง˜ใซ *path operation* ใฎไธญใง `Depends` ใ‚’ๅˆฉ็”จใงใใพใ™ใ€‚
    
    ```Python hl_lines="31"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    Pydanticใƒขใƒ‡ใƒซใฎ `User` ใจใ—ใฆใ€ `current_user` ใฎๅž‹ใ‚’ๅฎฃ่จ€ใ™ใ‚‹ใ“ใจใซๆณจๆ„ใ—ใฆใใ ใ•ใ„ใ€‚
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	deleteResp = DeleteObjectsResponse{}
    	delRespBytes, err = io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	err = xml.Unmarshal(delRespBytes, &deleteResp)
    	c.Assert(err, nil)
    	c.Assert(len(deleteResp.DeletedObjects), len(delObjReq.Objects))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/get-current-user.md

    ///
    
    ```Python hl_lines="10"
    {!> ../../docs_src/security/tutorial001.py!}
    ```
    
    ////
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model
    
    First, let's create a Pydantic user model.
    
    The same way we use Pydantic to declare bodies, we can use it anywhere else:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="5  12-16"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    Pydantic ๋ชจ๋ธ์ธ `User`๋กœ `current_user`์˜ ํƒ€์ž…์„ ์„ ์–ธํ•˜๋Š” ๊ฒƒ์„ ์•Œ์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.
    
    ์ด๊ฒƒ์€ ๋ชจ๋“  ์™„๋ฃŒ ๋ฐ ํƒ€์ž… ๊ฒ€์‚ฌ๋ฅผ ํ†ตํ•ด ํ•จ์ˆ˜ ๋‚ด๋ถ€์—์„œ ์šฐ๋ฆฌ๋ฅผ ๋„์šธ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    /// tip | "ํŒ"
    
    ์š”์ฒญ ๋ณธ๋ฌธ๋„ Pydantic ๋ชจ๋ธ๋กœ ์„ ์–ธ๋œ๋‹ค๋Š” ๊ฒƒ์„ ๊ธฐ์–ตํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค.
    
    ์—ฌ๊ธฐ์„œ **FastAPI**๋Š” `Depends`๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ํ˜ผ๋™๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.
    
    ///
    
    /// check | "ํ™•์ธ"
    
    ์ด ์˜์กด์„ฑ ์‹œ์Šคํ…œ์ด ์„ค๊ณ„๋œ ๋ฐฉ์‹์€ ๋ชจ๋‘ `User` ๋ชจ๋ธ์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ๋‹ค์–‘ํ•œ ์˜์กด์„ฑ(๋‹ค๋ฅธ "์˜์กด์ ์ธ")์„ ๊ฐ€์งˆ ์ˆ˜ ์žˆ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/resources/extractor/eml/sample4.eml

    Eine Ausstellung รผber den Erfinder der Thermoskanne Reinhold Burger ist zu besichtigen. Im Dorf selbst haben sich
    zahlreiche Handwerker und Gewerbetreibende niedergelassen, denen รผber die Schulter geschaut bzw. mitgemacht
    werden kann.
    Fรผr unsere Gruppe sind vier Workshops reserviert: Jeder Studierender muss sich bei der Anmeldung fรผr die Fahrt fรผr
    einen verbindlich eintragen. Die Kosten dafรผr und das Mittagessen sind in den Fahrtkosten enthalten.
    www.museumsdorf-glashuette.de
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Jan 07 09:15:11 UTC 2018
    - 681K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

                               TF_DataType value) {
      auto iter = builder->attr_names.insert(attr_name).first;
      builder->Set(*iter, static_cast<tensorflow::DataType>(value));
    }
    
    void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder, const char* attr_name,
                                   const TF_DataType* values, int num_values) {
      auto iter = builder->attr_names.insert(attr_name).first;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  10. docs/de/docs/how-to/custom-request-and-route.md

    ///
    
    Das Einzige, was die von `GzipRequest.get_route_handler` zurรผckgegebene Funktion anders macht, ist die Konvertierung von `Request` in ein `GzipRequest`.
    
    Dabei kรผmmert sich unser `GzipRequest` um die Dekomprimierung der Daten (falls erforderlich), bevor diese an unsere *Pfadoperationen* weitergegeben werden.
    
    Danach ist die gesamte Verarbeitungslogik dieselbe.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top