- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for cierre (0.08 seconds)
-
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.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.9K bytes - Click Count (0) -
.github/workflows/release-branch-cherrypick.yml
# input the branch name and paste the cherry-pick commit and click Run. A PR # will be created. name: Release Branch Cherrypick on: workflow_dispatch: inputs: # We use this instead of the "run on branch" argument because GitHub looks # on that branch for a workflow.yml file, and we'd have to cherry-pick # this file into those branches. release_branch:Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Dec 01 09:57:00 GMT 2025 - 3.1K bytes - Click Count (0) -
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"),
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.2K bytes - Click Count (0) -
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},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.4K bytes - Click Count (0) -
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 [
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.9K bytes - Click Count (0) -
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 ..
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Nov 20 15:26:12 GMT 2023 - 1.2K bytes - Click Count (0) -
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());Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 5.6K bytes - Click Count (0) -
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.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Aug 06 04:48:30 GMT 2024 - 4.1K bytes - Click Count (0) -
docs/es/docs/tutorial/request-files.md
* Por ejemplo, `await myfile.seek(0)` iría al inicio del archivo. * Esto es especialmente útil si ejecutas `await myfile.read()` una vez y luego necesitas leer el contenido nuevamente. * `close()`: Cierra el archivo. Como todos estos métodos son métodos `async`, necesitas "await" para ellos. Por ejemplo, dentro de una *path operation function* `async` puedes obtener los contenidos con: ```Python
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 7.9K bytes - Click Count (0) -
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)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2)