Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for cierre (0.03 sec)

  1. docs/es/docs/advanced/websockets.md

    Cuando una conexión de WebSocket se cierra, el `await websocket.receive_text()` lanzará una excepción `WebSocketDisconnect`, que puedes capturar y manejar como en este ejemplo.
    
    {* ../../docs_src/websockets/tutorial003_py39.py hl[79:81] *}
    
    Para probarlo:
    
    * Abre la aplicación con varias pestañas del navegador.
    * Escribe mensajes desde ellas.
    * Luego cierra una de las pestañas.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. tests/test_serialize_response_model.py

    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return Item(aliased_name="coerce", price="1.0")
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
            Item(aliased_name="foo"),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. tests/test_serialize_response.py

        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
            {"name": "foo"},
            {"name": "bar", "price": 1.0},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. tests/test_serialize_response_dataclass.py

    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "date": datetime(2021, 7, 26).isoformat(), "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=list[Item])
    def get_validlist():
        return [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java

        }
    
        @Test
        public void test_getWords() throws Exception {
            List<String> words = new ArrayList<>();
            words.add("apple");
            words.add("banana");
            words.add("cherry");
    
            PopularWordsResponse response = new PopularWordsResponse("test-index", 100, words, 10, new ArrayList<>());
    
            assertNotNull(response.getWords());
            assertEquals(3, response.getWords().size());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. deploy_website.sh

    python3 -m venv venv
    source venv/bin/activate
    pip install mkdocs-material mkdocs-redirects
    mkdocs gh-deploy
    
    # Restore Javadocs from 1.x, 2.x, and 3.x.
    git checkout gh-pages
    git cherry-pick bb229b9dcc9a21a73edbf8d936bea88f52e0a3ff
    git cherry-pick c695732f1d4aea103b826876c077fbfea630e244
    git push --set-upstream origin gh-pages
    
    # Delete our temp folder
    cd ..
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Nov 20 15:26:12 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. docs/fr/docs/deployment/https.md

    * Pour le HTTPS, le serveur a besoin de "certificats" générés par une tierce partie.
        * Ces certificats sont en fait acquis auprès de la tierce partie, et non "générés".
    * Les certificats ont une durée de vie.
        * Ils expirent.
        * Puis ils doivent être renouvelés et acquis à nouveau auprès de la tierce partie.
    * Le cryptage de la connexion se fait au niveau du protocole TCP.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @Test
        @DisplayName("Should join with multi-character delimiter")
        void testJoinWithMultiCharDelimiter() {
            String result = StringUtil.join(" - ", "apple", "banana", "cherry");
            assertEquals("apple - banana - cherry", result);
        }
    
        @Test
        @DisplayName("Should handle null delimiter by inserting 'null' string")
        void testJoinWithNullDelimiter() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Benchmarks to compare performance of MinMaxPriorityQueue and PriorityQueue.
     *
     * @author Sverre Sundsdal
     */
    @NullUnmarked
    public class MinMaxPriorityQueueBenchmark {
      @Param private ComparatorType comparator;
    
      // TODO(kevinb): add 1000000 back when we have the ability to throw
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/untar.go

    	"time"
    
    	"github.com/cosnicolaou/pbzip2"
    	"github.com/klauspost/compress/s2"
    	"github.com/klauspost/compress/zstd"
    	gzip "github.com/klauspost/pgzip"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/pierrec/lz4/v4"
    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func detect(r *bufio.Reader) format {
    	z, err := r.Peek(4)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (2)
Back to top