- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for readProto (0.17 sec)
-
cni/pkg/nodeagent/ztunnelserver_test.go
ztunServer *ztunnelServer }{ztunClient: ztunClient, ztunServer: ztun} } func readRequest(t *testing.T, c *net.UnixConn) (*zdsapi.WorkloadRequest, []int) { var oob [1024]byte m, oobn, err := readProto[zdsapi.WorkloadRequest](c, time.Second, oob[:]) if err != nil { panic(err) } receivedoob := oob[:oobn] msgs, err := unix.ParseSocketControlMessage(receivedoob) if err != nil { panic(err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 8.6K bytes - Viewed (0) -
tests/test_response_model_invalid.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 29 13:04:35 UTC 2020 - 1.1K bytes - Viewed (0) -
docs_src/using_request_directly/tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 230 bytes - Viewed (0) -
tests/test_computed_fields.py
width: int length: int @computed_field @property def area(self) -> int: return self.width * self.length @app.get("/") def read_root() -> Rectangle: return Rectangle(width=3, length=4) @app.get("/responses", responses={200: {"model": Rectangle}}) def read_responses() -> Rectangle: return Rectangle(width=3, length=4)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 3K bytes - Viewed (0) -
docs/fr/docs/deployment/docker.md
* Créer un répertoire `app` et y entrer. * Créez un fichier `main.py` avec : ```Python from typing import Optional from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Optional[str] = None): return {"item_id": item_id, "q": q} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 7.5K bytes - Viewed (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 03 15:59:41 UTC 2023 - 5.8K bytes - Viewed (0)