- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 500 for defa (0.02 seconds)
-
scripts/tests/test_translation_fixer/test_html_links/test_html_links_number_mismatch.py
@pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files): result = runner.invoke( cli, ["fix-pages", "docs/lang/docs/doc.md"], ) assert result.exit_code == 1, result.output
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.8K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_markdown_links/test_mkd_links_number_mismatch.py
).absolute() @pytest.mark.parametrize( "copy_test_files", [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")], indirect=True, ) def test_gt(runner: CliRunner, root_dir: Path, copy_test_files): result = runner.invoke( cli, ["fix-pages", "docs/lang/docs/doc.md"], ) assert result.exit_code == 1, result.output
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:43:44 GMT 2026 - 1.9K bytes - Click Count (0) -
docs/ru/docs/advanced/events.md
Вы можете определить обработчики событий (функции), которые нужно выполнить до старта приложения или при его завершении. Эти функции можно объявить с `async def` или обычным `def`. ### Событие `startup` { #startup-event } Чтобы добавить функцию, которую нужно запустить до старта приложения, объявите её как обработчик события `"startup"`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 12.6K bytes - Click Count (0) -
src/main/webapp/js/purify.min.js
","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),k=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:21:57 GMT 2026 - 22.7K bytes - Click Count (0) -
docs/de/docs/tutorial/background-tasks.md
Es kann sich um eine `async def`- oder normale `def`-Funktion handeln. **FastAPI** weiß, wie damit zu verfahren ist. In diesem Fall schreibt die Taskfunktion in eine Datei (den Versand einer E-Mail simulierend). Und da der Schreibvorgang nicht `async` und `await` verwendet, definieren wir die Funktion mit normalem `def`: {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 5.7K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/index.md
Vous pouvez utiliser `async def` ou un `def` normal. Et vous pouvez déclarer des dépendances avec `async def` à l’intérieur de fonctions de chemins d’accès `def` normales, ou des dépendances `def` à l’intérieur de fonctions de chemins d’accès `async def`, etc. Peu importe. **FastAPI** saura quoi faire. /// note | Remarque
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/de/docs/advanced/stream-data.md
Aber in vielen Fällen würde das Lesen einer Datei oder eines dateiähnlichen Objekts blockieren. /// Um die Event-Loop nicht zu blockieren, können Sie die Pfadoperation-Funktion einfach mit normalem `def` statt `async def` deklarieren, dadurch führt FastAPI sie in einem Threadpool-Worker aus, um die Haupt-Event-Loop nicht zu blockieren. {* ../../docs_src/stream_data/tutorial002_py310.py ln[30:34] hl[31] *} /// tip | TippCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 6K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/background-tasks.md
**FastAPI** 會為你建立 `BackgroundTasks` 物件,並以該參數傳入。 ## 建立任務函式 { #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 } 在路徑操作函式內,使用 `.add_task()` 將任務函式加入背景任務物件:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java
this.threshold = Objects.requireNonNullElse(threshold, Level.INFO); } private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) { if (outputStream == null) { return def; } if (outputStream instanceof PrintStream ps) { return ps; } return new PrintStream(outputStream, true); } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Feb 08 16:25:25 GMT 2025 - 2.4K bytes - Click Count (0) -
docs_src/python_types/tutorial007_py310.py
def process_items(items_t: tuple[int, int, str], items_s: set[bytes]):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 99 bytes - Click Count (0)