- Sort Score
- Num 10 results
- Language All
Results 1431 - 1440 of 3,002 for content (0.35 seconds)
-
docs/fr/docs/advanced/additional-status-codes.md
Mais vous voulez aussi qu'il accepte de nouveaux éléments. Et lorsque les éléments n'existaient pas auparavant, il les crée et renvoie un code HTTP de 201 « Créé ». Pour y parvenir, importez `JSONResponse` et renvoyez-y directement votre contenu, en définissant le `status_code` que vous souhaitez : {* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *} /// warning | Alertes
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/request-files.md
- C'est particulièrement utile si vous exécutez `await myfile.read()` une fois puis devez relire le contenu. - `close()` : ferme le fichier. Comme toutes ces méthodes sont `async`, vous devez les « await ». Par exemple, à l'intérieur d'une *fonction de chemin d'accès* `async`, vous pouvez obtenir le contenu avec : ```Python contents = await myfile.read() ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 8.2K bytes - Click Count (0) -
.github/workflows/topic-repos.yml
on: schedule: - cron: "0 12 1 * *" workflow_dispatch: jobs: topic-repos: if: github.repository_owner == 'fastapi' runs-on: ubuntu-latest permissions: contents: write steps: - name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@v6 - name: Set up PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 22:02:57 GMT 2026 - 969 bytes - Click Count (0) -
docs/fr/docs/advanced/security/oauth2-scopes.md
/// ## Scopes OAuth2 et OpenAPI { #oauth2-scopes-and-openapi } La spécification OAuth2 définit des « scopes » comme une liste de chaînes séparées par des espaces. Le contenu de chacune de ces chaînes peut avoir n’importe quel format, mais ne doit pas contenir d’espaces. Ces scopes représentent des « permissions ». Dans OpenAPI (par ex. la documentation de l’API), vous pouvez définir des « schémas de sécurité ».Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
## 上下文管理器 { #context-managers } ### 什么是“上下文管理器” { #what-are-context-managers } “上下文管理器”是你可以在 `with` 语句中使用的任意 Python 对象。 例如,[你可以用 `with` 来读取文件](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底层,`open("./somefile.txt")` 会创建一个“上下文管理器”对象。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 12.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md
## 情境管理器 { #context-managers } ### 什麼是「情境管理器」 { #what-are-context-managers } 「情境管理器」是那些你可以在 `with` 陳述式中使用的 Python 物件。 例如,[你可以用 `with` 來讀取檔案](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底層,`open("./somefile.txt")` 會建立一個稱為「情境管理器」的物件。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 11.9K bytes - Click Count (0) -
docs/fr/docs/tutorial/security/simple-oauth2.md
/// ## Renvoyer le jeton { #return-the-token } La réponse de l'endpoint `token` doit être un objet JSON. Il doit contenir un `token_type`. Dans notre cas, comme nous utilisons des jetons « Bearer », le type de jeton doit être « bearer ». Et il doit contenir un `access_token`, avec une chaîne contenant notre jeton d'accès.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.2K bytes - Click Count (0) -
.github/workflows/issue-on-pr-rollback.yml
on: push: branches: - master permissions: {} jobs: create-issue-on-pr-rollback: runs-on: ubuntu-latest permissions: contents: read issues: write pull-requests: read if: | github.repository == 'tensorflow/tensorflow' && startsWith(github.event.head_commit.message, 'Rollback of PR #') steps:Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 01 08:09:03 GMT 2026 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
*/ public SmbFile(final SmbResource context, final String name) throws MalformedURLException, UnknownHostException { this(isWorkgroup(context) ? new URL(null, "smb://" + checkName(name), context.getContext().getUrlHandler()) : new URL(context.getLocator().getURL(), encodeRelativePath(checkName(name)), context.getContext().getUrlHandler()),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
// Clears the internal caches in the TFE context. Useful when reseeding random // ops. TF_CAPI_EXPORT extern void TFE_ContextClearCaches(TFE_Context* ctx); // Sets a thread-local device placement policy. After this call, other calls to // TFE_Execute in the same thread will use the device policy specified here // instead of the device policy used to construct the context. This has no
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0)