- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 592 for isync (0.05 sec)
-
docs/em/docs/tutorial/request-files.md
* `close()`: ๐ ๐. ๐ ๐ซ ๐ฉโ๐ฌ `async` ๐ฉโ๐ฌ, ๐ ๐ช "โ" ๐ซ. ๐ผ, ๐ `async` *โก ๐ ๏ธ ๐ข* ๐ ๐ช ๐ค ๐ โฎ๏ธ: ```Python contents = await myfile.read() ``` ๐ฅ ๐ ๐ ๐ `def` *โก ๐ ๏ธ ๐ข*, ๐ ๐ช ๐ `UploadFile.file` ๐, ๐ผ: ```Python contents = myfile.file.read() ``` !!! note "`async` ๐ก โน" ๐โ ๐ โ๏ธ `async` ๐ฉโ๐ฌ, **FastAPI** ๐ ๐ ๐ฉโ๐ฌ ๐งต & โ ๐ซ. !!! note "๐ ๐ก โน"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:02:19 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/em/docs/how-to/sql-databases-peewee.md
๐ค ๐ฒ ๐ ๐ ๐ (โ ๐ ๐ ๐ โฎ๏ธ ๐จ) โ๏ธ: ```Python some_var.get() ``` ### โ ๐ ๐ข `async` ๐ `reset_db_state()` ๐ฅ ๐ ๐ ๐ โ ๐ฒ โฎ๏ธ `some_var.set("updated in function")` (โ ๐ `async` ๐), ๐ ๐ โซ๏ธ & ๐ ๐ ๐ถ โฎ๏ธ (โ ๐ ๐ `async` ๐ข ๐ค โฎ๏ธ `await`) ๐ ๐ ๐ ๐ ๐ฒ. , ๐ ๐ผ, ๐ฅ ๐ฅ โ ๐ ๐ต๐ธ ๐ข (โฎ๏ธ ๐ข `dict`) `async` ๐, ๐ ๐ ๐ ๐ ๐ ๐ฑ ๐ ๐ ๐ ๐ฒ & ๐ ๐ช โป โซ๏ธ ๐ ๐จ. & ๐ ๐ข ๐ โ ๐ โญ ๐จ, ๐ฅ ๐ซ ๐ ๏ธ.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 19.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/MaxWorkersTest.groovy
def workerLeaseService = this.workerLeaseService(maxWorkers) def processor = createProcessor(workerLeaseService, maxWorkers) def processorWorker = new SimpleWorker() when: async { start { def cl = workerLeaseService.startWorker() instant.worker1 thread.blockUntil.worker2Ready thread.block()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
8. Notice that this *path operation function* uses regular `def` instead of `async def`. As always, in FastAPI you can combine `def` and `async def` as needed. If you need a refresher about when to use which, check out the section _"In a hurry?"_ in the docs about [`async` and `await`](../async.md#in-a-hurry){.internal-link target=_blank}.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/de/docs/advanced/dataclasses.md
8. Beachten Sie, dass diese *Pfadoperation-Funktion* regulรคres `def` anstelle von `async def` verwendet. Wie immer kรถnnen Sie in FastAPI `def` und `async def` beliebig kombinieren. Wenn Sie eine Auffrischung darรผber benรถtigen, wann welche Anwendung sinnvoll ist, lesen Sie den Abschnitt โIn Eile?โ in der Dokumentation zu [`async` und `await`](../async.md#in-eile){.internal-link target=_blank}.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:18:23 UTC 2024 - 4.6K bytes - Viewed (0) -
tests/test_param_include_in_schema.py
from fastapi.testclient import TestClient app = FastAPI() @app.get("/hidden_cookie") async def hidden_cookie( hidden_cookie: Optional[str] = Cookie(default=None, include_in_schema=False), ): return {"hidden_cookie": hidden_cookie} @app.get("/hidden_header") async def hidden_header( hidden_header: Optional[str] = Header(default=None, include_in_schema=False), ):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 7.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt
defaultProfiler, display = ParameterDisplay.PROMPT, allowEmpty = false, description = "Command line option for the performance test task to enable profiling. For example `async-profiler`, `async-profiler-heap`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only." ) } object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 03:39:03 UTC 2024 - 4.9K bytes - Viewed (0) -
src/syscall/syscall_darwin.go
//sys Fchmod(fd int, mode uint32) (err error) //sys Fchown(fd int, uid int, gid int) (err error) //sys Flock(fd int, how int) (err error) //sys Fpathconf(fd int, name int) (val int, err error) //sys Fsync(fd int) (err error) // Fsync is not called for os.File.Sync(). Please see internal/poll/fd_fsync_darwin.go //sys Ftruncate(fd int, length int64) (err error) //sys Getdtablesize() (size int) //sysnb Getegid() (egid int) //sysnb Geteuid() (uid int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy
def project = project("p1") createRootProject() def state = registry.stateFor(projectId("p1")) createProject(state, project) when: async { workerThread { assert !state.hasMutableState() state.applyToMutableState { assert state.hasMutableState() instant.start
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 24.6K bytes - Viewed (0) -
tests/test_generic_parameterless_depends.py
app = FastAPI() T = TypeVar("T") Dep = Annotated[T, Depends()] class A: pass class B: pass @app.get("/a") async def a(dep: Dep[A]): return {"cls": dep.__class__.__name__} @app.get("/b") async def b(dep: Dep[B]): return {"cls": dep.__class__.__name__} client = TestClient(app) def test_generic_parameterless_depends():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Apr 02 02:52:56 UTC 2024 - 1.8K bytes - Viewed (0)