- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 880 for resync (0.07 seconds)
-
docs/en/docs/tutorial/first-steps.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 13.4K bytes - Click Count (0) -
docs/de/docs/tutorial/first-steps.md
In diesem Fall handelt es sich um eine `async`-Funktion. --- Sie könnten sie auch als normale Funktion anstelle von `async def` definieren: {* ../../docs_src/first_steps/tutorial003_py310.py hl[7] *} /// note | Hinweis Wenn Sie den Unterschied nicht kennen, lesen Sie [Async: *„In Eile?“*](../async.md#in-a-hurry). ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 14.9K bytes - Click Count (0) -
docs/ko/docs/index.md
``` <details markdown="1"> <summary>또는 <code>async def</code> 사용하기...</summary> 여러분의 코드가 `async` / `await`을 사용한다면, `async def`를 사용하십시오: ```Python hl_lines="7 12" from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") async def read_item(item_id: int, q: str | None = None):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 23.4K bytes - Click Count (0) -
docs/ru/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *} /// tip | Подсказка Обратите внимание, что тестирующая функция является обычной `def`, а не асинхронной `async def`. И вызов клиента также осуществляется без `await`. Это позволяет вам использовать `pytest` без лишних усложнений. /// /// note | Технические деталиCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 9.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/stream-json-lines.md
如果你声明了返回类型,FastAPI 会用它来验证数据、在 OpenAPI 中生成文档、进行过滤,并使用 Pydantic 进行序列化。 /// tip | 提示 由于 Pydantic 会在 Rust 侧进行序列化,如果你声明了返回类型,将获得更高的性能。 /// ### 非异步的*路径操作函数* { #non-async-path-operation-functions } 你也可以使用常规的 `def` 函数(不带 `async`),并以同样的方式使用 `yield`。 FastAPI 会确保其正确运行,不会阻塞事件循环。 因为这个函数不是异步的,合适的返回类型是 `Iterable[Item]`: {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[27:30] hl[28] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.2K bytes - Click Count (0) -
cmd/bootstrap-messages.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "sync" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/pubsub" ) const bootstrapTraceLimit = 4 << 10 type bootstrapTracer struct { mu sync.RWMutex info []madmin.TraceInfo } var globalBootstrapTracer = &bootstrapTracer{}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 1.7K bytes - Click Count (0) -
internal/event/target/nats.go
JetStream struct { Enable bool `json:"enable"` } `json:"jetStream"` Streaming struct { Enable bool `json:"enable"` ClusterID string `json:"clusterID"` Async bool `json:"async"` MaxPubAcksInflight int `json:"maxPubAcksInflight"` } `json:"streaming"` RootCAs *x509.CertPool `json:"-"` } // Validate NATSArgs fields func (n NATSArgs) Validate() error {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 13.5K bytes - Click Count (0) -
docs/ru/docs/tutorial/first-steps.md
В данном случае это асинхронная (`async`) функция. --- Вы также можете определить её как обычную функцию вместо `async def`: {* ../../docs_src/first_steps/tutorial003_py310.py hl[7] *} /// note | Примечание Если вы не знаете, в чём разница, посмотрите [Асинхронность: *"Нет времени?"*](../async.md#in-a-hurry). ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 18.7K bytes - Click Count (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual absl::Status InputLength(const char* input_name, int* length) = 0; virtual absl::Status OutputLength(const char* output_name, int* length) = 0; // Set stack trace to be used for potential async error reporting. virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0; virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0; virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 3.6K bytes - Click Count (0) -
docs/ja/docs/tutorial/background-tasks.md
## タスク関数の作成 { #create-a-task-function } バックグラウンドタスクとして実行される関数を作成します。 これは、パラメーターを受け取ることができる単なる標準的な関数です。 これは `async def` または通常の `def` 関数であり、**FastAPI** はこれを正しく処理します。 ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。 また、書き込み操作では `async` と `await` を使用しないため、通常の `def` で関数を定義します。 {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *} ## バックグラウンドタスクの追加 { #add-the-background-task }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.8K bytes - Click Count (0)